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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d96ad
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x655140]
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 - 0x14], ebx
push eax
lea ecx, [edi + 0x2c]
call fcn.00426370
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xd], bl
jne 0x4930bb
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jb 0x4930bb
cmp eax, dword [edi + 0x2c]
je 0x492b35
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x14], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x4930c2
cmp dword [ebx], 5
lea edi, [ebx + 0xc]
jne 0x492b58
cmp dword [edi], 0
je 0x492b58
mov esi, 1
jmp 0x492b5a
xor esi, esi
push 8
mov dword [ebx], 3
call fcn.004b4016
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x492e13
cmp dword [eax - 0xc], 0
mov ecx, dword [edi]
mov esi, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x44], esi
je 0x492bb2
sub esp, 8
push edx
push ecx
mov edx, ecx
mov ecx, esi
push eax
call fcn.004a9640
add esp, 0x14
mov edi, eax
jmp 0x49306d
lea esi, [ebx + 0x18]
mov dword [ebp - 0x18], esi
test ecx, ecx
je 0x49306b
push 0x5df4c0
push 0x100
call fcn.004b440f
add esp, 8
mov dword [ebp - 0x50], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x492bee
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
test esi, esi
je 0x492c00
mov edi, dword [esi + 4]
sub edi, dword [esi]
jmp 0x492c02
xor edi, edi
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push 5
push eax
xor ebx, ebx
call fcn.00491610
mov esi, dword [ebp - 0x2c]
push 0xa
push ebx
push esi
call fcn.004c9be0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], edx
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x492c42
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], ebx
ja 0x492c4b
test eax, eax
je 0x492ca4
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x492ca7
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jae 0x492c6c
add eax, edx
mov dword [esi + 4], eax
jmp 0x492ca7
jbe 0x492ca7
mov eax, dword [esi + 8]
sub eax, edx
mov edx, dword [ebp - 0x1c]
cmp edx, eax
jbe 0x492c85
push ecx
push edx
mov ecx, esi
call fcn.00492490
jmp 0x492ca7
mov esi, edx
sub esi, ecx
push esi
push 0
push dword [ebp - 0x28]
call fcn.004b69d0
mov eax, dword [ebp - 0x28]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x18]
mov dword [esi + 4], eax
jmp 0x492ca7
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
mov eax, dword [ebp - 0x20]
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 0x492df7
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ebx
test ecx, ecx
je 0x492dda
test esi, esi
je 0x492d6d
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x28], ecx
add dword [ebp - 0x28], edi
adc eax, ebx
mov ebx, dword [ebp - 0x18]
sub ebx, dword [esi]
test eax, eax
jb 0x492d4d
ja 0x492d0b
cmp dword [ebp - 0x28], ebx
jbe 0x492d4d
mov edx, dword [ebp - 0x18]
lea ebx, [edi + ecx]
mov eax, dword [esi]
sub edx, eax
cmp ebx, edx
jb 0x492d48
jbe 0x492d4d
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp ebx, eax
jbe 0x492d32
push ecx
push ebx
mov ecx, esi
call fcn.00492490
mov ecx, dword [ebp - 0x10]
jmp 0x492d4d
sub ebx, edx
push ebx
push 0
push dword [ebp - 0x18]
call fcn.004b69d0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
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.004b63f0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edi, ecx
xor ebx, ebx
add edi, dword [ebp - 0x34]
adc ebx, dword [ebp - 0x3c]
jmp 0x492d72
add edi, ecx
adc ebx, 0
push ecx
push ebx
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x44]
call fcn.004933e0
add esp, 0x24
test eax, eax
je 0x492dc2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [ebp - 0x20]
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 0x492df7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x492cd2
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x492dd2
push eax
call fcn.004b44af
add esp, 4
mov ebx, dword [ebp - 0x14]
jmp 0x49306b
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x492dea
push eax
call fcn.004b44af
add esp, 4
mov ebx, dword [ebp - 0x14]
mov edi, 1
jmp 0x49306d
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x49306b
push eax
call fcn.004b44af
add esp, 4
jmp 0x49306b
cmp dword [eax - 0xc], 0
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x28], ecx
je 0x492f76
test ecx, ecx
je 0x49306b
test eax, eax
je 0x49306b
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.004a9300
test eax, eax
je 0x492f6e
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x492f6e
push 0x13
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00491610
mov esi, dword [ebp - 0x44]
push esi
call fcn.004c2225
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 0x492ea3
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 0x492edd
lea eax, [edx - 0x190]
cmp eax, 0x64
jae 0x492ec9
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x49306b
jmp 0x49304d
lea eax, [edx - 0x1f4]
cmp eax, 0x64
jb 0x492eb9
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x492f1f
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x492eec
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 0x492f1f
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x492f1f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x492f1f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
sub esp, 8
push dword [ebp - 0x24]
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
call fcn.004a9640
mov ecx, dword [ebp - 0x34]
add esp, 0x14
mov edi, eax
test ecx, ecx
je 0x49306d
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x49306d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x34]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x49306d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49306d
mov edi, dword [ebp - 0x34]
jmp 0x493046
test ecx, ecx
je 0x49306b
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.004a9300
test eax, eax
je 0x493043
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x493043
or esi, 0xffffffff
test edi, edi
je 0x492ff3
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x492fc0
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 0x492ff3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x492ff3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x492ff0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x18]
test eax, eax
je 0x493004
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x493004
mov dword [eax + 4], ecx
push 0xffffffffffffffff
push ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
push fcn.004933e0
push eax
call fcn.004a93d0
mov ecx, dword [ebp - 0x3c]
add esp, 0x14
mov edi, eax
test ecx, ecx
je 0x49306d
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x49306d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x49306d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49306d
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x49306b
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x49306b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x49306b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor edi, edi
push 8
push dword [ebp - 0x24]
call fcn.004b4401
add esp, 8
test edi, edi
jne 0x49308b
cmp dword [ebx], 4
jne 0x49308b
mov dword [ebx], 5
jmp 0x4930ab
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 0x4930c2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4930c2
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