Function at 0x485f90
Capabilities:
Delete file
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b4d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4f80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x14]
push edi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x14], esi
push eax
lea ecx, [ebx + 0x2c]
call fcn.00404090
mov eax, dword [ebp - 0x54]
cmp byte [eax + 0xd], 0
jne 0x48660d
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x48660d
cmp eax, dword [ebx + 0x2c]
je 0x486006
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x14], esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x486614
cmp dword [esi], 5
lea ebx, [esi + 0xc]
mov dword [ebp - 0x2c], ebx
jne 0x48602c
cmp dword [ebx], 0
je 0x48602c
mov edi, 1
jmp 0x486031
xor edi, edi
mov dword [ebp - 0x2c], ebx
push 8
mov dword [esi], 3
call fcn.004989e3
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
test edi, edi
je 0x486267
cmp dword [eax - 0xc], 0
mov ecx, dword [ebx]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x4c], ebx
je 0x486089
sub esp, 8
push edx
push ecx
mov edx, ecx
mov ecx, ebx
push eax
call fcn.0047f280
add esp, 0x14
mov ebx, eax
jmp 0x4865bc
lea ebx, [esi + 0x18]
test ecx, ecx
je 0x4865ba
push 0x4d5096
push 0x100
call fcn.00498e5f
add esp, 8
mov dword [ebp - 0x5c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x58], 0
test eax, eax
je 0x4860c2
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4860d4
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
jmp 0x4860d6
xor esi, esi
mov ecx, dword [ebp - 0x1c]
xor edi, edi
call fcn.00484b10
mov ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x4860f0
test eax, eax
je 0x4860fc
test ebx, ebx
je 0x4860fc
push eax
mov ecx, ebx
call fcn.00470af0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0x1c]
push 0x100
push dword [ebp - 0x58]
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x48624d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
test ecx, ecx
je 0x486233
test ebx, ebx
je 0x4861c5
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x28], edx
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], ecx
add dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], edx
adc eax, edi
test eax, eax
jb 0x4861a5
ja 0x486166
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jbe 0x4861a5
mov eax, dword [ebx]
lea edi, [esi + ecx]
sub edx, eax
cmp edi, edx
jb 0x4861a0
jbe 0x4861a5
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cmp edi, eax
jbe 0x48618a
push ecx
push edi
mov ecx, ebx
call fcn.00470fd0
mov ecx, dword [ebp - 0x18]
jmp 0x4861a5
sub edi, edx
push edi
push 0
push dword [ebp - 0x2c]
call fcn.0049a960
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add eax, edi
mov dword [ebx + 4], eax
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x58]
add eax, esi
push eax
call fcn.0049a3e0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov esi, ecx
xor edi, edi
add esi, dword [ebp - 0x34]
adc edi, dword [ebp - 0x38]
jmp 0x4861ca
add esi, ecx
adc edi, 0
push ecx
push edi
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x4c]
call fcn.00486990
add esp, 0x24
test eax, eax
je 0x48621a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebp - 0x1c]
push 0x100
push dword [ebp - 0x58]
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x48624d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x486127
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4865ba
push eax
call fcn.00498e68
add esp, 4
jmp 0x4865ba
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x486243
push eax
call fcn.00498e68
add esp, 4
mov ebx, 1
jmp 0x4865bc
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x486260
push eax
call fcn.00498e68
add esp, 4
xor ebx, ebx
jmp 0x4865bf
cmp dword [eax - 0xc], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x24], ecx
je 0x486462
test ecx, ecx
je 0x4865ba
test eax, eax
je 0x4865ba
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push eax
call fcn.00484b60
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4862c2
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x4865ba
or edi, 0xffffffff
jmp 0x48659c
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4862d6
lock inc dword [ebx + 4]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
test ecx, ecx
je 0x4862ef
cmp dword [ecx], 0
je 0x4862ef
mov esi, 1
jmp 0x4862f1
xor esi, esi
or edi, 0xffffffff
test ebx, ebx
je 0x48631a
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x486317
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x486317
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test esi, esi
je 0x48636c
push 0x13
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00484990
mov esi, dword [ebp - 0x4c]
push esi
call fcn.004adc55
mov edx, eax
add esp, 4
mov dword [ebp - 0x4c], edx
add esi, 0xfffffff0
mov ecx, edi
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x486356
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
lea eax, [edx - 0x12c]
cmp eax, 0x64
jb 0x4863e0
lea eax, [edx - 0x190]
cmp eax, 0x64
jae 0x48639c
test ebx, ebx
je 0x4865ba
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4865ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4865ba
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x4865b7
lea eax, [edx - 0x1f4]
cmp eax, 0x64
jae 0x4863d7
test ebx, ebx
je 0x4865ba
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4865ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4865ba
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x4865b7
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x48641d
test ebx, ebx
je 0x4863ef
lock inc dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], ebx
test esi, esi
je 0x48641d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48641d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x48641d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
sub esp, 8
push dword [ebp - 0x20]
push ecx
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
call fcn.0047f280
add esp, 0x14
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x48645a
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48645a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x48645a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x4c]
jmp 0x4865bc
add esi, 0x18
mov dword [ebp - 0x44], esi
test ecx, ecx
je 0x4865ba
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
call fcn.00484b60
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4864ab
test esi, esi
je 0x4865ba
or edi, 0xffffffff
jmp 0x48659c
test esi, esi
je 0x4864bc
lock inc dword [esi + 4]
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
test ecx, ecx
je 0x4864d5
cmp dword [ecx], 0
mov dword [ebp - 0x2c], 1
jne 0x4864dc
mov dword [ebp - 0x2c], 0
or edi, 0xffffffff
test esi, esi
je 0x486505
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x486502
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x486502
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0
je 0x486598
test ebx, ebx
je 0x48654b
test esi, esi
je 0x48651b
lock inc dword [esi + 4]
mov dword [ebx], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 4], esi
mov ebx, eax
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x48654b
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48654b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x48654b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x48655c
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x48655c
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x1c]
sub esp, 8
push dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0047f090
add esp, 0x14
mov ebx, eax
test esi, esi
je 0x4865bc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4865bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4865bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x4865bc
test esi, esi
je 0x4865ba
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4865ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4865ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor ebx, ebx
mov esi, dword [ebp - 0x14]
push 8
push dword [ebp - 0x20]
call fcn.00498a13
add esp, 8
test ebx, ebx
jne 0x4865dd
cmp dword [esi], 4
jne 0x4865dd
mov dword [esi], 5
jmp 0x4865fd
push dword [ebp + 8]
mov eax, ebx
neg eax
push ebx
sbb eax, eax
add eax, 8
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
push 0x547
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x486614
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x486614
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4