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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x9fa0
call fcn.00573b80
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 0x42d9e4
cmp dword [esi + 0x3580], ebx
je 0x42d9e4
cmp dword [esi + 0x15c], ebx
je 0x42d9e4
mov eax, dword [esi + 0x158]
cmp dword [eax + 0xf4], ebx
je 0x42d9e4
mov ecx, dword [ebp + 8]
xor eax, eax
cmp eax, dword [esi + 0x1d0]
jge 0x42d051
mov edi, dword [esi + 0x1cc]
mov edx, eax
shl edx, 6
sub edx, eax
shl edx, 7
cmp dword [edx + edi], ecx
je 0x42d9e4
inc eax
jmp 0x42d02d
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004fe840
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x42d06e
cmp dword [ebp - 0x30], ebx
je 0x42d9e4
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 + 0x3540]
cmp eax, ebx
je 0x42d12d
mov ecx, dword [eax + 0x4990]
cmp ecx, 0x80
mov dword [ebp - 0x1f90], ecx
jl 0x42d108
cmp ecx, 0x10000
jle 0x42d10e
mov dword [ebp - 0x1f90], edx
mov eax, dword [eax + 0x4994]
cmp eax, ebx
mov dword [ebp - 0x1f88], eax
jl 0x42d123
cmp eax, 0xf
jle 0x42d12d
mov dword [ebp - 0x1f88], 0xa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1fac], ebx
cmp eax, ebx
mov dword [ebp - 0x24], ebx
je 0x42d42a
push 0x18
push ebx
push eax
mov dword [ebp - 0x1fa8], ebx
call fcn.0049fac0
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x28], edi
je 0x42d9e4
mov esi, dword [esi + 0x3540]
cmp esi, ebx
je 0x42d1a4
cmp dword [esi + 0x4988], ebx
je 0x42d1a4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0x80000
push edi
jb 0x42d191
call fcn.0049f4c0
mov edi, eax
mov dword [ebp - 0x1fa4], 2
jmp 0x42d1ac
call fcn.0049f330
mov edi, eax
mov dword [ebp - 0x1fa4], 1
jmp 0x42d1ac
xor edi, edi
mov dword [ebp - 0x1fa4], ebx
mov eax, 1
cmp edi, ebx
mov dword [ebp - 0x1c], eax
jne 0x42d1ca
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 0x42d9db
cmp esi, 0xc800
jb 0x42d1ee
mov dword [ebp - 0x24], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x42d9db
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 0x42d241
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 + 0x1d0]
lea ecx, [edx + 0x1c8]
mov dword [ebp + 0xc], ecx
lea eax, [ebx + 1]
push eax
call fcn.004379f0
mov edx, dword [ebp + 0xc]
mov edi, ebx
shl edi, 6
mov eax, dword [edx + 4]
sub edi, ebx
mov edx, dword [ebp - 0x1f8c]
mov ecx, 0x7e0
shl edi, 7
lea esi, [ebp - 0x1fb0]
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1f90]
xor eax, eax
mov dword [ebp + 0xc], eax
cmp eax, edx
jge 0x42d3ac
mov bl, byte [ebp + eax - 0x1f70]
test bl, bl
jne 0x42d394
dec edx
mov dword [ebp - 0x18], ecx
cmp eax, edx
jne 0x42d2c7
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, 0x5f3788
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 str._08x_ld_d_d_d_d_d_d_d_08x
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 + 0x158]
push ecx
mov ecx, dword [eax + 0x3580]
call fcn.0049c4e0
test eax, eax
jne 0x42d394
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x42d3ac
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 0x42d29a
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x5e2f94
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
call fcn.0040d740
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.00479820
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
push edx
call fcn.00440560
add esp, 4
test al, al
jne 0x42d40b
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00442260
add esp, 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42d41e
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0300
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
jmp 0x42d969
push ecx
mov dword [ebp - 0x1fa8], 2
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
call fcn.0040d740
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.00479820
mov eax, dword [ebp - 0x18]
push 0x5f3788
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42d49c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], al
call sub.MFC42.DLL_CString::CString
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 sub.MFC42.DLL_CString::CString_4
call fcn.004431a0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x42d4d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
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 0x42d4f0
mov dword [ebp - 0x24], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
jne 0x42d523
push edi
call fcn.004a0300
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
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 0x42d567
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 + 0x1d0]
mov ebx, ecx
mov dword [ebp - 0x20], ebx
inc ebx
cmp ebx, edi
jne 0x42d5c6
mov eax, dword [esi + 0x1cc]
cmp eax, edi
je 0x42d5b5
mov edx, ecx
dec ecx
test edx, edx
je 0x42d5a0
add eax, 0x1f80
jmp 0x42d592
mov eax, dword [esi + 0x1cc]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1d4], edi
mov dword [esi + 0x1d0], edi
jmp 0x42d829
mov edx, dword [esi + 0x1cc]
cmp edx, edi
jne 0x42d64a
mov edi, ebx
shl edi, 6
sub edi, ebx
shl edi, 7
push edi
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp - 0x14]
mov esi, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ecx + 0x1cc], 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 0x42d636
mov dword [ebp - 0x1c], esi
test esi, esi
mov byte [ebp - 4], 5
je 0x42d627
mov ecx, esi
call fcn.0042da00
add esi, 0x1f80
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], esi
jmp 0x42d608
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1d4], ebx
mov dword [eax + 0x1d0], ebx
jmp 0x42d829
mov edi, dword [esi + 0x1d4]
cmp ebx, edi
jg 0x42d6e8
cmp ecx, ebx
jge 0x42d6bc
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 0x42d6da
mov dword [ebp - 0x1c], esi
test esi, esi
mov byte [ebp - 4], 6
je 0x42d6ad
mov ecx, esi
call fcn.0042da00
add esi, 0x1f80
mov byte [ebp - 4], 4
mov dword [ebp + 0xc], esi
jmp 0x42d68e
jle 0x42d6da
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 0x42d6da
add eax, 0x1f80
jmp 0x42d6cc
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1d0], ebx
jmp 0x42d829
mov eax, dword [esi + 0x1d8]
test eax, eax
jne 0x42d715
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x42d709
mov eax, 4
jmp 0x42d715
cmp eax, 0x400
jle 0x42d715
mov eax, 0x400
add eax, edi
cmp ebx, eax
jl 0x42d71d
mov eax, ebx
mov ecx, eax
mov dword [ebp - 0x1c], eax
shl ecx, 6
sub ecx, eax
shl ecx, 7
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [edx + 0x1d0]
mov esi, dword [edx + 0x1cc]
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 + 0x1d0]
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 0x42d7ff
cmp edx, esi
je 0x42d7f7
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 0x42d79a
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x1cc]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 0x1cc], edx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d4], 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 + 0x1cc]
shl edi, 7
lea esi, [ebp - 0x1fb0]
add edi, eax
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov edx, dword [ebp - 0x1f8c]
mov ecx, dword [ebp - 0x1f90]
cmp eax, edx
mov dword [ebp + 0xc], eax
jge 0x42d962
mov bl, byte [ebp + eax - 0x1f70]
test bl, bl
jne 0x42d959
dec edx
mov dword [ebp + 8], ecx
cmp eax, edx
jne 0x42d88c
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, 0x5f3788
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 str._08x_ld_d_d_d_d_d_d_d_08x
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 + 0x158]
push ecx
mov ecx, dword [eax + 0x3580]
call fcn.0049c4e0
test eax, eax
jne 0x42d959
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x42d962
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x42d850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1f88]
test eax, eax
jle 0x42d993
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1f7c]
push 0
push edx
mov ecx, dword [eax + 0x20]
push 0x120
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42d9e4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3540]
test eax, eax
je 0x42d9e4
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x42d9e4
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.004a0300
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