Function at 0x4064b0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x431f77
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x43fcc0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fcc0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
push 0x15
lea eax, [esp + 0x3c]
push eax
push 0
mov esi, ecx
call ebx
call fcn.0041185d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40651a
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea edi, [esi + 0x10c]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14c], 0
call fcn.00403590
mov byte [esp + 0x148], 1
mov ecx, dword [esp + 0x14]
push 0x2f
push ecx
call fcn.0041d117
add esp, 8
test eax, eax
jne 0x406565
or eax, 0xffffffff
jmp 0x406569
sub eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
add eax, 1
push edx
xor ecx, ecx
call fcn.00402fb0
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push str._s_s
push edx
call fcn.004020b0
add esp, 0x10
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ebp, dword [esp + 0x20]
push 0
push 0
push ebp
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
call fcn.0041185d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4065c6
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push ebp
lea ecx, [esi + 0x210]
push ecx
lea edx, [esp + 0x24]
push str._InternetShortcut__r_nURL_s_r_nIconIndex0_r_nIconFile_s
push edx
mov byte [esp + 0x158], 2
call fcn.004020b0
add esp, 0x10
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0
call ebx
call fcn.0041185d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40661f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
add esi, 8
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push str._s_s.url
mov bl, 3
push edx
mov byte [esp + 0x158], bl
call fcn.004020b0
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.00415488
push 0
mov byte [esp + 0x14c], 4
mov edi, dword [esp + 0x1c]
push 0x1001
push edi
lea ecx, [esp + 0x30]
call fcn.004158f0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004151d6
lea ecx, [esp + 0x24]
call fcn.00415426
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], bl
call fcn.00415595
lea eax, [edi - 0x10]
mov byte [esp + 0x148], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x148], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x148], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406714
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x148], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40673b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0041c1f8
add esp, 0x138
ret