Function at 0x40c480
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e269
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
lea ecx, [ebp - 0x18]
call fcn.00402bb0
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
push str.https:__pcapp.store_fa_version.php_guid_wsend_v_wsnocache_d
call fcn.00402f80
lea eax, [ebp - 0x20]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, dword [0x461cac]
push ecx
push 0x461a90
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00409260
lea eax, [ebp - 0x38]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
call fcn.00404cc0
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.0040aeb0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004037d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.LastVersion
call fcn.00402f80
lea eax, [ebp - 0x1c]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00409260
lea eax, [ebp - 0x44]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
push edx
push 0x461cb4
lea eax, [ebp - 0x14]
push eax
call fcn.0040a350
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.004037d0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x18]
call fcn.00404cc0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x40c70d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x451094
call fcn.00402f80
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push str.last_v_dl_error
call fcn.00402f80
lea edx, [ebp - 0x28]
push edx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push 0x450996
call fcn.00402ad0
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 9
push ecx
mov eax, esp
mov dword [ebp - 0x9c], esp
mov dword [ebp - 0x4c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00409260
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov dword [ebp - 0x50], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00409260
mov eax, dword [ebp - 0x50]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 8
call fcn.0040f6a0
add esp, 0xc
mov dword [0x461c90], 1
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.004037d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004037d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004037d0
mov al, byte [ebp - 0xd]
jmp 0x40c953
push 1
push 0x40
push 1
lea ecx, [ebp - 0x14]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00409370
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
call fcn.00402e70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1a4]
call fcn.0040e800
movzx ecx, al
test ecx, ecx
je 0x40c767
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408fe0
add esp, 8
lea ecx, [ebp - 0x1a4]
call fcn.0040cae0
lea ecx, [ebp - 0x21]
call fcn.00402d20
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00407470
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406a60
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0xec]
call fcn.004085e0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a1b0
lea ecx, [ebp - 0xec]
call fcn.004038a0
mov ecx, 0x461cac
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x228]
call fcn.00409310
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x228]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402e00
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004086f0
add esp, 8
movzx edx, al
test edx, edx
je 0x40c87a
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0xd4]
call fcn.00403880
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x228]
call fcn.00409d00
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
call fcn.00403880
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
call fcn.0040a4f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004037d0
mov al, byte [ebp - 0xe]
jmp 0x40c953
mov byte [ebp - 0xf], 1
lea ecx, [ebp - 0xd4]
call fcn.00403880
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x228]
call fcn.00409d00
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
call fcn.00403880
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
call fcn.0040a4f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004037d0
mov al, byte [ebp - 0xf]
jmp 0x40c953
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret