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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0xe], 0
je 0x431e2d
push ebx
push edi
call fcn.00428f60
fldz
mov ecx, dword [esi + 0x1b6]
imul ecx, dword [esi + 0x1ba]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
lea edi, [esi + 0x1be]
push edx
push edi
push ecx
lea ecx, [esi + 0x240]
fstp dword [esp]
push 0
push 0
call fcn.0042e660
fld dword [edi]
xor edi, edi
fstp dword [0x6df554]
movzx edx, word [esi + 0x260]
mov dword [ebp - 0x11c], edx
fild dword [ebp - 0x11c]
fadd dword [esi + 0x1c2]
fstp dword [0x6df558]
cmp byte [esi + 0x2a6], 0
jbe 0x4319c6
jmp 0x431960
mov ecx, dword [esi + 0x1b6]
fldz
imul ecx, dword [esi + 0x1ba]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
push edx
push 0x6df554
push ecx
fstp dword [esp]
push 0
push 0
lea ecx, [esi + 0x262]
call fcn.0042e660
movzx edx, word [esi + 0x282]
mov dword [ebp - 0x11c], edx
inc edi
fild dword [ebp - 0x11c]
fadd dword [0x6df558]
fstp dword [0x6df558]
movzx eax, byte [esi + 0x2a6]
cmp edi, eax
jl 0x431960
mov ecx, dword [esi + 0x1b6]
fldz
imul ecx, dword [esi + 0x1ba]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
xor ebx, ebx
push edx
push 0x6df554
push ecx
lea ecx, [esi + 0x284]
fstp dword [esp]
push ebx
push ebx
call fcn.0042e660
or edi, 0xffffffff
cmp dword [esi + 0x2ce], edi
je 0x431a83
fld dword [esi + 0x1be]
mov eax, 0x51eb851f
fadd qword [0x5a73c0]
fstp dword [0x6df554]
fild dword [esi + 0x234]
fimul dword [esi + 0x2ce]
fild dword [esi + 0x2ae]
fadd dword [esi + 0x1c2]
faddp st(1)
fsub dword [esi + 0x2fe]
fstp dword [0x6df558]
mov edx, dword [esi + 0x1b6]
imul edx, dword [esi + 0x1ba]
fldz
mul edx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
lea eax, [esi + 0x2f6]
push edx
push 0x6df554
push ecx
lea ecx, [esi + 0x2d6]
fstp dword [esp]
push ebx
push eax
call fcn.0042e660
mov edx, dword [esi + 0x23c]
lea ecx, [esi + 0x218]
push edx
call fcn.00574f20
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x120], ebx
cmp eax, ebx
je 0x431e24
jmp 0x431ac0
lea eax, [ebp - 0x128]
push eax
lea ecx, [esi + 0x218]
call fcn.00575100
mov ecx, dword [esi + 0x238]
mov ebx, dword [eax]
mov edx, 1
sub ecx, edx
mov dword [ebp - 0x12c], ebx
cmp dword [ebp - 0x118], ecx
jge 0x431e24
movzx edi, word [esi + 0x1a]
mov eax, edi
cmp eax, 0xc
ja 0x431e17
xor ecx, ecx
cmp dword [eax*4 + 0x6df1ec], ecx
je 0x431e17
mov eax, dword [ebx + 0x104]
cmp eax, 0xffffffff
je 0x431b80
cmp eax, dword [ebp - 0x124]
jne 0x431b3f
mov ecx, dword [ebp - 0x11c]
add dword [ebp - 0x120], ecx
lea eax, [ebx + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431b36
jmp 0x431b6b
cmp eax, 0xffffffff
je 0x431b80
cmp eax, dword [ebp - 0x124]
je 0x431b80
add dword [ebp - 0x118], edx
mov dword [ebp - 0x124], eax
lea eax, [ebx + 4]
mov dword [ebp - 0x120], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431b64
movzx ecx, word [edi*4 + 0x6df21c]
sub eax, edx
imul ecx, eax
mov dword [ebp - 0x11c], ecx
jmp 0x431b8c
add dword [ebp - 0x118], edx
mov dword [ebp - 0x120], ecx
fld dword [esi + 0x1be]
call fcn.0057aa60
fld dword [esi + 0x1c2]
add eax, dword [esi + 0x2aa]
mov edi, dword [esi + 0x234]
add eax, dword [ebp - 0x120]
imul edi, dword [ebp - 0x118]
mov dword [ebp - 0x114], eax
call fcn.0057aa60
add edi, eax
add edi, dword [esi + 0x2ae]
push 0x100
mov eax, 1
lea edx, [ebp - 0x104]
push 0
push edx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
call fcn.0057a0c0
add esp, 0xc
lea edi, [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.0057bc40
add esp, 0xc
cmp dword [esi + 0x30a], 0
je 0x431c7d
mov ebx, dword [esi + 0x234]
fld dword [esi + 0x1c2]
imul ebx, dword [ebp - 0x118]
lea ecx, [ebp - 0x104]
push ecx
call fcn.0057aa60
add ebx, eax
add ebx, dword [esi + 0x2ae]
fld dword [esi + 0x1be]
push ebx
call fcn.0057aa60
add eax, dword [esi + 0x2aa]
mov ecx, esi
add eax, dword [ebp - 0x120]
push eax
call fcn.004315d0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x104]
push edx
mov ecx, esi
call fcn.004317d0
mov ebx, dword [ebp - 0x12c]
mov eax, dword [esi + 0x2d2]
sub eax, dword [esi + 0x23c]
cmp eax, dword [ebp - 0x118]
jne 0x431ccf
cmp dword [esi + 0x306], 1
jne 0x431ccf
push 0xffffff00
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx ecx, word [esi + 0x1a]
push eax
lea eax, [ebp - 0x104]
push eax
push ecx
mov ecx, 0x6df1e8
call fcn.0042b4e0
jmp 0x431e17
cmp dword [ebx + 0x108], 0
je 0x431d35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x312]
cmp eax, 0x118
jbe 0x431d15
mov eax, dword [esi + 0x30e]
cmp eax, 1
jb 0x431d02
mov dword [esi + 0x30e], 0
jmp 0x431d09
inc eax
mov dword [esi + 0x30e], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x312], eax
mov edx, dword [esi + 0x30e]
mov eax, dword [edx*4 + 0x6c9dec]
push eax
lea ecx, [ebp - 0x114]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
jmp 0x431d6e
mov ecx, dword [esi + 0x1b6]
imul ecx, dword [esi + 0x1ba]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [ebx]
lea eax, [ebp - 0x104]
push edx
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x104]
push ecx
movzx edx, word [esi + 0x1a]
push edx
mov ecx, 0x6df1e8
call fcn.0042b4e0
cmp dword [ebx + 0x10c], 0
je 0x431e17
cmp dword [esi + 0x31a], 0
je 0x431e17
fld dword [0x5a98e4]
lea ecx, [edi + 1]
fst dword [ebp - 0x130]
fstp dword [ebp - 0x134]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x431db0
movzx eax, word [esi + 0x1a]
sub edi, ecx
movzx ecx, word [eax*4 + 0x6df21c]
imul ecx, edi
add ecx, dword [ebp - 0x114]
mov dword [ebp - 0x12c], ecx
fild dword [ebp - 0x12c]
jns 0x431de2
fadd dword [0x5a662c]
fstp dword [ebp - 0x13c]
push 0xffffffffffffffff
fild dword [ebp - 0x110]
lea edx, [ebp - 0x13c]
push edx
push ecx
fstp dword [ebp - 0x138]
lea eax, [ebp - 0x134]
fldz
lea ecx, [esi + 0x316]
fstp dword [esp]
push 0
push eax
call fcn.0042e660
cmp dword [ebp - 0x128], 0
jne 0x431ac0
mov ecx, esi
call fcn.00429560
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret