Function at 0x4030c0
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x45e668
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4739a8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x2c]
call fcn.004013f0
mov eax, dword [esi + 0xc0]
sub eax, 0x10
xor ebp, ebp
push eax
mov dword [esp + 0x4c], ebp
call fcn.00401380
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.00402f70
push str._temp_
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x54], 2
call fcn.00402e30
push str.nanoplayer.ini
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x60], 3
call fcn.00402e30
add esp, 0x18
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov bl, 6
add eax, 0xfffffff0
mov byte [esp + 0x48], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40319a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00402f70
push str._temp_
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x54], 7
call fcn.00402e30
add esp, 0xc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x48], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00402d30
push ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call fcn.00449f51
add esp, 4
add eax, 0x1770
push ebp
adc edx, ebp
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFile]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push ebp
push eax
push edi
push ebp
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebp
jl 0x4032cd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x48], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40325d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x48], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403282
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x48], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401000
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push edx
push edi
push ebp
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebp
jge 0x403239
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop
push 0x3e8
call ebp
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push 0
push edx
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jge 0x403239
inc esi
cmp esi, 0x19
jl 0x4032f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x48], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40333d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403362
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403383
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401000
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret