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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov ebx, eax
xor eax, eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [ecx], eax
mov edx, dword [edi + 0x260]
test edx, edx
jne 0x42abb4
mov edx, 0x4000
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov esi, eax
and esi, ecx
cmp esi, 0xffffffff
mov dword [esp + 0x1c], edx
je 0x42abe1
cmp dword [ebp + 0x48], 0
jne 0x42abe1
sub eax, dword [ebp + 0x20]
sbb ecx, dword [ebp + 0x24]
xor esi, esi
cmp ecx, esi
jg 0x42abe1
jl 0x42abdf
cmp eax, edx
jae 0x42abe1
mov edx, eax
test edx, edx
je 0x42ac18
mov ecx, dword [ebp + 0x9c]
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, dword [ebx + 0x210]
mov esi, ebx
call fcn.0042e3d0
add esp, 8
cmp eax, 0x51
mov dword [esp + 0x14], eax
je 0x42b2e4
test eax, eax
jg 0x42b313
jmp 0x42ac20
mov dword [esp + 0x34], 0
mov edx, dword [ebp + 0x20]
or edx, dword [ebp + 0x24]
jne 0x42acb8
mov eax, dword [ebp + 0x28]
or eax, dword [ebp + 0x2c]
jne 0x42acb8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
sub ecx, dword [edi + 0x4a4]
mov eax, dword [edi + 0x4a0]
mov dword [esp + 0x20], ecx
sub edx, eax
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fdiv qword [0x4faca0]
fild dword [esp + 0x20]
faddp st(1)
fstp qword [edi + 0x488]
cmp dword [ebp + 0x84], 0
jle 0x42acb8
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [ebp + 0x7c], edx
mov dword [ebp + 0x80], ecx
mov eax, dword [esp + 0x38]
or dword [eax], 1
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x42acd9
cmp dword [ebp + 0x98], eax
jne 0x42acd9
mov dword [esp + 0x1c], 1
jmp 0x42ace9
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x42b1b2
mov ecx, dword [ebp + 0x9c]
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x9c]
mov dword [ebp + 0x5c], edx
mov eax, dword [ebx + 0x204]
mov esi, 0x40000
test dword [eax + 0x34], esi
je 0x42ad35
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
call fcn.00431870
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x42b313
cmp dword [esp + 0x18], eax
jne 0x42b2e4
cmp dword [ebp + 0x48], 0
je 0x42adb6
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
mov eax, edi
mov dword [esp + 0x2c], 0
call fcn.00439720
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x42b313
cmp dword [ebp + 0x14], eax
jg 0x42adab
jl 0x42ad70
cmp dword [ebp + 0x10], eax
ja 0x42adab
cmp dword [esp + 0x34], 0
jle 0x42adab
mov edx, dword [ebx + 0x204]
test dword [edx + 0x34], esi
je 0x42adab
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.00431870
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x42b313
cmp dword [esp + 0x18], eax
jne 0x42b2e4
cmp dword [esp + 0x20], 0
jne 0x42b1be
cmp dword [ebp + 0x5c], 0
je 0x42b16b
cmp dword [ebp + 0x48], 0
jne 0x42b16b
mov esi, dword [esp + 0x34]
test esi, esi
jg 0x42addd
cmp dword [esp + 0x1c], 0
je 0x42b16b
cmp dword [ebp + 0x98], 0
jne 0x42ae97
cmp dword [esp + 0x1c], 0
jne 0x42ae97
mov edx, dword [ebx + 0x204]
test dword [edx + 0x34], 0x40001
je 0x42ae97
cmp dword [edi + 0xd4], 0
je 0x42ae3b
cmp dword [ebx + 0x190], 0
jne 0x42b22c
push 0x4efd10
mov esi, edi
mov dword [ebp + 0xb0], 1
call fcn.0042de00
mov esi, dword [esp + 0x38]
add esp, 4
mov eax, dword [edi + 0x8638]
or eax, dword [edi + 0x863c]
je 0x42ae65
cmp dword [ebp + 0x6c], 0
jne 0x42ae65
cmp dword [edi + 0x210], 1
jne 0x42ae65
cmp dword [ebp + 0xb0], 0
je 0x42b247
cmp dword [edi + 0x200], 0
je 0x42ae97
cmp dword [edi + 0x8634], 0
jne 0x42ae97
mov ecx, dword [ebp + 0x94]
mov edx, dword [ebp + 0x90]
push ecx
push edx
mov eax, edi
call fcn.0042aaf0
add esp, 8
test eax, eax
je 0x42b263
add dword [ebp + 0x98], 1
cmp dword [edi + 0x2d8], 0
je 0x42aee4
cmp dword [ebp + 0x4c], 0
push ebx
je 0x42aed3
mov eax, dword [ebp + 0x58]
mov ecx, dword [edi + 0x524]
push eax
push ecx
push 3
mov ecx, edi
call fcn.0042e550
add esp, 0x10
cmp dword [ebp + 0x4c], 1
jne 0x42aee4
mov edx, dword [ebp + 0x5c]
push ebx
push esi
push edx
jmp 0x42aed8
mov eax, dword [ebp + 0x5c]
push esi
push eax
push 3
mov ecx, edi
call fcn.0042e550
add esp, 0x10
cmp dword [ebp + 0xc8], 0
je 0x42af5c
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x34]
push ecx
push edx
mov edi, ebx
call fcn.00448380
add esp, 8
test eax, eax
jg 0x42b277
cmp eax, 0xffffffff
jne 0x42af5c
and dword [ebp + 0xa8], 0xfffffffe
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x42af5c
mov esi, dword [ebx]
push edi
push 0x4efdb0
call fcn.0042de00
mov esi, dword [ebx]
mov eax, dword [esi + 8]
add esp, 8
test eax, eax
je 0x42af5c
cmp dword [eax + 0x60], 0
je 0x42af5c
push edi
push 0x4efdd4
call fcn.0042de00
add esp, 8
sub dword [ebx + 0x260], edi
mov dword [ebx + 0x1e4], 1
cmp dword [ebp + 0x4c], 0
je 0x42af75
cmp dword [ebp + 0xb0], 0
jne 0x42af75
mov eax, dword [ebp + 0x58]
add dword [ebp + 0x20], eax
adc dword [ebp + 0x24], 0
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
mov ecx, dword [ebp + 0x14]
jne 0x42af88
cmp ecx, eax
je 0x42b060
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
cdq
add eax, ecx
adc edx, esi
cmp edx, dword [ebp + 0x14]
jl 0x42b060
jg 0x42afab
cmp eax, dword [ebp + 0x10]
jb 0x42b060
mov edi, dword [esp + 0x34]
sub edi, dword [ebp + 0x10]
add edi, dword [ebp + 0x20]
mov dword [esp + 0x24], edi
je 0x42b03f
cmp dword [ebp + 0xb0], 0
jne 0x42b03f
mov edx, dword [ebx]
mov eax, dword [edx + 8]
test eax, eax
je 0x42b019
cmp dword [eax + 0x60], 0
je 0x42b019
mov eax, dword [esp + 0x34]
mov edx, dword [ebp]
push eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 0x8624]
push ecx
push edx
push eax
push edi
push 0x4efdf0
call fcn.0042de00
add esp, 0x28
sub dword [ebx + 0x260], edi
mov dword [ebx + 0x1e4], 1
jmp 0x42b043
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp]
push esi
mov esi, dword [esp + 0x34]
push ecx
mov ecx, dword [ebp + 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
push edi
push 0x4efe60
call fcn.0042de00
add esp, 0x20
jmp 0x42b043
mov esi, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0x20]
mov dword [esp + 0x34], eax
jns 0x42b057
mov dword [esp + 0x34], 0
and dword [ebp + 0xa8], 0xfffffffe
jmp 0x42b064
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, ecx
cdq
add dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x20]
adc dword [ebp + 0x24], edx
mov dword [esi + 0x428], eax
mov edx, dword [ebp + 0x24]
mov dword [esi + 0x42c], edx
cmp dword [ebp + 0xc8], 0
jne 0x42b167
test ecx, ecx
jne 0x42b0a3
cmp dword [ebp + 0x4c], ecx
jne 0x42b0ad
cmp dword [esp + 0x1c], ecx
je 0x42b167
cmp dword [ebp + 0x4c], 0
je 0x42b13b
cmp dword [ebp + 0xb0], 0
jne 0x42b13b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x42b0e4
mov edi, dword [ebp + 0x58]
xor ecx, ecx
cmp ecx, eax
jl 0x42b0e4
jg 0x42b0d8
cmp edi, edx
jbe 0x42b0e4
mov edx, dword [esi + 0x524]
mov ecx, dword [ebp + 0x10]
push edx
jmp 0x42b0ee
mov eax, dword [esi + 0x524]
mov ecx, dword [ebp + 0x58]
push eax
mov edx, 1
mov eax, ebx
call fcn.0042e280
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x42b313
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 0x4c], 2
jge 0x42b158
cmp dword [ebp + 0xb0], 0
jne 0x42b158
mov edx, dword [ebx + 0x204]
test dword [edx + 0x34], 0x4000
je 0x42b141
mov eax, dword [ebp + 0x5c]
push ecx
push eax
push ebx
call fcn.004406d0
add esp, 0xc
jmp 0x42b154
mov eax, dword [esp + 0x14]
jmp 0x42b10d
mov edx, dword [ebp + 0x5c]
push edx
mov edx, 1
mov eax, ebx
call fcn.0042e280
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [ebp + 0x4c], 0
jne 0x42b313
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x42b18f
cmp dword [ebx + 0x1e4], 0
jne 0x42b18f
mov ecx, dword [ebx + 0x204]
test dword [ecx + 0x34], 0x40000
jne 0x42b2b5
cmp dword [esp + 0x1c], 0
je 0x42b19d
and dword [ebp + 0xa8], 0xfffffffe
mov edx, dword [ebx + 0x204]
test byte [edx + 0x34], 0x30
jne 0x42aba5
jmp 0x42b2e4
and dword [ebp + 0xa8], 0xfffffffe
jmp 0x42b2e4
cmp dword [esp + 0x34], 0
jle 0x42b2e4
mov eax, dword [ebx]
mov eax, dword [eax + 8]
test eax, eax
je 0x42b20c
cmp dword [eax + 0x60], 0
je 0x42b20c
mov ecx, dword [edi + 0x8624]
mov edx, dword [esp + 0x34]
push ecx
push edx
push 0x4efc7c
mov esi, edi
call fcn.0042de00
mov eax, dword [esp + 0x40]
add esp, 0xc
sub dword [ebx + 0x260], eax
mov dword [ebx + 0x1e4], 1
jmp 0x42b2e4
mov ecx, dword [edi + 0x8624]
mov edx, dword [esp + 0x34]
push ecx
push edx
push 0x4efcc0
mov esi, edi
call fcn.0042de00
add esp, 0xc
jmp 0x42b2e4
mov eax, dword [esp + 0x3c]
and dword [ebp + 0xa8], 0xfffffffe
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x4efd30
mov esi, edi
call fcn.0042dec0
add esp, 4
mov eax, 0x21
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x3c]
mov dword [ecx], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp eax, 4
mov esi, dword [esp + 0x30]
jne 0x42b29a
push 0x4efd70
call fcn.0042dec0
add esp, 4
mov eax, 0x17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push eax
push 0x4efd84
call fcn.0042dec0
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
add dword [ebp + 0x5c], edx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.00431870
add esp, 0xc
test eax, eax
jne 0x42b313
cmp dword [esp + 0x18], eax
je 0x42b2e4
or dword [ebp + 0xa8], 1
mov edx, dword [ebp + 0xa8]
and dl, 3
cmp dl, 2
jne 0x42b311
cmp dword [ebx + 0x190], 0
je 0x42b311
push 0x4efec8
mov esi, edi
call fcn.0042de00
add esp, 4
and dword [ebp + 0xa8], 0xfffffffd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret