Function at 0x1004c0b0
Capabilities:
Check for time delay via gettickcount
Delete file
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100858bd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x100a1040]
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 - 0x50]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [edi + 0x2c]
call fcn.10037ee0
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xd], bl
jne 0x1004c6ca
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x1004c6ca
cmp eax, dword [edi + 0x2c]
je 0x1004c125
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x18], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x1004c6d1
cmp dword [ebx], 5
lea edi, [ebx + 0xc]
jne 0x1004c148
cmp dword [edi], 0
je 0x1004c148
mov esi, 1
jmp 0x1004c14a
xor esi, esi
push 8
mov dword [ebx], 3
call fcn.10053c2b
mov ecx, dword [ebp - 0x30]
add esp, 4
test esi, esi
mov dword [ebp - 0x10], eax
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 4]
mov dword [ebp - 0x2c], ecx
je 0x1004c42f
cmp dword [ecx - 0xc], 0
mov edx, dword [edi]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x44], esi
je 0x1004c19e
sub esp, 8
push eax
push ecx
push ecx
mov ecx, esi
call fcn.10045dd0
add esp, 0x14
mov edi, eax
jmp 0x1004c67e
lea esi, [ebx + 0x18]
mov dword [ebp - 0x1c], esi
test edx, edx
je 0x1004c5aa
push 0x10087592
push 0x100
call fcn.10053bff
add esp, 8
mov dword [ebp - 0x50], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x1004c1da
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
test esi, esi
je 0x1004c1ec
mov edi, dword [esi + 4]
sub edi, dword [esi]
jmp 0x1004c1ee
xor edi, edi
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push 5
push eax
xor ebx, ebx
call fcn.1004ab60
mov esi, dword [ebp - 0x2c]
push 0xa
push ebx
push esi
call fcn.1006b946
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004c22e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], ebx
ja 0x1004c237
test eax, eax
je 0x1004c290
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1004c293
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jae 0x1004c258
add eax, edx
mov dword [esi + 4], eax
jmp 0x1004c293
jbe 0x1004c293
mov eax, dword [esi + 8]
sub eax, edx
mov edx, dword [ebp - 0x20]
cmp edx, eax
jbe 0x1004c271
push ecx
push edx
mov ecx, esi
call fcn.100335f0
jmp 0x1004c293
mov esi, edx
sub esi, ecx
push esi
push 0
push dword [ebp - 0x28]
call fcn.10055b90
mov eax, dword [ebp - 0x28]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x1c]
mov dword [esi + 4], eax
jmp 0x1004c293
mov esi, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov eax, dword [ebp - 0x24]
push 0x100
push dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1004c3af
nop
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ebx
test ecx, ecx
je 0x1004c3d3
test esi, esi
je 0x1004c35b
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x28], ecx
add dword [ebp - 0x28], edi
adc eax, ebx
mov ebx, dword [ebp - 0x1c]
sub ebx, dword [esi]
test eax, eax
jb 0x1004c33b
ja 0x1004c2f9
cmp dword [ebp - 0x28], ebx
jbe 0x1004c33b
mov edx, dword [ebp - 0x1c]
lea ebx, [edi + ecx]
mov eax, dword [esi]
sub edx, eax
cmp ebx, edx
jb 0x1004c336
jbe 0x1004c33b
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp ebx, eax
jbe 0x1004c320
push ecx
push ebx
mov ecx, esi
call fcn.100335f0
mov ecx, dword [ebp - 0x14]
jmp 0x1004c33b
sub ebx, edx
push ebx
push 0
push dword [ebp - 0x1c]
call fcn.10055b90
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add eax, ebx
mov dword [esi + 4], eax
mov eax, dword [esi]
push ecx
push dword [ebp - 0x4c]
add eax, edi
push eax
call fcn.10055610
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edi, ecx
xor ebx, ebx
add edi, dword [ebp - 0x34]
adc ebx, dword [ebp - 0x3c]
jmp 0x1004c360
add edi, ecx
adc ebx, 0
push ecx
push ebx
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x44]
call fcn.1004c9f0
add esp, 0x24
test eax, eax
je 0x1004c3af
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24]
push 0x100
push dword [ebp - 0x4c]
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0x10]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1004c2c0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1004c3bf
push eax
call fcn.100535b2
add esp, 4
push 8
push dword [ebp - 0x10]
xor edi, edi
call fcn.10053bf1
mov ebx, dword [ebp - 0x18]
jmp 0x1004c6b3
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1004c3e3
push eax
call fcn.100535b2
add esp, 4
push 8
push dword [ebp - 0x10]
mov edi, 1
call fcn.10053bf1
mov ebx, dword [ebp - 0x18]
add esp, 8
push dword [ebp + 8]
mov eax, edi
neg eax
push edi
sbb eax, eax
add eax, 8
mov dword [ebx], eax
mov eax, dword [ebp - 0x30]
push 0x547
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1004c6d1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1004c6d1
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x28], esi
je 0x1004c5b1
test esi, esi
je 0x1004c5aa
test ecx, ecx
je 0x1004c5aa
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.10045a90
test eax, eax
je 0x1004c597
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1004c597
push 0x13
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.1004ab60
mov esi, dword [ebp - 0x44]
push esi
call fcn.10069596
mov edx, eax
add esp, 4
lea eax, [esi - 0x10]
mov dword [ebp - 0x3c], edx
or esi, 0xffffffff
mov dword [ebp - 0x44], eax
mov ecx, esi
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004c4be
mov ecx, dword [eax]
push dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
lea eax, [edx - 0x12c]
cmp eax, 0x64
jb 0x1004c517
lea eax, [edx - 0x190]
cmp eax, 0x64
jae 0x1004c503
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1004c4f9
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1004c4f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1004c4f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 8
push dword [ebp - 0x10]
jmp 0x1004c6ac
lea eax, [edx - 0x1f4]
cmp eax, 0x64
jb 0x1004c4d4
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x1004c559
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1004c526
lock inc dword [ecx + 4]
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
mov eax, dword [edi + 4]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [ebp - 0x44], eax
test edi, edi
je 0x1004c559
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1004c559
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x1004c559
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
sub esp, 8
push dword [ebp - 0x10]
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
call fcn.10045dd0
mov ecx, dword [ebp - 0x34]
add esp, 0x14
mov edi, eax
test ecx, ecx
je 0x1004c67e
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1004c67e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x34]
jmp 0x1004c671
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x1004c4f9
or esi, 0xffffffff
jmp 0x1004c4db
xor edi, edi
jmp 0x1004c681
test esi, esi
je 0x1004c6a9
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.10045a90
test eax, eax
je 0x1004c696
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x1004c696
or esi, 0xffffffff
test edi, edi
je 0x1004c630
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1004c5fd
lock inc dword [ecx + 4]
mov eax, dword [edi + 4]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov edi, eax
mov dword [ebp - 0x44], eax
test edi, edi
je 0x1004c630
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1004c630
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x1004c62d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x18]
test eax, eax
je 0x1004c641
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1004c641
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
sub esp, 8
push dword [ebp - 0x10]
push fcn.1004c9f0
push eax
call fcn.10045b60
mov ecx, dword [ebp - 0x3c]
add esp, 0x14
mov edi, eax
test ecx, ecx
je 0x1004c67e
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1004c67e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1004c67e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push 8
push eax
call fcn.10053bf1
add esp, 8
test edi, edi
jne 0x1004c3f8
jmp 0x1004c6b6
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x1004c4f9
or esi, 0xffffffff
jmp 0x1004c4db
push 8
push eax
xor edi, edi
call fcn.10053bf1
add esp, 8
cmp dword [ebx], 4
jne 0x1004c3f8
mov dword [ebx], 5
jmp 0x1004c418
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