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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d772d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5010c0]
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 - 0x20], esi
push eax
lea ecx, [ebx + 0x2c]
call fcn.00404000
mov eax, dword [ebp - 0x54]
cmp byte [eax + 0xd], 0
jne 0x48e165
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x48e165
cmp eax, dword [ebx + 0x2c]
je 0x48daf6
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x20], esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x48e16c
cmp dword [esi], 5
lea ebx, [esi + 0xc]
mov dword [ebp - 0x2c], ebx
jne 0x48db1c
cmp dword [ebx], 0
je 0x48db1c
mov edi, 1
jmp 0x48db21
xor edi, edi
mov dword [ebp - 0x2c], ebx
push 8
mov dword [esi], 3
call fcn.0049f7ce
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x28], ecx
test edi, edi
je 0x48dd7b
cmp dword [ecx - 0xc], 0
mov edx, dword [ebx]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x4c], ebx
je 0x48db75
sub esp, 8
push eax
push ecx
push ecx
mov ecx, ebx
call fcn.004873b0
add esp, 0x14
mov ebx, eax
jmp 0x48e0f4
lea ebx, [esi + 0x18]
test edx, edx
je 0x48dfb7
push 0x4dc036
push 0x100
call fcn.0049fc4a
add esp, 8
mov dword [ebp - 0x5c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x58], 0
test eax, eax
je 0x48dbae
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
test ebx, ebx
je 0x48dbc0
mov esi, dword [ebx + 4]
sub esi, dword [ebx]
jmp 0x48dbc2
xor esi, esi
mov ecx, dword [ebp - 0x1c]
xor edi, edi
call fcn.0048c630
mov ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x48dbdc
test eax, eax
je 0x48dbe8
test ebx, ebx
je 0x48dbe8
push eax
mov ecx, ebx
call fcn.00478280
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 0x48dd05
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
test ecx, ecx
je 0x48dd1f
test ebx, ebx
je 0x48dcb1
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 0x48dc91
ja 0x48dc52
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jbe 0x48dc91
mov eax, dword [ebx]
lea edi, [esi + ecx]
sub edx, eax
cmp edi, edx
jb 0x48dc8c
jbe 0x48dc91
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cmp edi, eax
jbe 0x48dc76
push ecx
push edi
mov ecx, ebx
call fcn.00478750
mov ecx, dword [ebp - 0x18]
jmp 0x48dc91
sub edi, edx
push edi
push 0
push dword [ebp - 0x2c]
call fcn.004a15c0
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.004a1040
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 0x48dcb6
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 - 0x1c]
push dword [ebp - 0x4c]
call fcn.0048e4f0
add esp, 0x24
test eax, eax
je 0x48dd05
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push 0x100
push dword [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x48dc13
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x48dd15
push eax
call fcn.0049fc53
add esp, 4
push 8
push dword [ebp - 0x14]
jmp 0x48e144
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x48dd2f
push eax
call fcn.0049fc53
add esp, 4
push 8
push dword [ebp - 0x14]
mov ebx, 1
call fcn.0049f7fe
add esp, 8
mov esi, dword [ebp - 0x20]
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 0x48e16c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x48e16c
cmp dword [ecx - 0xc], 0
mov edx, dword [esi + 4]
mov dword [ebp - 0x24], edx
je 0x48dfbe
test edx, edx
je 0x48dfb7
test ecx, ecx
je 0x48dfb7
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push eax
mov ecx, edx
call fcn.0048c680
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x48de03
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x48dd15
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48dd15
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48dd15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 8
push dword [ebp - 0x14]
jmp 0x48e144
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x48de17
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 0x48de30
cmp dword [ecx], 0
je 0x48de30
mov esi, 1
jmp 0x48de32
xor esi, esi
or edi, 0xffffffff
test ebx, ebx
je 0x48de5b
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48de58
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x48de58
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test esi, esi
je 0x48deb1
push 0x13
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0048c4b0
mov esi, dword [ebp - 0x4c]
push esi
call fcn.004b48b5
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 0x48de97
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 0x48df35
lea eax, [edx - 0x190]
cmp eax, 0x64
jae 0x48dee9
test ebx, ebx
je 0x48dd15
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48dd15
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x48dd15
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 8
push dword [ebp - 0x14]
jmp 0x48e144
lea eax, [edx - 0x1f4]
cmp eax, 0x64
jae 0x48df2c
test ebx, ebx
je 0x48dd15
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48dd15
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x48dd15
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 8
push dword [ebp - 0x14]
jmp 0x48e144
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x48df72
test ebx, ebx
je 0x48df44
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 0x48df72
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48df72
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x48df72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
sub esp, 8
push dword [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
call fcn.004873b0
add esp, 0x14
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x48dfaf
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48dfaf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x48dfaf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x4c]
jmp 0x48e0f4
xor ebx, ebx
jmp 0x48e0f7
add esi, 0x18
mov dword [ebp - 0x44], esi
test edx, edx
je 0x48e141
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
mov ecx, edx
call fcn.0048c680
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x48e009
test esi, esi
je 0x48dd15
or edi, 0xffffffff
jmp 0x48e114
test esi, esi
je 0x48e01a
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 0x48e033
cmp dword [ecx], 0
mov dword [ebp - 0x2c], 1
jne 0x48e03a
mov dword [ebp - 0x2c], 0
or edi, 0xffffffff
test esi, esi
je 0x48e063
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48e060
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x48e060
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0
je 0x48e10c
test ebx, ebx
je 0x48e0a9
test esi, esi
je 0x48e079
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 0x48e0a9
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x48e0a9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x48e0a9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x48e0ba
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x48e0ba
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x1c]
sub esp, 8
push dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004871c0
add esp, 0x14
mov ebx, eax
test esi, esi
je 0x48e0f4
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48e0f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48e0f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push 8
push eax
call fcn.0049f7fe
add esp, 8
test ebx, ebx
jne 0x48dd41
jmp 0x48e14e
test esi, esi
je 0x48dd15
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48dd15
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48dd15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 8
push dword [ebp - 0x14]
jmp 0x48e144
push 8
push eax
xor ebx, ebx
call fcn.0049f7fe
add esp, 8
mov esi, dword [ebp - 0x20]
cmp dword [esi], 4
jne 0x48dd44
mov dword [esi], 5
jmp 0x48dd64
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