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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2154
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x6dd8d0]
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 [0x6d32cc], 0
je 0x5134d0
xor eax, eax
jmp 0x5143bb
cmp dword [edi + 8], 0
je 0x5134c9
cmp dword [edi + 0xc], 0
je 0x5134c9
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 0x51354c
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 0x513520
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.00458120
jmp 0x513763
lea esi, [edi + 0x38]
mov dword [ebp - 0xe8], esi
cmp byte [esi], bl
je 0x5137a7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x100]
jb 0x5135b9
mov ecx, dword [edi + 0x104]
mov eax, dword [ecx*4 + 0x6dbf18]
mov dword [edi + 0x80], eax
mov eax, dword [ecx*4 + 0x6dbf14]
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 0x5135aa
inc dword [edi + 0x104]
cmp dword [edi + 0x104], 8
jl 0x5135b9
mov dword [edi + 0x104], ebx
mov eax, dword [0x70797c]
cmp byte [eax + 0x471], 1
jne 0x5135dc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x5135d0
jmp 0x51375e
movzx eax, word [edi + 0xfc]
dec eax
cmp eax, 3
ja case.default.0x5135ed
jmp dword [eax*4 + 0x5143dc]
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 0x513620
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, 0x700bb8
call fcn.004507f0
jmp 0x5137a7
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x513668
sub esi, ecx
lea ecx, [ebp - 0x60]
call fcn.004538c0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push 0x3f
mov ecx, 0x701358
call fcn.0045dde0
push 0xede234
mov ecx, dword [edi + 0x110]
lea eax, [ebp - 0x60]
push eax
push 0xffffff
push 0
call fcn.00458040
mov eax, dword [edi + 0x110]
push esi
mov dword [eax + 0x50], 0xdc
mov ecx, dword [edi + 0x110]
call fcn.00457f00
lea ecx, [ebp - 0x60]
mov dword [edi + 0x10c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004538d0
jmp 0x5137a7
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5136e7
sub esi, ecx
lea ecx, [ebp - 0x60]
call fcn.004538c0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
push 0x3f
mov ecx, 0x701358
call fcn.0045dde0
push 0xf83232
jmp 0x513697
lea ecx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x513720
sub esi, ecx
lea ecx, [ebp - 0x60]
call fcn.004538c0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 2
push eax
push 0x3f
mov ecx, 0x701358
call fcn.0045dde0
push 0x4dc025
jmp 0x513697
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x513757
sub esi, ecx
add esi, 2
push 0xb4464646
lea eax, [ebp - 0x40]
mov ecx, 0x700bb8
push eax
push esi
lea eax, [edi + 0x38]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.00450710
mov eax, dword [edi + 0x7c]
mov ecx, 0x700bb8
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.00450710
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 [0x5b5f24]
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 0x51386f
mov esi, ecx
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x513800
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, 0x700bb8
call fcn.00450710
mov eax, dword [edi + 0x7c]
mov ecx, 0x700bb8
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.00450710
movss xmm1, dword [0x5b5f24]
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 0x51391a
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5138b8
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, 0x700bb8
call fcn.00450710
mov eax, dword [edi + 0x7c]
mov ecx, 0x700bb8
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.00450710
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [edi + 0xba], 0
lea ecx, [edi + 0xba]
je 0x5139a1
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 0x513951
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, 0x700bb8
call fcn.00450710
mov eax, dword [edi + 0x7c]
mov ecx, 0x700bb8
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.00450710
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 0x513a43
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5139e1
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, 0x700bb8
call fcn.00450710
mov eax, dword [edi + 0x7c]
mov ecx, 0x700bb8
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.00450710
mov edx, dword [ebp + 8]
add ebx, 0xf
cmp byte [edi + 0x1e8], 0
je 0x513ac0
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 0x513a80
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, 0x700bb8
call fcn.004507f0
cmp byte [edi + 0x15c], 0
lea ecx, [edi + 0x15c]
je 0x513e05
push ecx
lea ecx, [ebp - 0xd8]
add ebx, 5
call fcn.004072c0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 4], 3
test eax, eax
je 0x513ded
xor esi, esi
lea esp, [esp]
cmp esi, eax
jae 0x513ded
push 1
push esi
lea eax, [ebp - 0xdc]
mov byte [ebp - 0xdc], 0x40
push eax
lea ecx, [ebp - 0xd8]
call fcn.00446490
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.00446490
cmp dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], eax
jl 0x513c9b
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.004503d0
push esi
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd8]
call fcn.004503d0
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 0x513c59
cmp eax, 7
ja 0x513c59
push 8
push dword [edi + 0x180]
inc eax
mov dword [ebp - 0x14], 0x3f800000
push eax
mov ecx, 0x701358
mov dword [ebp - 0x18], 0x3f800000
call fcn.0045dde0
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 [0x5b6310]
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.00453910
add esi, 2
cmp dword [ebp - 0x74], 0x10
jb 0x513c70
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 0x513dde
push dword [ebp - 0x58]
jmp 0x513dd6
test eax, eax
js 0x513dde
push 3
inc eax
lea ecx, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004503d0
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.004503d0
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 0x513da0
cmp eax, 7
ja 0x513da0
push 8
push dword [edi + 0x180]
add eax, 8
mov dword [ebp - 0x24], 0x3f800000
push eax
mov ecx, 0x701358
mov dword [ebp - 0x28], 0x3f800000
call fcn.0045dde0
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 [0x5b6310]
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.00453910
add esi, 2
cmp dword [ebp - 0x44], 0x10
jb 0x513db4
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 0x513dde
push dword [ebp - 0x88]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
js 0x513ded
mov eax, dword [ebp - 0xc8]
jmp 0x513b00
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.004073c0
lea ecx, [edi + 0x15c]
cmp byte [edi + 0x130], 0
je 0x513e86
cmp byte [ecx], 0
jne 0x513e18
add ebx, 0xe
jmp 0x513e1b
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 0x513e48
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, 0x700bb8
push eax
push 0xe
call fcn.004507f0
cmp byte [edi + 0x1b4], 0
lea ecx, [edi + 0x1b4]
je 0x513f21
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 0x513ed0
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, 0x700bb8
call fcn.00450710
dec dword [ebp - 0x30]
lea eax, [ebp - 0x30]
dec dword [ebp - 0x2c]
mov ecx, 0x700bb8
push 0xb4ffffff
push eax
push esi
lea eax, [edi + 0x1b4]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.00450710
add ebx, 5
jmp 0x513f24
add ebx, 2
cmp dword [edi + 4], 0
je 0x5141c0
lea ecx, [ebp - 0x60]
inc ebx
call fcn.004538c0
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 8
mov dword [ebp - 0x5c], 0
call fcn.004538c0
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 0x513f95
push 8
lea eax, [ebp - 0x60]
mov ecx, 0x701358
push eax
push 0x1d
call fcn.0045dde0
push 8
lea eax, [ebp - 0x90]
push eax
push 0x6b
jmp 0x513fb7
cmp dword [edi + 0x188], eax
je 0x513fa7
push 8
lea eax, [ebp - 0x60]
push eax
push 0x1e
jmp 0x513fb7
cmp dword [edi + 0x18c], eax
je 0x513fc1
push 8
lea eax, [ebp - 0x60]
push eax
push 0x1f
mov ecx, 0x701358
call fcn.0045dde0
lea eax, [edi + 0x190]
xor esi, esi
mov dword [ebp - 0xe4], eax
nop
cmp dword [eax], 0
je 0x51400d
push 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0xe0], 1
push eax
push 0x20
mov ecx, 0x701358
call fcn.0045dde0
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x20]
push 0x5c3080
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 0x513fd0
cmp dword [ebp - 0x5c], 0
mov esi, dword [ebp + 0xc]
je 0x51408d
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.00453910
cmp dword [ebp - 0x8c], 0
je 0x514105
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.00453910
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x5141a2
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 [0x5c30a0]
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 0x514156
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, 0x700bb8
push eax
call fcn.00450710
dec dword [ebp - 0x30]
lea eax, [ebp - 0x30]
dec dword [ebp - 0x2c]
mov ecx, 0x700bb8
push 0xb4ffffff
push eax
push esi
lea eax, [ebp - 0x20]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.00450710
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.004538d0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.004538d0
cmp dword [0x70ea00], 0
jne 0x5142fd
cmp word [edi + 0x114], 0
je 0x5143b6
mov eax, dword [0x70797c]
mov al, byte [eax + 0x518]
test al, al
jne 0x5143b6
mov eax, dword [edi + 0x124]
add ebx, 0x14
test eax, eax
je 0x5143b6
cmp dword [eax + 4], 1
jle 0x51426d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x11c]
jb 0x51426d
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 0x514245
mov dword [edi + 0x120], 1
cmp dword [edi + 0x120], 0
jne 0x514259
lea eax, [ecx + 1]
mov dword [edi + 0x118], eax
jmp 0x51426d
mov dword [edi + 0x118], 0
mov dword [edi + 0x120], 0
lea ecx, [ebp - 0x60]
call fcn.004538c0
mov edx, dword [edi + 0x118]
lea eax, [ebp - 0x60]
push 0
push eax
mov eax, dword [edi + 0x124]
mov ecx, 0x701358
mov dword [ebp - 4], 0xa
add edx, dword [eax + 8]
push edx
call fcn.0045dde0
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.00453910
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.004538d0
jmp 0x5143b6
cmp byte [edi + 0x204], 0
lea esi, [edi + 0x204]
je 0x5143b6
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 0x514340
add edx, dword [ebp + 8]
sub ecx, ebx
mov eax, dword [0x70797c]
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 0x514385
test dl, dl
je 0x514381
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x514385
add ecx, 2
add eax, 2
test dl, dl
jne 0x514365
xor ecx, ecx
jmp 0x51438a
sbb ecx, ecx
or ecx, 1
test ecx, ecx
mov edx, 0xff0000
push 0xb40a0a0a
mov eax, 0xffffff
mov ecx, 0x700bb8
cmove eax, edx
or eax, 0xc8000000
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 3
call fcn.004507f0
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.0059978a
mov esp, ebp
pop ebp
ret 8