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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d506d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5020a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0x14]
push esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], ebx
push eax
lea ecx, [edi + 0x2c]
call fcn.00403ff0
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0xd], bl
jne 0x48cc59
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x48cc59
cmp eax, dword [edi + 0x2c]
je 0x48c765
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x1c], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x48cc60
cmp dword [ebx], 5
jne 0x48c786
cmp dword [ebx + 0xc], 0
je 0x48c786
mov esi, 1
jmp 0x48c788
xor esi, esi
push 8
mov dword [ebx], 3
call fcn.0049fda7
mov ecx, edi
mov dword [ebp - 0x14], eax
add esp, 4
lea edi, [ebx + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x2c], edx
test esi, esi
je 0x48c9e8
cmp dword [edx - 0xc], 0
mov ecx, dword [edi]
mov esi, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x4c], esi
je 0x48c7e0
sub esp, 8
push eax
push ecx
push edx
mov edx, ecx
mov ecx, esi
call fcn.00480440
add esp, 0x14
mov edi, eax
jmp 0x48cc0a
add ebx, 0x18
test ecx, ecx
je 0x48cb39
push 0x4d94e6
push 0x100
call fcn.004a034c
add esp, 8
mov dword [ebp - 0x58], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x54], 0
test eax, eax
je 0x48c819
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
test ebx, ebx
je 0x48c82b
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
jmp 0x48c82d
xor esi, esi
mov ecx, dword [ebp - 0x20]
xor edi, edi
call fcn.0048af10
mov ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x48c847
test eax, eax
je 0x48c853
test ebx, ebx
je 0x48c853
push eax
mov ecx, ebx
call fcn.00475dd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0x20]
push 0x100
push dword [ebp - 0x54]
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x48c972
nop
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
test ecx, ecx
je 0x48c98c
test ebx, ebx
je 0x48c91e
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 0x48c8fe
ja 0x48c8bf
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jbe 0x48c8fe
mov eax, dword [ebx]
lea edi, [esi + ecx]
sub edx, eax
cmp edi, edx
jb 0x48c8f9
jbe 0x48c8fe
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cmp edi, eax
jbe 0x48c8e3
push ecx
push edi
mov ecx, ebx
call fcn.00476310
mov ecx, dword [ebp - 0x18]
jmp 0x48c8fe
sub edi, edx
push edi
push 0
push dword [ebp - 0x2c]
call fcn.004a1c30
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 - 0x54]
add eax, esi
push eax
call fcn.004a16b0
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 0x48c923
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 - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x4c]
call fcn.0048d190
add esp, 0x24
test eax, eax
je 0x48c972
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push 0x100
push dword [ebp - 0x54]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x48c880
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x48c982
push eax
call fcn.004a0355
add esp, 4
push 8
push dword [ebp - 0x14]
jmp 0x48cc38
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x48c99c
push eax
call fcn.004a0355
add esp, 4
push 8
push dword [ebp - 0x14]
mov edi, 1
call fcn.0049fdd7
add esp, 8
mov esi, dword [ebp - 0x1c]
push dword [ebp + 8]
mov eax, edi
neg eax
push edi
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 0x48cc60
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x48cc60
cmp dword [edx - 0xc], 0
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x28], ecx
je 0x48cb40
test ecx, ecx
je 0x48cb39
test edx, edx
je 0x48cb39
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.004801a0
test eax, eax
je 0x48cb26
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x48cb26
push 0x13
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0048ad90
mov esi, dword [ebp - 0x4c]
push esi
call fcn.004b2187
lea edx, [esi - 0x10]
add esp, 4
or esi, 0xffffffff
mov ebx, eax
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48ca6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x51eb851f
mul ebx
shr edx, 5
cmp edx, 3
je 0x48caca
cmp edx, 4
jne 0x48cabc
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x48c982
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x48c982
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x48c982
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 8
push dword [ebp - 0x14]
jmp 0x48cc38
cmp edx, 5
je 0x48ca81
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x44]
test edi, edi
je 0x48cb0c
test ebx, ebx
je 0x48cad9
lock inc dword [ebx + 4]
mov eax, dword [ebp - 0x48]
mov dword [edi], eax
mov eax, dword [edi + 4]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [ebp - 0x4c], eax
test edi, edi
je 0x48cb0c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x48cb0c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x48cb0c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
sub esp, 8
push dword [ebp - 0x14]
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
call fcn.00480440
jmp 0x48cbe3
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x48c982
or esi, 0xffffffff
jmp 0x48ca8c
xor edi, edi
jmp 0x48cc0d
add ebx, 0x18
mov dword [ebp - 0x44], ebx
test ecx, ecx
je 0x48cc35
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.004801a0
test eax, eax
je 0x48cc22
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x48cc22
mov ebx, dword [ebp - 0x3c]
or esi, 0xffffffff
test edi, edi
je 0x48cbc3
test ebx, ebx
je 0x48cb90
lock inc dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [edi], edx
mov dword [edi + 4], ebx
mov edi, eax
mov dword [ebp - 0x4c], eax
test edi, edi
je 0x48cbc3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x48cbc3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x48cbc0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x48cbcf
mov eax, dword [ecx]
mov dword [ecx + 4], eax
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x14]
push fcn.0048d190
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00480230
add esp, 0x14
mov edi, eax
test ebx, ebx
je 0x48cc0a
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x48cc0a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x48cc0a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push 8
push eax
call fcn.0049fdd7
add esp, 8
test edi, edi
jne 0x48c9ae
jmp 0x48cc42
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x48c982
or esi, 0xffffffff
jmp 0x48ca8c
push 8
push eax
xor edi, edi
call fcn.0049fdd7
add esp, 8
mov esi, dword [ebp - 0x1c]
cmp dword [esi], 4
jne 0x48c9b1
mov dword [esi], 5
jmp 0x48c9d1
push esi
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