Function at 0x42c210
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580482
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x9fa0
call fcn.00550870
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
je 0x42cc33
cmp dword [esi + 0x33f0], ebx
je 0x42cc33
cmp dword [esi + 0x154], ebx
je 0x42cc33
mov eax, dword [esi + 0x150]
cmp dword [eax + 0xf4], ebx
je 0x42cc33
mov ecx, dword [ebp + 8]
xor eax, eax
cmp eax, dword [esi + 0x1c8]
jge 0x42c2a1
mov edi, dword [esi + 0x1c4]
mov edx, eax
shl edx, 6
sub edx, eax
shl edx, 7
cmp dword [edx + edi], ecx
je 0x42cc33
inc eax
jmp 0x42c27d
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004e9440
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x42c2be
cmp dword [ebp - 0x30], ebx
je 0x42cc33
mov edx, 0x200
mov ecx, 0x7d0
xor eax, eax
lea edi, [ebp - 0x1f70]
mov dword [ebp - 0x1fb0], ebx
mov dword [ebp - 0x1fa4], 1
mov dword [ebp - 0x1fa0], ebx
mov dword [ebp - 0x1f9c], ebx
mov dword [ebp - 0x1f98], ebx
mov dword [ebp - 0x1f94], ebx
mov dword [ebp - 0x1f90], edx
mov dword [ebp - 0x1f8c], ebx
mov dword [ebp - 0x1f88], 0xa
mov dword [ebp - 0x1f84], ebx
mov dword [ebp - 0x1f80], ebx
mov dword [ebp - 0x1f7c], 0x1388
mov dword [ebp - 0x1f78], ebx
mov dword [ebp - 0x1f74], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x33b0]
cmp eax, ebx
je 0x42c37d
mov ecx, dword [eax + 0x4670]
cmp ecx, 0x80
mov dword [ebp - 0x1f90], ecx
jl 0x42c358
cmp ecx, 0x10000
jle 0x42c35e
mov dword [ebp - 0x1f90], edx
mov eax, dword [eax + 0x4674]
cmp eax, ebx
mov dword [ebp - 0x1f88], eax
jl 0x42c373
cmp eax, 0xf
jle 0x42c37d
mov dword [ebp - 0x1f88], 0xa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1fac], ebx
cmp eax, ebx
mov dword [ebp - 0x24], ebx
je 0x42c66b
push 0x18
push ebx
push eax
mov dword [ebp - 0x1fa8], ebx
call fcn.00493050
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x28], edi
je 0x42cc33
mov esi, dword [esi + 0x33b0]
cmp esi, ebx
je 0x42c3f4
cmp dword [esi + 0x4668], ebx
je 0x42c3f4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0x80000
push edi
jb 0x42c3e1
call fcn.00492a50
mov edi, eax
mov dword [ebp - 0x1fa4], 2
jmp 0x42c3fc
call fcn.004928c0
mov edi, eax
mov dword [ebp - 0x1fa4], 1
jmp 0x42c3fc
xor edi, edi
mov dword [ebp - 0x1fa4], ebx
mov eax, 1
cmp edi, ebx
mov dword [ebp - 0x1c], eax
jne 0x42c41a
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x1fa8], eax
mov dword [ebp - 0x1fa4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
cmp esi, 0x3e8000
ja 0x42cc2a
cmp esi, 0xc800
jb 0x42c43e
mov dword [ebp - 0x24], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x42cc2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1f98], eax
mov dword [ebp - 0x1fb0], ecx
mov ecx, dword [ebp - 0x1f90]
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x1f94], esi
mov dword [ebp - 0x1fa0], 1
mov dword [ebp - 0x1f9c], edi
mov dword [ebp - 0x1f8c], eax
imul eax, ecx
sub esi, eax
je 0x42c491
inc dword [ebp - 0x1f8c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1f80], eax
push 0xffffffffffffffff
mov ebx, dword [edx + 0x1c8]
lea ecx, [edx + 0x1c0]
mov dword [ebp + 0xc], ecx
lea eax, [ebx + 1]
push eax
call fcn.00436040
mov edx, dword [ebp + 0xc]
mov edi, ebx
shl edi, 6
mov eax, dword [edx + 4]
sub edi, ebx
shl edi, 7
mov ecx, 0x7e0
lea esi, [ebp - 0x1fb0]
add edi, eax
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x1f8c]
mov ecx, dword [ebp - 0x1f90]
cmp eax, edx
mov dword [ebp + 0xc], eax
jge 0x42c5ed
mov bl, byte [ebp + eax - 0x1f70]
test bl, bl
jne 0x42c5e4
dec edx
mov dword [ebp - 0x18], ecx
cmp eax, edx
jne 0x42c517
imul ecx, eax
mov eax, dword [ebp - 0x1f94]
sub eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x1f90]
mov edx, dword [ebp + 0xc]
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
imul ebx, edx
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x5fb0]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 0x20], esi
mov esi, edi
mov edi, dword [ebp - 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x1fac]
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1f74]
push ecx
mov ecx, dword [ebp - 0x1fa4]
push eax
mov eax, dword [ebp - 0x1fa8]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1f94]
push ecx
mov ecx, dword [ebp - 0x1fb0]
push edx
mov edx, dword [ebp - 0x1f8c]
push edx
push ebx
push eax
push ecx
lea edx, [ebp - 0x5fb0]
push 0x5e9444
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1f98]
add esp, 0x30
add ebx, ecx
lea edx, [ebp - 0x5fb0]
push 0
push eax
mov eax, dword [ebp - 0x14]
push ebx
push edx
push 0x2000c0
mov ecx, dword [eax + 0x150]
push ecx
mov ecx, dword [eax + 0x33f0]
call fcn.0048fc90
test eax, eax
jne 0x42c5e4
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x42c5ed
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x42c4db
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x5ea198
call fcn.0056877a
mov byte [ebp - 4], 1
call fcn.0040d0d0
mov edx, dword [ebp + 8]
push 0
push 1
lea ecx, [ebp - 0x2c]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00475800
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
push edx
call fcn.0043ea50
add esp, 4
test al, al
jne 0x42c64c
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00568481
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004405b0
add esp, 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42c65f
mov edx, dword [ebp - 0x28]
push edx
call fcn.00493890
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
jmp 0x42cbb8
push ecx
mov dword [ebp - 0x1fa8], 2
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x5fe7d8
call fcn.0056877a
mov byte [ebp - 4], 3
call fcn.0040d0d0
mov ecx, dword [ebp + 8]
push 1
push 2
lea edx, [ebp - 0x18]
push ecx
push edx
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00475800
mov eax, dword [ebp - 0x18]
push 0x5fe7d8
push eax
mov byte [ebp - 4], 4
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x42c6dc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], al
call fcn.0056870c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call fcn.00568481
call fcn.004414e0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x42c718
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0056870c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
cmp esi, 0xc800
jb 0x42c730
mov dword [ebp - 0x24], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
jne 0x42c763
push edi
call fcn.00493890
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0056870c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1f98], eax
mov dword [ebp - 0x1fb0], ecx
mov ecx, dword [ebp - 0x1f90]
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x1f94], esi
mov dword [ebp - 0x1fa0], 1
mov dword [ebp - 0x1f9c], edi
mov dword [ebp - 0x1f8c], eax
imul eax, ecx
sub esi, eax
je 0x42c7a7
inc dword [ebp - 0x1f8c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x1f80], eax
mov ecx, dword [esi + 0x1c8]
mov ebx, ecx
mov dword [ebp - 0x20], ebx
inc ebx
cmp ebx, edi
jne 0x42c806
mov eax, dword [esi + 0x1c4]
cmp eax, edi
je 0x42c7f5
mov edx, ecx
dec ecx
test edx, edx
je 0x42c7e0
add eax, 0x1f80
jmp 0x42c7d2
mov eax, dword [esi + 0x1c4]
push eax
call fcn.00567b2c
add esp, 4
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1c8], edi
jmp 0x42ca69
mov edx, dword [esi + 0x1c4]
cmp edx, edi
jne 0x42c88a
mov edi, ebx
shl edi, 6
sub edi, ebx
shl edi, 7
push edi
call fcn.00567b03
mov ecx, dword [ebp - 0x14]
mov esi, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ecx + 0x1c4], eax
mov ecx, edi
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 0xc], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp + 8], eax
je 0x42c876
mov dword [ebp - 0x1c], esi
test esi, esi
mov byte [ebp - 4], 5
je 0x42c867
mov ecx, esi
call fcn.0042cc50
add esi, 0x1f80
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], esi
jmp 0x42c848
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1cc], ebx
mov dword [eax + 0x1c8], ebx
jmp 0x42ca69
mov edi, dword [esi + 0x1cc]
cmp ebx, edi
jg 0x42c928
cmp ecx, ebx
jge 0x42c8fc
mov esi, ecx
mov eax, ebx
shl esi, 6
sub eax, ecx
sub esi, ecx
mov ecx, eax
mov dword [ebp + 8], eax
shl ecx, 6
sub ecx, eax
xor eax, eax
shl esi, 7
shl ecx, 7
add esi, edx
mov edx, ecx
mov edi, esi
mov dword [ebp + 0xc], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp + 8], eax
je 0x42c91a
mov dword [ebp - 0x1c], esi
test esi, esi
mov byte [ebp - 4], 6
je 0x42c8ed
mov ecx, esi
call fcn.0042cc50
add esi, 0x1f80
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], esi
jmp 0x42c8ce
jle 0x42c91a
mov eax, ebx
sub ecx, ebx
shl eax, 6
sub eax, ebx
shl eax, 7
add eax, edx
mov edx, ecx
dec ecx
test edx, edx
je 0x42c91a
add eax, 0x1f80
jmp 0x42c90c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c8], ebx
jmp 0x42ca69
mov eax, dword [esi + 0x1d0]
test eax, eax
jne 0x42c955
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x42c949
mov eax, 4
jmp 0x42c955
cmp eax, 0x400
jle 0x42c955
mov eax, 0x400
add eax, edi
cmp ebx, eax
jl 0x42c95d
mov eax, ebx
mov ecx, eax
mov dword [ebp - 0x1c], eax
shl ecx, 6
sub ecx, eax
shl ecx, 7
push ecx
call fcn.00567b03
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [edx + 0x1c8]
mov esi, dword [edx + 0x1c4]
mov ecx, eax
shl ecx, 6
sub ecx, eax
shl ecx, 7
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 0x1c8]
mov esi, ebx
sub esi, eax
mov edx, eax
mov ecx, esi
mov dword [ebp + 0xc], esi
shl edx, 6
shl ecx, 6
sub edx, eax
mov eax, dword [ebp + 8]
sub ecx, esi
shl edx, 7
shl ecx, 7
add edx, eax
mov esi, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
xor esi, esi
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp + 0xc], eax
je 0x42ca3f
cmp edx, esi
je 0x42ca37
mov eax, 1
mov ecx, 0x7d0
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
xor eax, eax
lea edi, [edx + 0x40]
mov dword [edx], esi
mov dword [edx + 4], esi
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], esi
mov dword [edx + 0x1c], esi
mov dword [edx + 0x20], 0x200
mov dword [edx + 0x24], esi
mov dword [edx + 0x28], 0xa
mov dword [edx + 0x2c], esi
mov dword [edx + 0x30], esi
mov dword [edx + 0x34], 0x1388
mov dword [edx + 0x38], esi
mov dword [edx + 0x3c], esi
rep stosd dword es:[edi], eax
add edx, 0x1f80
jmp 0x42c9da
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x1c4]
push eax
call fcn.00567b2c
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 0x1c4], edx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov edi, eax
mov ecx, 0x7e0
shl edi, 6
sub edi, eax
mov eax, dword [edx + 0x1c4]
mov edx, dword [ebp - 0x1f8c]
lea esi, [ebp - 0x1fb0]
shl edi, 7
add edi, eax
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1f90]
mov dword [ebp + 0xc], eax
cmp eax, edx
jge 0x42cbb1
mov bl, byte [ebp + eax - 0x1f70]
test bl, bl
jne 0x42cb99
dec edx
mov dword [ebp + 8], ecx
cmp eax, edx
jne 0x42cacc
imul ecx, eax
mov eax, dword [ebp - 0x1f94]
sub eax, ecx
mov dword [ebp + 8], eax
mov ebx, dword [ebp - 0x1f90]
mov edx, dword [ebp + 0xc]
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
imul ebx, edx
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x9fb0]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 0x20], esi
mov esi, edi
mov edi, dword [ebp - 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x1fac]
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1f74]
push ecx
mov ecx, dword [ebp - 0x1fa4]
push eax
mov eax, dword [ebp - 0x1fa8]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x1f94]
push ecx
mov ecx, dword [ebp - 0x1fb0]
push edx
mov edx, dword [ebp - 0x1f8c]
push edx
push ebx
push eax
push ecx
lea edx, [ebp - 0x9fb0]
push 0x5e9444
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1f98]
add esp, 0x30
add ebx, ecx
lea edx, [ebp - 0x9fb0]
push 0
push eax
mov eax, dword [ebp - 0x14]
push ebx
push edx
push 0x2000c0
mov ecx, dword [eax + 0x150]
push ecx
mov ecx, dword [eax + 0x33f0]
call fcn.0048fc90
test eax, eax
jne 0x42cb99
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x42cbb1
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1f90]
mov edx, dword [ebp - 0x1f8c]
inc eax
mov dword [ebp + 0xc], eax
jmp 0x42ca9f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0056870c
mov eax, dword [ebp - 0x1f88]
test eax, eax
jle 0x42cbe2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1f7c]
push 0
push edx
mov ecx, dword [eax + 0x1c]
push 0x120
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42cc33
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x33b0]
test eax, eax
je 0x42cc33
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x42cc33
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.00493890
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8