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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
je 0x42f369
call fcn.00427070
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.0042c030
fld dword [edi]
xor edi, edi
fstp dword [0x6b3584]
movzx edx, word [esi + 0x268]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd dword [esi + 0x1c8]
fstp dword [0x6b3588]
cmp byte [esi + 0x2b2], 0
jbe 0x42ef62
lea esp, [esp]
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 0x6b3584
push ecx
fstp dword [esp]
push 0
push 0
lea ecx, [esi + 0x26c]
call fcn.0042c030
movzx edx, word [esi + 0x28c]
mov dword [esp + 0x10], edx
inc edi
fild dword [esp + 0x10]
fadd dword [0x6b3588]
fstp dword [0x6b3588]
movzx eax, byte [esi + 0x2b2]
cmp edi, eax
jl 0x42ef00
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 0x6b3584
push ecx
fstp dword [esp]
push 0
push 0
lea ecx, [esi + 0x290]
call fcn.0042c030
or ebx, 0xffffffff
cmp dword [esi + 0x2dc], ebx
je 0x42f020
fld dword [esi + 0x1c4]
mov eax, 0x51eb851f
fadd qword [0x580728]
fstp dword [0x6b3584]
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 [0x6b3588]
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 0x6b3584
push ecx
lea ecx, [esi + 0x2e4]
fstp dword [esp]
push 0
push eax
call fcn.0042c030
mov edx, dword [esi + 0x244]
lea ecx, [esi + 0x220]
push edx
call fcn.0055c420
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
test eax, eax
je 0x42f362
jmp 0x42f060
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x220]
call fcn.0055c5a0
mov ecx, dword [esi + 0x240]
mov ebp, dword [eax]
dec ecx
cmp ebx, ecx
jge 0x42f362
movzx edi, word [esi + 0x1c]
mov eax, edi
cmp eax, 0xc
ja 0x42f357
mov edx, eax
xor ecx, ecx
cmp dword [edx*4 + 0x6b321c], ecx
je 0x42f357
mov eax, dword [ebp + 0x104]
cmp eax, 0xffffffff
je 0x42f101
cmp eax, dword [esp + 0x18]
jne 0x42f0c9
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], eax
lea eax, [ebp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f0c0
jmp 0x42f0ee
cmp eax, 0xffffffff
je 0x42f101
cmp eax, dword [esp + 0x18]
je 0x42f101
mov dword [esp + 0x18], eax
inc ebx
lea eax, [ebp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f0e7
movzx ecx, word [edi*4 + 0x6b324c]
sub eax, edx
imul ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x42f10a
inc ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
fld dword [esi + 0x1c4]
call fcn.00561730
fld dword [esi + 0x1c8]
add eax, dword [esi + 0x2b8]
mov edi, dword [esi + 0x23c]
add eax, dword [esp + 0x14]
imul edi, ebx
mov dword [esp + 0x28], eax
call fcn.00561730
add edi, eax
add edi, dword [esi + 0x2bc]
mov eax, 1
push 0x100
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x38], edi
call fcn.00561170
add esp, 0xc
lea edi, [ebp + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x4c]
push edi
push ecx
call fcn.00562a30
add esp, 0xc
cmp dword [esi + 0x318], 0
je 0x42f1e5
mov eax, dword [esi + 0x23c]
fld dword [esi + 0x1c8]
imul eax, ebx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x28], eax
call fcn.00561730
mov ecx, dword [esp + 0x28]
fld dword [esi + 0x1c4]
add ecx, eax
add ecx, dword [esi + 0x2bc]
push ecx
call fcn.00561730
add eax, dword [esi + 0x2b8]
mov ecx, esi
add eax, dword [esp + 0x1c]
push eax
call fcn.0042ebb0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0042eda0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x2e0]
sub ecx, dword [esi + 0x244]
cmp ecx, ebx
jne 0x42f22d
cmp dword [esi + 0x314], 1
jne 0x42f22d
push 0xffffff00
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx edx, word [esi + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
mov ecx, 0x6b3218
call fcn.004292e0
jmp 0x42f357
cmp dword [ebp + 0x108], 0
je 0x42f296
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x320]
cmp eax, 0x118
jbe 0x42f273
mov eax, dword [esi + 0x31c]
cmp eax, 1
jb 0x42f260
mov dword [esi + 0x31c], 0
jmp 0x42f267
inc eax
mov dword [esi + 0x31c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x320], eax
mov eax, dword [esi + 0x31c]
mov ecx, dword [eax*4 + 0x69ddec]
push ecx
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
movzx eax, word [esi + 0x1c]
push edi
push eax
jmp 0x42f2cf
mov ecx, dword [esi + 0x1bc]
imul ecx, dword [esi + 0x1c0]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [ebp]
lea eax, [esp + 0x48]
push edx
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx edx, word [esi + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
mov ecx, 0x6b3218
call fcn.004292e0
cmp dword [ebp + 0x10c], 0
je 0x42f357
cmp dword [esi + 0x328], 0
je 0x42f357
fld dword [0x582f2c]
lea ecx, [edi + 1]
fst dword [esp + 0x3c]
fstp dword [esp + 0x38]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x42f300
movzx eax, word [esi + 0x1c]
sub edi, ecx
movzx ecx, word [eax*4 + 0x6b324c]
imul ecx, edi
add ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
jns 0x42f32c
fadd dword [0x57f6f0]
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.0042c030
cmp dword [esp + 0x20], 0
jne 0x42f060
mov ecx, esi
call fcn.004275f0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret