Function at 0x511380
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fd64
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x6c82cc], 0
je 0x5113c0
xor eax, eax
jmp 0x5122ab
cmp dword [edi + 8], 0
je 0x5113b9
cmp dword [edi + 0xc], 0
je 0x5113b9
mov ecx, dword [edi + 0x14]
xor ebx, ebx
mov edx, dword [edi + 0x10]
add ecx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
cmp dword [edi + 0x10c], ebx
je 0x51143c
lea eax, [edi + 0x38]
mov esi, eax
mov dword [ebp - 0xe8], eax
lea eax, [esi + 1]
mov dword [ebp - 0xe0], eax
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x511410
mov eax, dword [edi + 0x110]
sub esi, dword [ebp - 0xe0]
add esi, 2
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov ecx, dword [edi + 0x110]
call fcn.00456770
jmp 0x511653
lea esi, [edi + 0x38]
mov dword [ebp - 0xe8], esi
cmp byte [esi], bl
je 0x511697
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x100]
jb 0x5114a9
mov ecx, dword [edi + 0x104]
mov eax, dword [ecx*4 + 0x6d0f18]
mov dword [edi + 0x80], eax
mov eax, dword [ecx*4 + 0x6d0f14]
mov dword [edi + 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x140
mov dword [edi + 0x100], eax
cmp byte [edi + 0x108], bl
jne 0x51149a
inc dword [edi + 0x104]
cmp dword [edi + 0x104], 8
jl 0x5114a9
mov dword [edi + 0x104], ebx
mov eax, dword [0x6fc4c4]
cmp byte [eax + 0x471], 1
jne 0x5114cc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x5114c0
jmp 0x51164e
movzx eax, word [edi + 0xfc]
dec eax
cmp eax, 3
ja case.default.0x5114dd
jmp dword [eax*4 + 0x5122cc]
mov edx, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [edi + 0x10]
sub edx, 4
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xe0], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511510
mov eax, dword [ebp - 0xe4]
sub ecx, dword [ebp - 0xe0]
dec eax
add edx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x84]
or eax, 0xff000000
mov dword [ebp - 0x30], edx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
push ecx
push esi
push 7
mov ecx, 0x6f5a20
call fcn.0044ee40
jmp 0x511697
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x511558
sub esi, ecx
lea ecx, [ebp - 0x60]
call fcn.00451f10
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push 0x3f
mov ecx, 0x6f6168
call fcn.0045c430
push 0xede234
mov ecx, dword [edi + 0x110]
lea eax, [ebp - 0x60]
push eax
push 0xffffff
push 0
call fcn.00456690
mov eax, dword [edi + 0x110]
push esi
mov dword [eax + 0x50], 0xdc
mov ecx, dword [edi + 0x110]
call fcn.00456550
lea ecx, [ebp - 0x60]
mov dword [edi + 0x10c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00451f20
jmp 0x511697
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5115d7
sub esi, ecx
lea ecx, [ebp - 0x60]
call fcn.00451f10
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
push 0x3f
mov ecx, 0x6f6168
call fcn.0045c430
push 0xf83232
jmp 0x511587
lea ecx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x511610
sub esi, ecx
lea ecx, [ebp - 0x60]
call fcn.00451f10
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 2
push eax
push 0x3f
mov ecx, 0x6f6168
call fcn.0045c430
push 0x4dc025
jmp 0x511587
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x511647
sub esi, ecx
add esi, 2
push 0xb4464646
lea eax, [ebp - 0x40]
mov ecx, 0x6f5a20
push eax
push esi
lea eax, [edi + 0x38]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
mov eax, dword [edi + 0x7c]
mov ecx, 0x6f5a20
dec dword [ebp - 0x40]
or eax, 0xff000000
dec dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
lea eax, [edi + 0x38]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x88]
mov esi, dword [ebp + 8]
add eax, esi
mov edx, dword [ebp + 0xc]
movss xmm1, dword [0x5af1b0]
mov dword [ebp - 0xa0], eax
mov eax, dword [edi + 0x18]
add eax, edx
mov dword [ebp - 0x98], 1
cmp byte [ecx], 0
mov dword [ebp - 0x94], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x9c], eax
je 0x51175f
mov esi, ecx
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x5116f0
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0xa0]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6f5a20
call fcn.0044ed60
mov eax, dword [edi + 0x7c]
mov ecx, 0x6f5a20
dec dword [ebp - 0xa0]
or eax, 0xff000000
dec dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
push esi
lea eax, [edi + 0x88]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
movss xmm1, dword [0x5af1b0]
mov ebx, 0xf
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x34]
lea ecx, [edi + 0x99]
add eax, esi
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x30]
add eax, edx
mov dword [ebp - 0xb4], 1
cmp byte [ecx], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0xbc], eax
je 0x51180a
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5117a8
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0xc0]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6f5a20
call fcn.0044ed60
mov eax, dword [edi + 0x7c]
mov ecx, 0x6f5a20
dec dword [ebp - 0xc0]
or eax, 0xff000000
dec dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
push eax
push esi
lea eax, [edi + 0x99]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [edi + 0xba], 0
lea ecx, [edi + 0xba]
je 0x511891
mov eax, dword [edi + 0x20]
add ebx, 0xf
add eax, esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x30], eax
mov esi, ecx
mov eax, dword [edi + 0x24]
sub eax, ebx
mov dword [ebp - 0x24], 1
add eax, edx
mov dword [ebp - 0x2c], eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x511841
push 0xb4ff00ff
sub esi, edx
lea eax, [ebp - 0x30]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6f5a20
call fcn.0044ed60
mov eax, dword [edi + 0x7c]
mov ecx, 0x6f5a20
dec dword [ebp - 0x30]
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [edi + 0xba]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0xdb]
mov edx, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + 0x2c]
sub eax, ebx
mov dword [ebp - 0xa8], 1
add eax, dword [ebp + 0xc]
cmp byte [ecx], 0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], 1
je 0x511933
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5118d1
push 0xb4d86028
sub esi, edx
lea eax, [ebp - 0xb0]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6f5a20
call fcn.0044ed60
mov eax, dword [edi + 0x7c]
mov ecx, 0x6f5a20
dec dword [ebp - 0xb0]
or eax, 0xff000000
dec dword [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
push eax
push esi
lea eax, [edi + 0xdb]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
mov edx, dword [ebp + 8]
add ebx, 0xf
cmp byte [edi + 0x1e8], 0
je 0x5119b0
mov esi, dword [edi + 0x1e4]
lea ecx, [edi + 0x1e8]
add esi, edx
mov dword [ebp - 0x28], 1
mov edx, dword [edi + 0x1e0]
lea eax, [ecx + 1]
add ebx, 0xf
mov dword [ebp - 0x24], 1
sub edx, ebx
mov dword [ebp - 0xe0], eax
dec edx
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511970
mov eax, dword [edi + 0x80]
dec esi
sub ecx, dword [ebp - 0xe0]
or eax, 0xff000000
add edx, dword [ebp + 0xc]
add ecx, 2
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], esi
push eax
push ecx
lea eax, [edi + 0x1e8]
mov dword [ebp - 0x2c], edx
push eax
push 9
mov ecx, 0x6f5a20
call fcn.0044ee40
cmp byte [edi + 0x15c], 0
lea ecx, [edi + 0x15c]
je 0x511cf5
push ecx
lea ecx, [ebp - 0xd8]
add ebx, 5
call fcn.00409650
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 4], 3
test eax, eax
je 0x511cdd
xor esi, esi
lea esp, [esp]
cmp esi, eax
jae 0x511cdd
push 1
push esi
lea eax, [ebp - 0xdc]
mov byte [ebp - 0xdc], 0x40
push eax
lea ecx, [ebp - 0xd8]
call fcn.00444bb0
push 1
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xd8]
push esi
lea eax, [ebp - 0xdc]
mov byte [ebp - 0xdc], 0x26
push eax
call fcn.00444bb0
cmp dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], eax
jl 0x511b8b
mov esi, dword [ebp - 0xe4]
lea ecx, [ebp - 0xd8]
push 3
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044ea20
push esi
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd8]
call fcn.0044ea20
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
test eax, eax
je 0x511b49
cmp eax, 7
ja 0x511b49
push 8
push dword [edi + 0x180]
inc eax
mov dword [ebp - 0x14], 0x3f800000
push eax
mov ecx, 0x6f6168
mov dword [ebp - 0x18], 0x3f800000
call fcn.0045c430
mov ecx, dword [edi + 0x180]
movd xmm1, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
push 0xffffffffffffffff
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, 0xfffffffb
add ebx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
subss xmm1, dword [0x5af510]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x158]
cvtdq2ps xmm0, xmm0
sub eax, ebx
add eax, dword [ebp + 0xc]
movss dword [ebp - 0xf0], xmm0
movd xmm0, eax
lea eax, [ebp - 0xf0]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x18]
push 0
push eax
movss dword [ebp - 0xec], xmm0
call fcn.00451f60
add esi, 2
cmp dword [ebp - 0x74], 0x10
jb 0x511b60
push dword [ebp - 0x88]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 3
jb 0x511cce
push dword [ebp - 0x58]
jmp 0x511cc6
test eax, eax
js 0x511cce
push 3
inc eax
lea ecx, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0044ea20
mov esi, dword [ebp - 0xe0]
lea eax, [ebp - 0x58]
push esi
push 0
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.0044ea20
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
test eax, eax
je 0x511c90
cmp eax, 7
ja 0x511c90
push 8
push dword [edi + 0x180]
add eax, 8
mov dword [ebp - 0x24], 0x3f800000
push eax
mov ecx, 0x6f6168
mov dword [ebp - 0x28], 0x3f800000
call fcn.0045c430
mov ecx, dword [edi + 0x180]
movd xmm1, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
push 0xffffffffffffffff
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, 0xfffffffb
add ebx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
subss xmm1, dword [0x5af510]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x158]
cvtdq2ps xmm0, xmm0
sub eax, ebx
add eax, dword [ebp + 0xc]
movss dword [ebp - 0x68], xmm0
movd xmm0, eax
lea eax, [ebp - 0x68]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x28]
push 0
push eax
movss dword [ebp - 0x64], xmm0
call fcn.00451f60
add esi, 2
cmp dword [ebp - 0x44], 0x10
jb 0x511ca4
push dword [ebp - 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 3
jb 0x511cce
push dword [ebp - 0x88]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
js 0x511cdd
mov eax, dword [ebp - 0xc8]
jmp 0x5119f0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.0053ab00
lea ecx, [edi + 0x15c]
cmp byte [edi + 0x130], 0
je 0x511d76
cmp byte [ecx], 0
jne 0x511d08
add ebx, 0xe
jmp 0x511d0b
add ebx, 7
mov edx, dword [edi + 0x12c]
lea ecx, [edi + 0x130]
mov esi, dword [edi + 0x128]
lea eax, [ecx + 1]
sub edx, ebx
mov dword [ebp - 0x28], 1
dec esi
mov dword [ebp - 0x24], 1
dec edx
mov dword [ebp - 0xe0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511d38
sub ecx, dword [ebp - 0xe0]
add esi, dword [ebp + 8]
add edx, dword [ebp + 0xc]
push 0xff0a0a0a
lea eax, [ecx + 2]
mov dword [ebp - 0x30], esi
push 0xf0fafafa
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
push ecx
push eax
lea eax, [edi + 0x130]
mov ecx, 0x6f5a20
push eax
push 0xe
call fcn.0044ee40
cmp byte [edi + 0x1b4], 0
lea ecx, [edi + 0x1b4]
je 0x511e11
mov eax, dword [edi + 0x1ac]
add ebx, 9
add eax, dword [ebp + 8]
mov esi, ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
add edx, 0xfffffffe
mov eax, dword [edi + 0x1b0]
sub eax, ebx
mov dword [ebp - 0x28], 1
add eax, edx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x2c], eax
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x511dc0
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x30]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6f5a20
call fcn.0044ed60
dec dword [ebp - 0x30]
lea eax, [ebp - 0x30]
dec dword [ebp - 0x2c]
mov ecx, 0x6f5a20
push 0xb4ffffff
push eax
push esi
lea eax, [edi + 0x1b4]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
add ebx, 5
jmp 0x511e14
add ebx, 2
cmp dword [edi + 4], 0
je 0x5120b0
lea ecx, [ebp - 0x60]
inc ebx
call fcn.00451f10
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 8
mov dword [ebp - 0x5c], 0
call fcn.00451f10
xor eax, eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xe0], eax
movdqu xmmword [ebp - 0x20], xmm0
cmp dword [edi + 0x184], eax
je 0x511e85
push 8
lea eax, [ebp - 0x60]
mov ecx, 0x6f6168
push eax
push 0x1d
call fcn.0045c430
push 8
lea eax, [ebp - 0x90]
push eax
push 0x6b
jmp 0x511ea7
cmp dword [edi + 0x188], eax
je 0x511e97
push 8
lea eax, [ebp - 0x60]
push eax
push 0x1e
jmp 0x511ea7
cmp dword [edi + 0x18c], eax
je 0x511eb1
push 8
lea eax, [ebp - 0x60]
push eax
push 0x1f
mov ecx, 0x6f6168
call fcn.0045c430
lea eax, [edi + 0x190]
xor esi, esi
mov dword [ebp - 0xe4], eax
nop
cmp dword [eax], 0
je 0x511efd
push 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0xe0], 1
push eax
push 0x20
mov ecx, 0x6f6168
call fcn.0045c430
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x20]
push 0x5ab8a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0xe4]
add esp, 0xc
inc esi
add eax, 4
mov dword [ebp - 0xe4], eax
cmp esi, 5
jl 0x511ec0
cmp dword [ebp - 0x5c], 0
mov esi, dword [ebp + 0xc]
je 0x511f7d
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
add eax, 0xfffffffe
add ebx, eax
mov dword [ebp - 0x64], 0x3f800000
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cdq
sub eax, edx
mov dword [ebp - 0x68], 0x3f800000
sar eax, 1
sub ecx, eax
mov eax, dword [edi + 0x1a8]
dec ecx
sub eax, ebx
add eax, esi
push 0xffffffffffffffff
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
lea eax, [ebp - 0x28]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x68]
push 0
push eax
lea ecx, [ebp - 0x60]
movss dword [ebp - 0x24], xmm0
call fcn.00451f60
cmp dword [ebp - 0x8c], 0
je 0x511ff5
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 8]
dec eax
add ebx, eax
mov dword [ebp - 0x64], 0x3f800000
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
cdq
sub eax, edx
mov dword [ebp - 0x68], 0x3f800000
sar eax, 1
sub ecx, eax
mov eax, dword [edi + 0x1a8]
dec ecx
sub eax, ebx
add eax, esi
push 0xffffffffffffffff
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
lea eax, [ebp - 0x28]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x68]
push 0
push eax
lea ecx, [ebp - 0x90]
movss dword [ebp - 0x24], xmm0
call fcn.00451f60
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x512092
mov eax, dword [edi + 0x1d8]
add esi, 3
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5ba664]
cvttss2si eax, xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x1dc]
sub eax, ebx
add eax, esi
lea esi, [ebp - 0x20]
mov dword [ebp - 0x2c], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x512046
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x30]
push eax
add esi, 2
lea eax, [ebp - 0x20]
push esi
push eax
movzx eax, word [edi + 0x78]
mov ecx, 0x6f5a20
push eax
call fcn.0044ed60
dec dword [ebp - 0x30]
lea eax, [ebp - 0x30]
dec dword [ebp - 0x2c]
mov ecx, 0x6f5a20
push 0xb4ffffff
push eax
push esi
lea eax, [ebp - 0x20]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044ed60
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00451f20
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00451f20
cmp dword [0x7032e8], 0
jne 0x5121ed
cmp word [edi + 0x114], 0
je 0x5122a6
mov eax, dword [0x6fc4c4]
mov al, byte [eax + 0x518]
test al, al
jne 0x5122a6
mov eax, dword [edi + 0x124]
add ebx, 0x14
test eax, eax
je 0x5122a6
cmp dword [eax + 4], 1
jle 0x51215d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x11c]
jb 0x51215d
mov esi, dword [edi + 0x124]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
add ecx, 0x1e
add eax, ecx
mov ecx, dword [edi + 0x118]
mov dword [edi + 0x11c], eax
mov eax, dword [esi + 4]
dec eax
cmp ecx, eax
jl 0x512135
mov dword [edi + 0x120], 1
cmp dword [edi + 0x120], 0
jne 0x512149
lea eax, [ecx + 1]
mov dword [edi + 0x118], eax
jmp 0x51215d
mov dword [edi + 0x118], 0
mov dword [edi + 0x120], 0
lea ecx, [ebp - 0x60]
call fcn.00451f10
mov edx, dword [edi + 0x118]
lea eax, [ebp - 0x60]
push 0
push eax
mov eax, dword [edi + 0x124]
mov ecx, 0x6f6168
mov dword [ebp - 4], 0xa
add edx, dword [eax + 8]
push edx
call fcn.0045c430
mov ecx, dword [edi + 0x124]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xc]
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
sub edx, eax
mov eax, dword [ebp + 0xc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
sub eax, dword [ecx + 0x10]
sub eax, ebx
movd xmm0, eax
lea eax, [ebp - 0x28]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea ecx, [ebp - 0x60]
push 0
push 0
movss dword [ebp - 0x24], xmm0
call fcn.00451f60
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00451f20
jmp 0x5122a6
cmp byte [edi + 0x204], 0
lea esi, [edi + 0x204]
je 0x5122a6
mov edx, dword [edi + 0x200]
mov ecx, esi
mov eax, dword [edi + 0x1fc]
dec edx
mov edi, dword [ebp + 0xc]
sub eax, ebx
add edi, 0xffffffc8
mov dword [ebp - 0x68], 1
add edi, eax
mov dword [ebp - 0x64], 1
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x512230
add edx, dword [ebp + 8]
sub ecx, ebx
mov eax, dword [0x6fc4c4]
mov dword [ebp - 0x70], edx
add eax, 0x13d
mov dword [ebp - 0x6c], edi
lea ebx, [ecx + 2]
mov ecx, dword [ebp - 0xe8]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x512275
test dl, dl
je 0x512271
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x512275
add ecx, 2
add eax, 2
test dl, dl
jne 0x512255
xor ecx, ecx
jmp 0x51227a
sbb ecx, ecx
or ecx, 1
test ecx, ecx
mov edx, 0xff0000
push 0xb40a0a0a
mov eax, 0xffffff
mov ecx, 0x6f5a20
cmove eax, edx
or eax, 0xc8000000
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 3
call fcn.0044ee40
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret 8