Function at 0x4064e0
Capabilities:
Download url
Move file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x42c000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [0x438dd0]
mov dword [esp], eax
mov dword [esp + 4], eax
push 0x43cd68
lea eax, [esp + 4]
push str._sTQATFileTemp.tmp
push eax
mov byte [esp + 0x1c], 3
call fcn.0041e043
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 4]
push ecx
push 0x43cd68
push str._sTQAT_s
push edx
call fcn.0041e043
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x4065d5
mov edx, dword [esp + 0x18]
push edx
push 0x438978
call fcn.0040f59f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
add esp, 8
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x4065d5
lea ecx, [esp + 4]
mov byte [esp + 0x10], 2
call fcn.00422933
lea ecx, [esp]
mov byte [esp + 0x10], 1
call fcn.00422933
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00422933
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.00422933
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
mov byte [esp + 0x10], 2
call fcn.00422933
lea ecx, [esp]
mov byte [esp + 0x10], 1
call fcn.00422933
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00422933
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.00422933
mov ecx, dword [esp + 8]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x406630
Capabilities:
Download url
Move file
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x42c030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [0x438dd0]
mov dword [esp], eax
mov dword [esp + 4], eax
push 0x43cd68
lea eax, [esp + 4]
push str._sFileTemp.tmp
push eax
mov byte [esp + 0x1c], 3
call fcn.0041e043
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 4]
push ecx
push 0x43cd68
push str._s_s
push edx
call fcn.0041e043
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push 0
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x406725
mov edx, dword [esp + 0x18]
push edx
push 0x438978
call fcn.0040f59f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
add esp, 8
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x406725
lea ecx, [esp + 4]
mov byte [esp + 0x10], 2
call fcn.00422933
lea ecx, [esp]
mov byte [esp + 0x10], 1
call fcn.00422933
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00422933
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.00422933
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
mov byte [esp + 0x10], 2
call fcn.00422933
lea ecx, [esp]
mov byte [esp + 0x10], 1
call fcn.00422933
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00422933
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.00422933
mov ecx, dword [esp + 8]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x14
ret