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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
je 0x43003c
call fcn.004284f0
fldz
mov ecx, dword [esi + 0x1bc]
imul ecx, dword [esi + 0x1c0]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b8]
lea edi, [esi + 0x1c4]
push edx
push edi
push ecx
lea ecx, [esi + 0x248]
fstp dword [esp]
push 0
push 0
call fcn.0042d090
fld dword [edi]
xor edi, edi
fstp dword [0x6b6550]
movzx edx, word [esi + 0x268]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fadd dword [esi + 0x1c8]
fstp dword [0x6b6554]
cmp byte [esi + 0x2b2], 0
jbe 0x42fc2e
lea ebx, [esi + 0x26c]
nop
mov ecx, dword [esi + 0x1bc]
fldz
imul ecx, dword [esi + 0x1c0]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b8]
push edx
push 0x6b6550
push ecx
fstp dword [esp]
push 0
push 0
mov ecx, ebx
call fcn.0042d090
movzx edx, word [esi + 0x28c]
mov dword [esp + 0x14], edx
inc edi
fild dword [esp + 0x14]
fadd dword [0x6b6554]
fstp dword [0x6b6554]
movzx eax, byte [esi + 0x2b2]
cmp edi, eax
jl 0x42fbd0
mov ecx, dword [esi + 0x1bc]
fldz
imul ecx, dword [esi + 0x1c0]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b8]
xor ebx, ebx
push edx
push 0x6b6550
push ecx
lea ecx, [esi + 0x290]
fstp dword [esp]
push ebx
push ebx
call fcn.0042d090
or edi, 0xffffffff
cmp dword [esi + 0x2dc], edi
je 0x42fceb
fld dword [esi + 0x1c4]
mov eax, 0x51eb851f
fadd qword [0x57f0a8]
fstp dword [0x6b6550]
fild dword [esi + 0x23c]
fimul dword [esi + 0x2dc]
fild dword [esi + 0x2bc]
fadd dword [esi + 0x1c8]
faddp st(1)
fsub dword [esi + 0x30c]
fstp dword [0x6b6554]
mov edx, dword [esi + 0x1bc]
imul edx, dword [esi + 0x1c0]
fldz
mul edx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b8]
lea eax, [esi + 0x304]
push edx
push 0x6b6550
push ecx
lea ecx, [esi + 0x2e4]
fstp dword [esp]
push ebx
push eax
call fcn.0042d090
mov edx, dword [esi + 0x244]
lea ecx, [esi + 0x220]
push edx
call fcn.005588c0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x430035
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x220]
call fcn.00558aa0
mov ecx, dword [esi + 0x240]
mov ebx, dword [eax]
mov edx, 1
sub ecx, edx
cmp dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
jge 0x430035
movzx edi, word [esi + 0x1c]
movzx eax, di
cmp ax, 0xc
ja 0x43002a
movzx eax, ax
xor ecx, ecx
cmp dword [eax*4 + 0x698ce4], ecx
je 0x43002a
mov eax, dword [ebx + 0x104]
cmp eax, 0xffffffff
je 0x42fddf
cmp eax, dword [esp + 0x1c]
jne 0x42fda5
mov ecx, dword [esp + 0x14]
add dword [esp + 0x18], ecx
lea eax, [ebx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fd88
sub eax, edx
movzx edx, di
movzx ecx, word [edx*4 + 0x698d14]
imul ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x42fde7
cmp eax, 0xffffffff
je 0x42fddf
cmp eax, dword [esp + 0x1c]
je 0x42fddf
add dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
lea eax, [ebx + 4]
mov dword [esp + 0x18], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fdc2
movzx ecx, di
movzx ecx, word [ecx*4 + 0x698d14]
sub eax, edx
imul ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x42fde7
add dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
fld dword [esi + 0x1c4]
call fcn.0055b110
fld dword [esi + 0x1c8]
add eax, dword [esi + 0x2b8]
mov edi, dword [esi + 0x23c]
add eax, dword [esp + 0x18]
imul edi, dword [esp + 0x10]
mov dword [esp + 0x28], eax
call fcn.0055b110
add edi, eax
add edi, dword [esi + 0x2bc]
push 0x100
mov eax, 1
lea edx, [esp + 0x4c]
push 0
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.0055a690
add esp, 0xc
lea edi, [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.0055bb10
add esp, 0xc
cmp dword [esi + 0x318], 0
je 0x42febe
mov ebx, dword [esi + 0x23c]
fld dword [esi + 0x1c8]
imul ebx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
call fcn.0055b110
add ebx, eax
add ebx, dword [esi + 0x2bc]
fld dword [esi + 0x1c4]
push ebx
call fcn.0055b110
add eax, dword [esi + 0x2b8]
mov ecx, esi
add eax, dword [esp + 0x20]
push eax
call fcn.00429960
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00429bb0
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x2e0]
sub eax, dword [esi + 0x244]
cmp eax, dword [esp + 0x10]
jne 0x42ff08
cmp dword [esi + 0x314], 1
jne 0x42ff08
push 0xffffff00
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx ecx, word [esi + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, 0x698ce0
call fcn.0042a250
jmp 0x43002a
cmp dword [ebx + 0x108], 0
je 0x42ff6c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x320]
cmp eax, 0x118
jbe 0x42ff4e
mov eax, dword [esi + 0x31c]
cmp eax, 1
jb 0x42ff3b
mov dword [esi + 0x31c], 0
jmp 0x42ff42
inc eax
mov dword [esi + 0x31c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x320], eax
mov edx, dword [esi + 0x31c]
mov eax, dword [edx*4 + 0x6991e4]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
jmp 0x42ff9f
mov ecx, dword [esi + 0x1bc]
imul ecx, dword [esi + 0x1c0]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [ebx]
lea eax, [esp + 0x48]
push edx
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x54]
push ecx
movzx edx, word [esi + 0x1c]
push edx
mov ecx, 0x698ce0
call fcn.0042a250
cmp dword [ebx + 0x10c], 0
je 0x43002a
cmp dword [esi + 0x328], 0
je 0x43002a
fld dword [0x5813ec]
lea ecx, [edi + 1]
fst dword [esp + 0x3c]
fstp dword [esp + 0x38]
mov al, byte [edi]
inc edi
test al, al
jne 0x42ffd1
movzx eax, word [esi + 0x1c]
sub edi, ecx
movzx ecx, word [eax*4 + 0x698d14]
imul ecx, edi
add ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
test ecx, ecx
jge 0x42ffff
fadd dword [0x57e5c0]
fstp dword [esp + 0x40]
push 0xffffffffffffffff
fild dword [esp + 0x30]
lea edx, [esp + 0x44]
push edx
push ecx
fstp dword [esp + 0x50]
lea eax, [esp + 0x44]
fldz
lea ecx, [esi + 0x324]
fstp dword [esp]
push 0
push eax
call fcn.0042d090
cmp dword [esp + 0x20], 0
jne 0x42fd19
mov ecx, esi
call fcn.00428ab0
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055a677
mov esp, ebp
pop ebp
ret