Function at 0x40b700
Capabilities:
Accept command line arguments
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57262a
mov eax, dword fs:[0]
push eax
sub esp, 0xad8
mov eax, dword [0x5dafd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xadc], ebx
lea eax, [ebp - 0xae4]
mov dword [ebp - 0xae4], 8
push eax
mov dword [ebp - 0xae0], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.0041d805
push 0
call fcn.0041f1ad
test eax, eax
jne 0x40b778
push 0xffffffffffffffff
push eax
push 0x67
call fcn.0041c342
jmp 0x40bbd3
push 0
call fcn.0041f730
add esp, 4
mov ecx, ebx
push str.utildown
call fcn.0041e765
lea eax, [ebp - 0xad8]
mov dword [ebp - 0xad8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0040e23c
mov ecx, eax
test ecx, ecx
je 0x40bbf1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xad0], eax
mov eax, 0x5b68a8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xad0]
test eax, 0xffff0000
jne 0x40b807
movzx eax, ax
push eax
call fcn.00402330
jmp 0x40b813
push 0
push 0x5b68a8
call fcn.004029a0
mov dword [ebp - 4], 1
call fcn.0040e23c
mov ecx, eax
test ecx, ecx
je 0x40bbfb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xacc], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x40b871
test edi, 0xffff0000
jne 0x40b858
movzx eax, di
lea ecx, [ebp - 0xacc]
push eax
call fcn.00402330
jmp 0x40b880
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b860
sub ecx, edx
sar ecx, 1
jmp 0x40b873
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0xacc]
call fcn.004029a0
mov byte [ebp - 4], 3
call fcn.0040e23c
test eax, eax
je 0x40bbf1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x738], eax
push 0
push 0
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 4
call fcn.004029a0
push fcn.00402510
push fcn.004025e0
push 2
push 4
lea eax, [ebp - 0x734]
mov byte [ebp - 4], 5
push eax
call fcn.00550de4
mov byte [ebp - 4], 6
call fcn.0040e23c
test eax, eax
je 0x40bbf1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xac8], eax
mov eax, str.1001
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xac8]
test eax, 0xffff0000
jne 0x40b914
movzx eax, ax
push eax
call fcn.00402330
jmp 0x40b920
push 4
push str.1001
call fcn.004029a0
mov byte [ebp - 4], 8
call fcn.0040e23c
test eax, eax
je 0x40bbf1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xac4], eax
mov eax, str.24924
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xac4]
test eax, 0xffff0000
jne 0x40b962
movzx eax, ax
push eax
call fcn.00402330
jmp 0x40b96e
push 5
push str.24924
call fcn.004029a0
push 0x5f
push 1
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xac8]
mov esi, dword [ebp - 0xacc]
push esi
push eax
call fcn.0040e38e
push 0x5f
push 2
push esi
lea eax, [ebp - 0xac4]
push eax
call fcn.0040e38e
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00552e70
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0040b560
call fcn.0040e23c
mov ecx, eax
test ecx, ecx
je 0x40bbf1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xad4], eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xad4]
call fcn.0040bc10
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00552e70
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00552e70
push 0x208
lea eax, [ebp - 0x72c]
push 0
push eax
call fcn.00552e70
add esp, 0x24
lea eax, [ebp - 0x31c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x524]
push eax
push 0
push str.auto_
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push dword [ebp - 0xac8]
mov edi, dword [ebp - 0xad4]
lea eax, [ebp - 0x72c]
push edi
push str.http:__utildown.com_request_update_new_live.php
push str._s_mac_spcode_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
xor ebx, ebx
push 0
push 0
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x72c]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jns 0x40baac
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x40ba80
mov eax, dword [ebp - 0xac4]
cmp dword [eax - 0xc], 0
jle 0x40bb1d
push ecx
lea ecx, [ebp - 0xac0]
call fcn.0040be20
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x9f0]
call fcn.0040bc10
lea eax, [ebp - 0xac8]
push eax
lea ecx, [ebp - 0x9ec]
call fcn.0040aff0
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0x9e8]
call fcn.0040aff0
mov eax, dword [ebp - 0xadc]
lea ecx, [ebp - 0xac0]
mov dword [eax + 0x20], ecx
call fcn.00419af3
lea ecx, [ebp - 0xac0]
call fcn.0040c030
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xa
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bb3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0xac4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bb5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0xac8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bb7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push fcn.00402510
push 3
push 4
lea eax, [ebp - 0x738]
mov byte [ebp - 4], 3
push eax
call fcn.00550ccf
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40bbb1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xad0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x40bbd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055065c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401ca0
push 0x80004005
call fcn.00401ca0
int3