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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x4303b2
push ebx
push edi
call fcn.00427870
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.0042cd30
fld dword [edi]
xor edi, edi
fstp dword [0x6d5564]
movzx edx, word [esi + 0x268]
mov dword [ebp - 8], edx
fild dword [ebp - 8]
fadd dword [esi + 0x1c8]
fstp dword [0x6d5568]
cmp byte [esi + 0x2b2], 0
jbe 0x42ffd0
jmp 0x42ff70
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 0x6d5564
push ecx
fstp dword [esp]
push 0
push 0
lea ecx, [esi + 0x26c]
call fcn.0042cd30
movzx edx, word [esi + 0x28c]
mov dword [ebp - 8], edx
inc edi
fild dword [ebp - 8]
fadd dword [0x6d5568]
fstp dword [0x6d5568]
movzx eax, byte [esi + 0x2b2]
cmp edi, eax
jl 0x42ff70
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 0x6d5564
push ecx
lea ecx, [esi + 0x290]
fstp dword [esp]
push ebx
push ebx
call fcn.0042cd30
or edi, 0xffffffff
cmp dword [esi + 0x2dc], edi
je 0x43008d
fld dword [esi + 0x1c4]
mov eax, 0x51eb851f
fadd qword [0x596768]
fstp dword [0x6d5564]
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 [0x6d5568]
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 0x6d5564
push ecx
lea ecx, [esi + 0x2e4]
fstp dword [esp]
push ebx
push eax
call fcn.0042cd30
mov edx, dword [esi + 0x244]
lea ecx, [esi + 0x220]
push edx
call fcn.00569a70
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x4303a9
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x220]
call fcn.00569c20
mov ecx, dword [esi + 0x240]
mov ebx, dword [eax]
mov edx, 1
sub ecx, edx
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 4], ecx
jge 0x4303a9
movzx edi, word [esi + 0x1c]
mov eax, edi
cmp eax, 0xc
ja 0x43039f
xor ecx, ecx
cmp dword [eax*4 + 0x6d51fc], ecx
je 0x43039f
mov eax, dword [ebx + 0x104]
cmp eax, 0xffffffff
je 0x43015b
cmp eax, dword [ebp - 0x10]
jne 0x430129
mov ecx, dword [ebp - 8]
add dword [ebp - 0xc], ecx
lea eax, [ebx + 4]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430120
jmp 0x430149
cmp eax, 0xffffffff
je 0x43015b
cmp eax, dword [ebp - 0x10]
je 0x43015b
add dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
lea eax, [ebx + 4]
mov dword [ebp - 0xc], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430142
movzx ecx, word [edi*4 + 0x6d522c]
sub eax, edx
imul ecx, eax
mov dword [ebp - 8], ecx
jmp 0x430161
add dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
fld dword [esi + 0x1c4]
call fcn.0056ed80
fld dword [esi + 0x1c8]
add eax, dword [esi + 0x2b8]
mov edi, dword [esi + 0x23c]
add eax, dword [ebp - 0xc]
imul edi, dword [ebp - 4]
mov dword [ebp - 0x28], eax
call fcn.0056ed80
add edi, eax
add edi, dword [esi + 0x2bc]
push 0x100
mov eax, 1
lea edx, [ebp - 0x138]
push 0
push edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.0056e7c0
add esp, 0xc
lea edi, [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00570700
add esp, 0xc
cmp dword [esi + 0x318], 0
je 0x430237
mov ebx, dword [esi + 0x23c]
fld dword [esi + 0x1c8]
imul ebx, dword [ebp - 4]
lea ecx, [ebp - 0x138]
push ecx
call fcn.0056ed80
add ebx, eax
add ebx, dword [esi + 0x2bc]
fld dword [esi + 0x1c4]
push ebx
call fcn.0056ed80
add eax, dword [esi + 0x2b8]
mov ecx, esi
add eax, dword [ebp - 0xc]
push eax
call fcn.0042fc30
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x138]
push edx
mov ecx, esi
call fcn.0042fe00
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x2e0]
sub eax, dword [esi + 0x244]
cmp eax, dword [ebp - 4]
jne 0x430283
cmp dword [esi + 0x314], 1
jne 0x430283
push 0xffffff00
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx ecx, word [esi + 0x1c]
push eax
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, 0x6d51f8
call fcn.00429c50
jmp 0x43039f
cmp dword [ebx + 0x108], 0
je 0x4302e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x320]
cmp eax, 0x118
jbe 0x4302c9
mov eax, dword [esi + 0x31c]
cmp eax, 1
jb 0x4302b6
mov dword [esi + 0x31c], 0
jmp 0x4302bd
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 + 0x6bfdec]
push eax
lea ecx, [ebp - 0x28]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
jmp 0x43031c
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, [ebp - 0x138]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x138]
push ecx
movzx edx, word [esi + 0x1c]
push edx
mov ecx, 0x6d51f8
call fcn.00429c50
cmp dword [ebx + 0x10c], 0
je 0x43039f
cmp dword [esi + 0x328], 0
je 0x43039f
fld dword [0x598f6c]
lea ecx, [edi + 1]
fst dword [ebp - 0x2c]
fstp dword [ebp - 0x30]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x430350
movzx eax, word [esi + 0x1c]
sub edi, ecx
movzx ecx, word [eax*4 + 0x6d522c]
imul ecx, edi
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
fild dword [ebp - 0x18]
jns 0x430379
fadd dword [0x595710]
fstp dword [ebp - 0x38]
push 0xffffffffffffffff
fild dword [ebp - 0x24]
lea edx, [ebp - 0x38]
push edx
push ecx
fstp dword [ebp - 0x34]
lea eax, [ebp - 0x30]
fldz
lea ecx, [esi + 0x324]
fstp dword [esp]
push 0
push eax
call fcn.0042cd30
cmp dword [ebp - 0x14], 0
jne 0x4300b6
mov ecx, esi
call fcn.00427e60
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret