Function at 0x41a550
Capabilities:
Download url
Print debug messages
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ad8e
mov eax, dword fs:[0]
push eax
mov eax, 0x5084
call fcn.00527810
mov eax, dword [0x599690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5084], ecx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004022a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
call fcn.00401440
movzx ecx, al
test ecx, ecx
jne 0x41a5b5
push 0x575650
lea ecx, [ebp - 0x48]
call fcn.004020f0
lea ecx, [ebp - 0x2c]
call fcn.004022a0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
push edx
call fcn.004013d0
movzx eax, al
test eax, eax
jne 0x41a5de
push 0x574dbe
lea ecx, [ebp - 0x2c]
call fcn.004020f0
lea ecx, [ebp - 0x4c]
call fcn.0040a300
mov byte [ebp - 4], 6
cmp dword [ebp + 0x1c], 0xffffffff
jle 0x41a634
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004019c0
push eax
lea ecx, [ebp - 0x48]
call fcn.004019c0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp + 8]
push eax
push str._s_cache_dnick_smachineid_sfirstpid_staobrowserver_sinstallpid_sdowntype_dgui_d
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00409f90
add esp, 0x2c
jmp 0x41a672
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004019c0
push eax
lea ecx, [ebp - 0x48]
call fcn.004019c0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp + 8]
push eax
push str._s_cache_dnick_smachineid_sfirstpid_staobrowserver_sinstallpid_sdowntype_d
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00409f90
add esp, 0x28
push 0x2800
push 0
lea edx, [ebp - 0x284c]
push edx
call fcn.00523530
add esp, 0xc
mov eax, dword [ebp - 0x4c]
push eax
push str.http_log:_s
push 0x27ff
lea ecx, [ebp - 0x284c]
push ecx
call fcn.0041ba10
add esp, 0x10
lea edx, [ebp - 0x285c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x2800
push 0
lea eax, [ebp - 0x505c]
push eax
call fcn.00523530
add esp, 0xc
lea ecx, [ebp - 0x284c]
push ecx
movzx edx, word [ebp - 0x2850]
push edx
movzx eax, word [ebp - 0x2852]
push eax
movzx ecx, word [ebp - 0x2854]
push ecx
movzx edx, word [ebp - 0x2856]
push edx
movzx eax, word [ebp - 0x285a]
push eax
movzx ecx, word [ebp - 0x285c]
push ecx
push 0x57571c
push 0x27ff
lea edx, [ebp - 0x505c]
push edx
call fcn.0041ba10
add esp, 0x28
lea eax, [ebp - 0x505c]
push eax
push 0x575744
call fcn.00522b8c
add esp, 8
lea ecx, [ebp - 0x505c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x505c]
push edx
lea ecx, [ebp - 0x5078]
call fcn.00401980
mov byte [ebp - 4], 7
lea eax, [ebp - 0x5078]
push eax
mov ecx, 0x5a0ff8
call fcn.004053d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5078]
call fcn.00402110
lea ecx, [ebp - 0x507c]
push ecx
call fcn.00420940
add esp, 4
mov dword [ebp - 0x5088], eax
mov edx, dword [ebp - 0x5088]
mov dword [ebp - 0x508c], edx
mov byte [ebp - 4], 8
push str.UpdateDownloadTemplog.tmp
mov eax, dword [ebp - 0x508c]
push eax
lea ecx, [ebp - 0x5080]
push ecx
call fcn.00409d80
add esp, 0xc
mov dword [ebp - 0x5090], eax
push 0
push 0
mov ecx, dword [ebp - 0x5090]
call fcn.004065e0
push eax
lea ecx, [ebp - 0x4c]
call fcn.004065e0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [ebp - 0x5080]
call fcn.004049f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x507c]
call fcn.004049f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00402110
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00520c7a
mov esp, ebp
pop ebp
ret 0x18