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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x42715d
push ebx
push edi
call fcn.0041eaf0
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.00423d50
fld dword [edi]
xor edi, edi
fstp dword [0x6ced04]
movzx edx, word [esi + 0x268]
mov dword [ebp - 0x11c], edx
fild dword [ebp - 0x11c]
fadd dword [esi + 0x1c8]
fstp dword [0x6ced08]
cmp byte [esi + 0x2b2], 0
jbe 0x426cf6
jmp 0x426c90
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 0x6ced04
push ecx
fstp dword [esp]
push 0
push 0
lea ecx, [esi + 0x26c]
call fcn.00423d50
movzx edx, word [esi + 0x28c]
mov dword [ebp - 0x11c], edx
inc edi
fild dword [ebp - 0x11c]
fadd dword [0x6ced08]
fstp dword [0x6ced08]
movzx eax, byte [esi + 0x2b2]
cmp edi, eax
jl 0x426c90
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 0x6ced04
push ecx
lea ecx, [esi + 0x290]
fstp dword [esp]
push ebx
push ebx
call fcn.00423d50
or edi, 0xffffffff
cmp dword [esi + 0x2dc], edi
je 0x426db3
fld dword [esi + 0x1c4]
mov eax, 0x51eb851f
fadd qword [0x5a2188]
fstp dword [0x6ced04]
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 [0x6ced08]
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 0x6ced04
push ecx
lea ecx, [esi + 0x2e4]
fstp dword [esp]
push ebx
push eax
call fcn.00423d50
mov edx, dword [esi + 0x244]
lea ecx, [esi + 0x220]
push edx
call fcn.0057edb0
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 0x427154
jmp 0x426df0
lea eax, [ebp - 0x128]
push eax
lea ecx, [esi + 0x220]
call fcn.0057ef60
mov ecx, dword [esi + 0x240]
mov ebx, dword [eax]
mov edx, 1
sub ecx, edx
mov dword [ebp - 0x12c], ebx
cmp dword [ebp - 0x118], ecx
jge 0x427154
movzx edi, word [esi + 0x1c]
mov eax, edi
cmp eax, 0xc
ja 0x427147
xor ecx, ecx
cmp dword [eax*4 + 0x6ce99c], ecx
je 0x427147
mov eax, dword [ebx + 0x104]
cmp eax, 0xffffffff
je 0x426eb0
cmp eax, dword [ebp - 0x124]
jne 0x426e6f
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 0x426e66
jmp 0x426e9b
cmp eax, 0xffffffff
je 0x426eb0
cmp eax, dword [ebp - 0x124]
je 0x426eb0
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 0x426e94
movzx ecx, word [edi*4 + 0x6ce9cc]
sub eax, edx
imul ecx, eax
mov dword [ebp - 0x11c], ecx
jmp 0x426ebc
add dword [ebp - 0x118], edx
mov dword [ebp - 0x120], ecx
fld dword [esi + 0x1c4]
call fcn.00584a10
fld dword [esi + 0x1c8]
add eax, dword [esi + 0x2b8]
mov edi, dword [esi + 0x23c]
add eax, dword [ebp - 0x120]
imul edi, dword [ebp - 0x118]
mov dword [ebp - 0x114], eax
call fcn.00584a10
add edi, eax
add edi, dword [esi + 0x2bc]
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.005842e0
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.005843e0
add esp, 0xc
cmp dword [esi + 0x318], 0
je 0x426fad
mov ebx, dword [esi + 0x23c]
fld dword [esi + 0x1c8]
imul ebx, dword [ebp - 0x118]
lea ecx, [ebp - 0x104]
push ecx
call fcn.00584a10
add ebx, eax
add ebx, dword [esi + 0x2bc]
fld dword [esi + 0x1c4]
push ebx
call fcn.00584a10
add eax, dword [esi + 0x2b8]
mov ecx, esi
add eax, dword [ebp - 0x120]
push eax
call fcn.00426950
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x104]
push edx
mov ecx, esi
call fcn.00426b10
mov ebx, dword [ebp - 0x12c]
mov eax, dword [esi + 0x2e0]
sub eax, dword [esi + 0x244]
cmp eax, dword [ebp - 0x118]
jne 0x426fff
cmp dword [esi + 0x314], 1
jne 0x426fff
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 + 0x1c]
push eax
lea eax, [ebp - 0x104]
push eax
push ecx
mov ecx, 0x6ce998
call fcn.00420f60
jmp 0x427147
cmp dword [ebx + 0x108], 0
je 0x427065
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x320]
cmp eax, 0x118
jbe 0x427045
mov eax, dword [esi + 0x31c]
cmp eax, 1
jb 0x427032
mov dword [esi + 0x31c], 0
jmp 0x427039
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 + 0x6b8cc4]
push eax
lea ecx, [ebp - 0x114]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
jmp 0x42709e
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 - 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 + 0x1c]
push edx
mov ecx, 0x6ce998
call fcn.00420f60
cmp dword [ebx + 0x10c], 0
je 0x427147
cmp dword [esi + 0x328], 0
je 0x427147
fld dword [0x5a465c]
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 0x4270e0
movzx eax, word [esi + 0x1c]
sub edi, ecx
movzx ecx, word [eax*4 + 0x6ce9cc]
imul ecx, edi
add ecx, dword [ebp - 0x114]
mov dword [ebp - 0x12c], ecx
fild dword [ebp - 0x12c]
jns 0x427112
fadd dword [0x5a1d60]
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 + 0x324]
fstp dword [esp]
push 0
push eax
call fcn.00423d50
cmp dword [ebp - 0x128], 0
jne 0x426df0
mov ecx, esi
call fcn.0041f0b0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00583b0e
mov esp, ebp
pop ebp
ret