Function at 0x100068e0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e7f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x1004b0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x1005b2f4]
mov ecx, dword [ebx + 8]
mov edi, dword [0x1005b0c8]
mov edx, dword [0x1005b2f8]
cmp byte [esi + 0x340], 0
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x44], edi
je 0x10006968
cmp dword [edx + 0x18dc], 0
je 0x10006968
lea ecx, [edx + 0x18cc]
call fcn.1000a430
mov edx, dword [0x1005b2f8]
mov esi, dword [0x1005b2f4]
mov ecx, dword [ebp - 0x64]
movss xmm0, dword [edx + 0x60]
subss xmm0, dword [edi + 0x45c]
call fcn.10001d20
comiss xmm0, dword [0x10046020]
jbe 0x1000698d
mov dword [edi + 0x45c], 0
cmp dword [edi + 0x454], 0
jle 0x100069be
mov eax, dword [edx + 0x48]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x6c]
mov byte [eax], 1
mov eax, 1
dec dword [edi + 0x454]
jmp 0x10006a43
mov eax, dword [edi + 0x460]
test eax, eax
jle 0x10006a63
dec eax
mov dword [edi + 0x460], eax
and dword [ecx + 0x30], 0xfffff9e7
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov eax, dword [edx + 0x6c]
mov byte [eax], 0
cmp dword [edi + 0x460], 0
jne 0x10006a41
mov ecx, dword [edx + 0x98]
mov word [edx + 0xa1], pe_nt_image_headers32
mov eax, dword [esi + 0x3a0]
cmp eax, ecx
movss xmm0, dword [edi + 0x464]
cmovl ecx, eax
mov eax, dword [0x1005b358]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10045fc0]
cvttss2si eax, xmm0
cmp eax, ecx
cmovl ecx, eax
mov dword [edx + 0x9c], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003d53a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10006a41
cmp byte [esi + 0x2b5], 0
je 0x10006a41
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1000913a
mov eax, dword [eax + 0xc8]
cmp eax, 9
je 0x1000913a
test eax, eax
je 0x1000913a
cmp eax, 7
je 0x1000913a
movss xmm1, dword [0x100460ec]
lea eax, [edi + 0x410]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov byte [eax + 0x34], 0
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x1c]
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x84], eax
movss xmm0, dword [ebp - 0x84]
comiss xmm1, xmm0
movss xmm1, dword [0x10046110]
jb 0x10006b4f
movss xmm0, dword [0x100460e8]
jmp 0x10006b57
comiss xmm0, xmm1
jbe 0x10006b57
movaps xmm0, xmm1
mov eax, dword [esi + 0xc]
movss xmm2, dword [ebp - 0x8c]
movss xmm1, dword [ebp - 0x88]
addss xmm2, dword [eax + ecx]
addss xmm1, dword [eax + ecx + 4]
addss xmm0, dword [eax + ecx + 8]
mov eax, dword [0x1005b31c]
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
movss dword [edi + 0x430], xmm2
movss dword [edi + 0x434], xmm1
movss dword [edi + 0x438], xmm0
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x7c], xmm1
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x80], xmm0
movss dword [ebp - 0x84], xmm0
cmp dword [eax + 0x14], ecx
jbe 0x100085a2
mov dword [ebp - 0xa8], 1
nop dword [eax]
mov edx, dword [0x1005b31c]
mov esi, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
add esi, ecx
mov ecx, esi
dec eax
shr ecx, 2
and esi, 3
and ecx, eax
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + esi*4]
mov esi, dword [0x1005b2f4]
test edi, edi
je 0x10008584
mov ecx, dword [edi]
test ecx, ecx
je 0x10008584
mov eax, dword [esi + 8]
cmp dword [ecx + eax], 0
jle 0x10008584
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1000857e
cmp byte [edi + 0x3f31], al
jne 0x1000857e
mov esi, dword [0x1005b2f4]
mov eax, dword [edi]
mov ecx, dword [esi + 0x64]
cmp byte [ecx + eax], 0
jne 0x10008584
mov edx, dword [edi + 0x3f58]
mov eax, edx
mov ecx, dword [edi + 0x3f54]
sub eax, ecx
cmp eax, 4
jb 0x10006c7a
cmp ecx, edx
je 0x10006c7a
mov dword [edi + 0x3f58], ecx
mov eax, dword [0x1005b2f8]
movss xmm1, dword [edi + 0x1fd0]
movss xmm2, dword [edi + 0x1fcc]
mov esi, dword [eax + 0x14]
mov eax, dword [0x1005b2f4]
add esi, dword [eax + 0xc]
subss xmm1, dword [esi + 4]
subss xmm2, dword [esi]
movaps xmm0, xmm1
movss dword [ebp - 0x34], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x28], xmm2
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [edi + 0x1fd4]
subss xmm1, dword [esi + 8]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x34]
divss xmm0, dword [ebp - 0x28]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0x1c], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x28]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0x20], xmm1
jb 0x10006d36
addss xmm1, dword [0x10046164]
movss dword [ebp - 0x20], xmm1
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001fe0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x10045f58]
movss dword [ebp - 0x34], xmm0
call fcn.10001d40
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x34]
call fcn.10001d00
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [0x10045f58]
movss dword [ebp - 0x34], xmm0
call fcn.10001d40
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x34]
call fcn.10001d00
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x10045f58]
movss dword [ebp - 0x34], xmm0
call fcn.10001d40
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x34]
call fcn.10001d00
movss xmm5, dword [ebp - 0x50]
movaps xmm7, xmm0
mulss xmm0, dword [0x100461c8]
movaps xmm2, xmm5
movss xmm3, dword [ebp - 0x40]
xorps xmm2, xmmword [0x10046220]
movaps xmm1, xmm3
mulss xmm1, dword [ebp - 0x28]
movaps xmm4, xmm2
mulss xmm4, xmm0
movss dword [ebp - 0x3c], xmm0
movaps xmm0, xmm1
mulss xmm1, xmm5
movss dword [ebp - 0x38], xmm4
movss xmm4, dword [ebp - 0x58]
movss xmm6, dword [ebp - 0x38]
mulss xmm0, xmm4
mulss xmm2, xmm3
subss xmm6, xmm0
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, xmm4
subss xmm0, xmm1
movss dword [ebp - 0x38], xmm6
movaps xmm1, xmm3
mulss xmm3, xmm4
mulss xmm1, dword [0x100461c8]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x30]
mulss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [ebp - 0x28]
mulss xmm7, xmm0
movss xmm0, dword [ebp - 0x3c]
movaps xmm6, xmm1
mulss xmm1, xmm5
mulss xmm0, xmm0
subss xmm1, xmm3
mulss xmm6, xmm4
movss dword [ebp - 0x50], xmm7
subss xmm6, xmm2
movss dword [ebp - 0x40], xmm1
movss xmm1, dword [ebp - 0x38]
mulss xmm1, xmm1
movss dword [ebp - 0x58], xmm6
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x30]
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
addss xmm0, dword [0x10045f40]
movss xmm1, dword [0x10045fe0]
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, xmm1
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm1
movss xmm1, dword [ebp - 0x58]
mulss xmm1, xmm1
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x50]
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
addss xmm0, dword [0x10045f40]
movss xmm1, dword [0x10045fe0]
mov eax, dword [edi + 0x1fd4]
movss xmm7, dword [ebp - 0x58]
movss xmm6, dword [ebp - 0x40]
divss xmm1, xmm0
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x24]
add eax, 9
lea eax, [eax + eax*2]
add eax, eax
movss xmm0, dword [ebp - 0x50]
mulss xmm0, xmm1
mulss xmm7, xmm1
mulss xmm6, xmm1
movss xmm1, dword [edi + eax*8 + 0x2c]
subss xmm1, dword [ebp - 0xc4]
mov eax, dword [0x1005b2f8]
movss dword [ebp - 0x50], xmm0
movq xmm0, qword [edi + 0x1fcc]
movq qword [ebp - 0xcc], xmm0
mulss xmm1, dword [0x10045fc0]
mov cl, byte [eax + 0xc0]
movss xmm0, dword [eax + 0x68]
and cl, 1
comiss xmm0, dword [edi + 0x78]
addss xmm1, dword [ebp - 0xc4]
movss dword [ebp - 0x58], xmm7
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0xa4], xmm1
jbe 0x10007185
movss xmm2, dword [0x100461cc]
movss xmm1, dword [0x10046094]
movaps xmm0, xmm2
mov byte [edi + 0x74], 0
movss dword [ebp - 0x34], xmm0
nop word [eax + eax]
movss xmm3, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x3c]
movss xmm5, dword [ebp - 0x30]
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
movss xmm0, dword [0x100460f4]
movss dword [ebp - 0x68], xmm3
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x18], xmm5
movss dword [ebp - 0x28], xmm2
mov al, cl
xor cl, 1
mov byte [ebp - 0x29], cl
test al, al
je 0x100070c7
movaps xmm0, xmm3
lea eax, [ebp - 0xc0]
addss xmm0, dword [ebp - 0xcc]
movaps xmm1, xmm7
mulss xmm1, xmm2
push eax
lea eax, [ebp - 0x8c]
push eax
addss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0xc8]
push dword [ebp - 0x5c]
movss dword [ebp - 0xc0], xmm1
movaps xmm1, xmm6
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 0xbc], xmm1
movss xmm1, dword [ebp - 0x50]
mulss xmm1, xmm2
addss xmm1, xmm0
movss dword [ebp - 0xb8], xmm1
call fcn.1000edc0
ucomiss xmm0, dword [0x10045f3c]
lahf
test ah, 0x44
jp 0x100070db
movss xmm2, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x68]
movss xmm4, dword [ebp - 0x48]
movss xmm5, dword [ebp - 0x18]
movss xmm6, dword [ebp - 0x40]
movss xmm7, dword [ebp - 0x58]
movss xmm1, dword [0x10046094]
movss xmm0, dword [0x100460f4]
mov cl, byte [ebp - 0x29]
addss xmm2, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x28], xmm2
jae 0x10007007
jmp 0x10007143
mov eax, dword [0x1005b2f4]
cmp byte [eax + 0x348], 0
je 0x100070f3
mov dword [eax + 0x308], 0x3f70a3d7
mov eax, dword [0x1005b2f8]
movss xmm1, dword [0x10046094]
movss xmm0, dword [eax + 0x68]
addss xmm0, dword [0x10046058]
movss dword [edi + 0x78], xmm0
movss xmm0, dword [ebp - 0xc0]
movss dword [edi + 0x7c], xmm0
movss xmm0, dword [ebp - 0xbc]
movss dword [edi + 0x80], xmm0
movss xmm0, dword [ebp - 0xb8]
movss dword [edi + 0x84], xmm0
mov byte [edi + 0x74], 1
mov al, byte [edi + 0x74]
test al, al
jne 0x10007185
movss xmm0, dword [ebp - 0x34]
movss xmm2, dword [0x100460f4]
addss xmm0, xmm1
movss xmm6, dword [ebp - 0x40]
movss xmm7, dword [ebp - 0x58]
mov cl, byte [ebp - 0x29]
comiss xmm2, xmm0
movss xmm2, dword [0x100461cc]
movss dword [ebp - 0x34], xmm0
jae 0x10006fd0
test al, al
jne 0x10007185
mov byte [edi + 0x75], al
cmp byte [edi + 0x74], 0
mov esi, dword [0x1005b2f4]
je 0x10008584
mov ecx, dword [esi + 0x10]
mov eax, dword [edi]
mov dl, byte [ecx + eax]
and dl, 1
cmp dword [edi + 0x20], 0
mov byte [ebp - 0x29], dl
je 0x10008584
mov ecx, dword [edi + 0x3f34]
cmp ecx, 0xffffffff
je 0x10008584
mov eax, dword [edi + 0x1c]
add eax, ecx
mov dword [ebp - 0x30], 0
mov ecx, dword [edi + 0x18]
dec ecx
mov dword [ebp - 0x6c], 0
and ecx, eax
mov dword [ebp - 0x70], 0
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x74], 0
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x3c], eax
test dl, dl
je 0x10007c8d
xor ecx, ecx
call fcn.100037e0
test al, al
je 0x1000732f
cmp byte [edi + 0x75], 0
jne 0x1000732f
movss xmm1, dword [edi + 0x1ff4]
movss xmm0, dword [edi + 0x1ff0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
comiss xmm0, dword [0x1004614c]
jb 0x1000732f
mov eax, dword [edi + 0x24]
movss xmm0, dword [edi + 0x1fcc]
add eax, 9
subss xmm0, dword [edi + 0x3ec4]
mov esi, dword [ebp - 0x5c]
lea eax, [eax + eax*2]
add eax, eax
movss xmm1, dword [edi + eax*8 + 0xc]
movss xmm2, dword [edi + eax*8 + 0x1c]
addss xmm0, xmm1
movss xmm3, dword [edi + eax*8 + 0x2c]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x8c]
movss dword [ebp - 0x108], xmm1
push eax
movss dword [ebp - 0x114], xmm0
movss xmm0, dword [edi + 0x1fd0]
subss xmm0, dword [edi + 0x3ec8]
push esi
movss dword [ebp - 0x104], xmm2
movss dword [ebp - 0x100], xmm3
addss xmm0, xmm2
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [edi + 0x1fd4]
subss xmm0, dword [edi + 0x3ecc]
addss xmm0, xmm3
movss dword [ebp - 0x10c], xmm0
call fcn.1000edc0
comiss xmm0, dword [0x10045fc4]
jb 0x1000732f
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
call fcn.1000edc0
ucomiss xmm0, dword [0x10045f3c]
lahf
test ah, 0x44
jp 0x1000732f
mov eax, dword [0x1005b2f8]
mov byte [edi + 0x74], 0
movss xmm0, dword [eax + 0x68]
addss xmm0, dword [edi + 0x90]
mov eax, dword [0x1005b358]
addss xmm0, dword [eax + 0x20]
movss dword [edi + 0x78], xmm0
jmp 0x1000857e
mov eax, dword [0x1005b2f4]
cmp dword [eax + 0x2c4], 0
jle 0x10007c8d
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x18], ecx
cmp ecx, 1
jbe 0x10007c8d
mov eax, ecx
mov dword [ebp - 0x34], ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x58], edx
nop word [eax + eax]
mov eax, dword [edi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x18]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x14]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], esi
cmp eax, dword [edi + 0x3f34]
je 0x10007a07
cmp byte [esi + 0x1edd], 0
je 0x100073a9
cmp byte [esi + 0x1edc], 0
je 0x10007a07
mov eax, dword [0x1005b2f4]
xor cl, cl
mov edx, dword [ebp - 0x40]
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x58], ecx
cmp dword [eax + 0x384], 3
ja case.default.0x100073cd
mov esi, dword [eax + 0x384]
jmp dword [esi*4 + 0x1000914c]
cmp byte [eax + 0x30c], 0
mov esi, dword [ebp - 0x38]
je 0x100073fa
cmp byte [esi + 0x1ed4], 0
jne 0x100073f6
cmp dword [esi + 0x1ee0], 0xfffffffe
jne 0x100073fa
test edx, edx
jne 0x100073fa
mov byte [ebp - 0x78], 1
cmp byte [eax + 0x30d], 0
je case.default.0x100073cd
test edx, edx
jne case.default.0x100073cd
mov byte [ebp - 0x58], 1
jmp case.default.0x100073cd
cmp byte [eax + 0x30c], 0
mov esi, dword [ebp - 0x38]
je 0x10007443
cmp byte [esi + 0x1ed4], 0
jne 0x1000743f
cmp dword [esi + 0x1ee0], 0xfffffffe
jne 0x10007443
test edx, edx
je 0x1000743f
cmp edx, dword [ebp - 0x50]
jne 0x10007443
mov byte [ebp - 0x78], 1
cmp byte [eax + 0x30d], 0
je case.default.0x100073cd
test edx, edx
je 0x1000745d
cmp edx, dword [ebp - 0x50]
jne case.default.0x100073cd
mov byte [ebp - 0x58], 1
jmp case.default.0x100073cd
mov esi, dword [ebp - 0x38]
test edx, edx
je 0x10007479
cmp edx, dword [ebp - 0x50]
je 0x10007479
xor cl, cl
mov byte [ebp - 0x49], cl
jmp 0x1000747d
mov byte [ebp - 0x49], 1
mov ecx, dword [ebp - 0x34]
cmp ecx, 4
jb 0x100074cf
cmp ecx, 5
ja 0x1000748e
mov cl, 1
jmp 0x100074d2
mov cl, byte [ebp - 0x18]
dec cl
and cl, 1
test edx, edx
je 0x1000748a
cmp edx, dword [ebp - 0x50]
je 0x1000748a
test cl, cl
mov ecx, edx
je 0x100074b4
and ecx, 0x80000001
jns 0x100074c2
dec ecx
or ecx, 0xfffffffe
inc ecx
jmp 0x100074c2
and ecx, 0x80000001
jns 0x100074c1
dec ecx
or ecx, 0xfffffffe
inc ecx
dec ecx
neg ecx
sbb ecx, ecx
inc ecx
test ecx, ecx
jne 0x1000748a
xor cl, cl
jmp 0x100074d2
mov cl, byte [ebp - 0x49]
cmp byte [eax + 0x30c], 0
je 0x100074f5
cmp byte [esi + 0x1ed4], 0
jne 0x100074f1
cmp dword [esi + 0x1ee0], 0xfffffffe
jne 0x100074f5
test cl, cl
je 0x100074f5
mov byte [ebp - 0x78], 1
cmp byte [eax + 0x30d], 0
je case.default.0x100073cd
test cl, cl
je case.default.0x100073cd
mov byte [ebp - 0x58], 1
jmp case.default.0x100073cd
cmp byte [eax + 0x30c], 0
mov esi, dword [ebp - 0x38]
je 0x1000752a
cmp byte [esi + 0x1ed4], 0
jne 0x10007526
cmp dword [esi + 0x1ee0], 0xfffffffe
jne 0x1000752a
mov byte [ebp - 0x78], 1
cmp byte [eax + 0x30d], 0
movzx ecx, cl
cmovne ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x58], ecx
cmp byte [eax + 0x30e], 0
mov esi, dword [ebp - 0x38]
je 0x10007561
mov ecx, dword [ebp - 0x78]
cmp byte [esi + 0x1edc], 0
movzx ecx, cl
cmovne ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x78], ecx
mov ecx, dword [eax + 8]
mov eax, dword [edi]
mov eax, dword [ecx + eax]
add eax, 2
cmp byte [ebp - 0x58], 0
mov dword [ebp - 0xa4], eax
jne 0x1000757e
cmp byte [ebp - 0x78], 0
je 0x10007588
push esi
push edi
call fcn.10012780
mov edx, dword [ebp - 0x40]
mov eax, dword [edi + 0x3f58]
lea ecx, [edi + 0x3f54]
cmp eax, dword [ecx + 8]
je 0x100075a1
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x100075b1
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.1000aff0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
cmp byte [ebp - 0x58], 0
je 0x100077f3
mov eax, dword [ebp - 0x3c]
movss xmm2, dword [esi + 0x1e8c]
movss xmm0, dword [esi + 0x1e90]
movss xmm1, dword [esi + 0x1e94]
subss xmm0, dword [eax + 0x1e90]
subss xmm2, dword [eax + 0x1e8c]
subss xmm1, dword [eax + 0x1e94]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10001d60
call fcn.10001d20
comiss xmm0, dword [0x1004608c]
jbe 0x100077f3
mov eax, dword [edi + 0x30]
add esi, 0x70
je 0x1000763f
cmp eax, 0x7f
ja 0x1000763f
lea eax, [eax + eax*2]
add eax, eax
movss xmm2, dword [esi + eax*8 + 0xc]
movss xmm1, dword [esi + eax*8 + 0x1c]
movss xmm3, dword [esi + eax*8 + 0x2c]
jmp 0x10007648
xorps xmm3, xmm3
xorps xmm1, xmm1
xorps xmm2, xmm2
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0x34], xmm3
movss dword [eax + 0x44c], xmm1
movss dword [eax + 0x448], xmm2
movss dword [eax + 0x450], xmm3
mov eax, dword [edi + 0x28]
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x38]
add esi, esi
subss xmm1, dword [eax + esi*8 + 0x8c]
subss xmm2, dword [eax + esi*8 + 0x7c]
movaps xmm0, xmm1
movss dword [ebp - 0x48], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x28], xmm2
addss xmm0, xmm1
call fcn.10001d60
mov eax, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x34]
subss xmm1, dword [eax + esi*8 + 0x9c]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [ebp - 0x48]
divss xmm0, dword [ebp - 0x28]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0xd0], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x28]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0xd4], xmm1
jb 0x10007725
addss xmm1, dword [0x10046164]
movss dword [ebp - 0xd4], xmm1
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0xd8]
call fcn.10001fe0
movss xmm1, dword [eax]
addss xmm1, dword [0x10046130]
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x6c], xmm0
comiss xmm1, dword [0x10046164]
movss dword [ebp - 0x68], xmm1
ja 0x10007772
movss xmm0, dword [0x100461d4]
comiss xmm0, xmm1
jbe 0x100077bd
movaps xmm0, xmm1
divss xmm0, dword [0x10046188]
call fcn.10001d20
movss dword [ebp - 0x48], xmm0
fld dword [ebp - 0x48]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x68]
xorps xmm0, xmm0
fstp dword [ebp - 0x34]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x10046188]
jbe 0x100077b9
addss xmm1, xmm0
jmp 0x100077bd
subss xmm1, xmm0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x6c]
push 0
push 0xf
push 3
sub esp, 0xc
movss dword [ebp - 0x74], xmm1
movq xmm0, qword [ebp - 0x74]
mov ecx, esp
push esi
push edi
push dword [ebp - 0x5c]
movq qword [ecx], xmm0
push dword [ebp - 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x44]
call fcn.10004a40
or dword [ebp - 0x30], 1
cmp byte [ebp - 0x78], 0
je 0x10007a04
mov ecx, dword [edi]
lea eax, [esi + 0x70]
push 0
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.1001ade0
mov ecx, dword [ebp - 0x44]
movss xmm1, dword [eax]
movss dword [ecx + 0x448], xmm1
movss xmm0, dword [eax + 4]
movss dword [ecx + 0x44c], xmm0
movss xmm2, dword [eax + 8]
movss dword [ecx + 0x450], xmm2
mov eax, dword [edi + 0x28]
movss dword [ebp - 0x48], xmm2
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x38]
add esi, esi
movss xmm3, dword [eax + esi*8 + 0x7c]
movss xmm2, dword [eax + esi*8 + 0x8c]
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm1, xmm3
movss dword [ebp - 0x34], xmm3
movaps xmm0, xmm2
mulss xmm1, xmm3
mulss xmm0, xmm2
movss dword [ebp - 0x68], xmm2
addss xmm0, xmm1
call fcn.10001d60
mov eax, dword [ebp - 0x38]
movss xmm1, dword [eax + esi*8 + 0x9c]
subss xmm1, dword [ebp - 0x48]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [ebp - 0x68]
divss xmm0, dword [ebp - 0x34]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0xdc], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0xe0], xmm1
jb 0x10007904
addss xmm1, dword [0x10046164]
movss dword [ebp - 0xe0], xmm1
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0xe4]
call fcn.10001fe0
movss xmm1, dword [eax]
addss xmm1, dword [0x10046114]
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x6c], xmm0
comiss xmm1, dword [0x10046164]
movss dword [ebp - 0x68], xmm1
ja 0x10007951
movss xmm0, dword [0x100461d4]
comiss xmm0, xmm1
jbe 0x1000799c
movaps xmm0, xmm1
divss xmm0, dword [0x10046188]
call fcn.10001d20
movss dword [ebp - 0x48], xmm0
fld dword [ebp - 0x48]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x68]
xorps xmm0, xmm0
fstp dword [ebp - 0x34]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x10046188]
jbe 0x10007998
addss xmm1, xmm0
jmp 0x1000799c
subss xmm1, xmm0
mov eax, dword [ebp - 0x6c]
push 1
push 0x1f
push 0
sub esp, 0xc
movss dword [ebp - 0x74], xmm1
movq xmm0, qword [ebp - 0x74]
mov ecx, esp
push dword [ebp - 0x38]
movq qword [ecx], xmm0
push edi
push dword [ebp - 0x5c]
mov dword [ecx + 8], eax
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
call fcn.10004a40
movd xmm1, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
or esi, 2
mov dword [ebp - 0x30], esi
comiss xmm0, xmm1
jb 0x100079ff
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x1ed4], 0
jne 0x100079ff
cmp dword [eax + 0x1ee0], 0xfffffffe
jne 0x10007c66
mov edx, dword [ebp - 0x40]
jmp 0x10007a0a
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
mov eax, dword [edi + 0x20]
inc edx
mov ecx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], edx
cmp ecx, eax
jb 0x10007370
mov ecx, 1
mov dword [ebp - 0x40], esi
call fcn.100037e0
test al, al
je 0x10007c86
movss xmm1, dword [edi + 0x1ff4]
movss xmm0, dword [edi + 0x1ff0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [0x10045f78]
mov eax, esi
comiss xmm1, xmm0
jbe 0x10007c89
mov eax, dword [0x1005b31c]
movss xmm1, dword [eax + 0x1fcc]
movss xmm0, dword [eax + 0x1fc8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
comiss xmm0, dword [0x1004610c]
mov eax, esi
jbe 0x10007c89
movss xmm0, dword [edi + 0xc0]
subss xmm0, dword [edi + 0xc4]
mov eax, dword [0x1005b358]
mov edx, dword [0x1005b2f8]
mov dword [ebp - 0x40], esi
divss xmm0, dword [eax + 0x20]
mov eax, 0xe
sub eax, dword [edx + 0x70]
addss xmm0, dword [0x10045fc0]
cvttss2si ecx, xmm0
cmp ecx, eax
jg 0x10007c86
movss xmm0, dword [edi + 0x1fe4]
mulss xmm0, dword [0x10045f58]
movss dword [ebp - 0x18], xmm0
call fcn.10001d40
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x18]
call fcn.10001d00
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x144]
mulss xmm0, dword [0x10045f58]
movss dword [ebp - 0x18], xmm0
call fcn.10001d40
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x18]
call fcn.10001d00
movss xmm1, dword [ebp - 0x28]
movaps xmm2, xmm0
mulss xmm1, dword [ebp - 0x48]
mulss xmm2, dword [ebp - 0x48]
movss xmm3, dword [ebp - 0x50]
movaps xmm0, xmm1
xorps xmm3, xmmword [0x10046220]
mulss xmm0, xmm1
movss dword [ebp - 0x28], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x50], xmm3
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10001d60
addss xmm0, dword [0x10045f40]
movss xmm1, dword [0x10045fe0]
lea eax, [ebp - 0xb4]
movss xmm2, dword [0x100460d0]
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x40], esi
divss xmm1, xmm0
push eax
mov eax, dword [0x1005b2f8]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
push dword [eax + 0x18]
mulss xmm0, xmm2
addss xmm0, dword [ebp - 0x9c]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0x50]
mulss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, dword [ebp - 0x80]
movss dword [ebp - 0xac], xmm0
call fcn.1000edc0
ucomiss xmm0, dword [0x10045f3c]
lahf
test ah, 0x44
jnp 0x10007c86
mov ecx, dword [0x1005b358]
mov eax, esi
movss xmm1, dword [edi + 0xc0]
subss xmm1, dword [edi + 0xc4]
movss xmm0, dword [ecx + 0x20]
mulss xmm0, dword [0x10046088]
comiss xmm0, xmm1
jb 0x10007c89
mov eax, dword [0x1005b2f8]
mov byte [edi + 0x74], 0
subss xmm1, dword [ecx + 0x20]
addss xmm1, dword [eax + 0x68]
movss dword [edi + 0x78], xmm1
jmp 0x1000857e
mov eax, dword [edi + 0x3f34]
mov ecx, dword [edi + 0x18]
add eax, dword [edi + 0x1c]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x14]
push dword [eax + ecx*4]
push edi
call fcn.10012e30
jmp 0x1000857e
mov eax, dword [ebp - 0x40]
test al, 2
jne 0x10007ca0
mov eax, dword [ebp - 0x60]
movss xmm0, dword [eax]
subss xmm0, dword [0x1004608c]
movss dword [eax], xmm0
mov ecx, dword [ebp - 0x3c]
push ecx
push edi
call fcn.10012780
movss xmm1, dword [edi + 0x1ff4]
movss xmm0, dword [edi + 0x1ff0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
mov ecx, dword [ebp - 0x3c]
xor esi, esi
add ecx, 0x70
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], esi
nop
mov eax, dword [edi + esi*4 + 0x24]
test ecx, ecx
je 0x10007d06
cmp eax, 0x7f
ja 0x10007d06
lea eax, [eax + eax*2]
add eax, eax
movss xmm0, dword [ecx + eax*8 + 0xc]
movss xmm1, dword [ecx + eax*8 + 0x1c]
movss xmm2, dword [ecx + eax*8 + 0x2c]
jmp 0x10007d0f
xorps xmm0, xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov eax, dword [ebp - 0x44]
movss dword [eax + 0x448], xmm0
movss dword [eax + 0x44c], xmm1
movss dword [eax + 0x450], xmm2
cmp esi, 0x13
ja case.0x10007d3a.1
movzx eax, byte [esi + 0x10009184]
jmp dword [eax*4 + 0x1000915c]
push 0
push ecx
mov ecx, dword [edi]
lea eax, [ebp - 0x1f0]
push eax
call fcn.1001ade0
mov edx, dword [ebp - 0x44]
mov ecx, eax
mov eax, dword [ecx]
mov dword [edx + 0x448], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x44c], eax
mov eax, dword [ecx + 8]
xor ecx, ecx
mov dword [edx + 0x450], eax
call fcn.10003180
test al, al
je 0x10007f6e
mov ecx, 1
call fcn.10003e40
test al, al
je 0x10007d9e
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x1edd], 0
jne 0x10007f6e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x10007db6
cmp byte [ebp - 0x29], 0
je 0x10007f6e
mov edx, dword [ebp - 0x3c]
cmp byte [edx + 0x1edd], 0
je 0x10007dcf
cmp byte [edx + 0x1edc], 0
je 0x10007f6e
mov eax, dword [edi + 0x28]
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x44]
add esi, esi
movss xmm1, dword [edx + esi*8 + 0x8c]
subss xmm1, dword [eax + 0x44c]
movss xmm2, dword [edx + esi*8 + 0x7c]
subss xmm2, dword [eax + 0x448]
movaps xmm0, xmm1
movss dword [ebp - 0x18], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x34], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10001d60
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
movss xmm1, dword [ecx + esi*8 + 0x9c]
subss xmm1, dword [eax + 0x450]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [ebp - 0x34]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0xe8], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0xec], xmm1
jb 0x10007ea2
addss xmm1, dword [0x10046164]
movss dword [ebp - 0xec], xmm1
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0xf0]
call fcn.10001fe0
movss xmm1, dword [eax]
addss xmm1, dword [0x10046114]
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x6c], xmm0
comiss xmm1, dword [0x10046164]
movss dword [ebp - 0x48], xmm1
ja 0x10007eef
movss xmm0, dword [0x100461d4]
comiss xmm0, xmm1
jbe 0x10007f3a
movaps xmm0, xmm1
divss xmm0, dword [0x10046188]
call fcn.10001d20
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x48]
xorps xmm0, xmm0
fstp dword [ebp - 0x34]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x10046188]
jbe 0x10007f36
addss xmm1, xmm0
jmp 0x10007f3a
subss xmm1, xmm0
push 0
push 0x1f
push 0
mov eax, dword [ebp - 0x6c]
sub esp, 0xc
mov ecx, esp
movss dword [ebp - 0x74], xmm1
movq xmm0, qword [ebp - 0x74]
push dword [ebp - 0x3c]
movq qword [ecx], xmm0
push edi
push dword [ebp - 0x5c]
mov dword [ecx + 8], eax
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
call fcn.10004a40
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
inc esi
jmp 0x10007cdb
mov ecx, 1
call fcn.10003180
test al, al
je 0x1000856e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x10007fa1
cmp byte [ebp - 0x29], 0
je 0x1000856e
mov ecx, 1
call fcn.10003e40
mov edx, dword [ebp - 0x3c]
test al, al
je 0x10007fbf
cmp byte [edx + 0x1edd], 0
jne 0x1000856e
cmp esi, 6
jne 0x10008147
mov eax, dword [edi + 0x28]
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x44]
add esi, esi
movss xmm1, dword [eax + 0x44c]
subss xmm1, dword [edx + esi*8 + 0x8c]
movss xmm2, dword [eax + 0x448]
subss xmm2, dword [edx + esi*8 + 0x7c]
movaps xmm0, xmm1
movss dword [ebp - 0x18], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x34], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10001d60
mov eax, dword [ebp - 0x44]
movss xmm1, dword [eax + 0x450]
mov eax, dword [ebp - 0x3c]
subss xmm1, dword [eax + esi*8 + 0x9c]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0xfc], xmm0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [ebp - 0x34]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0xf4], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0xf8], xmm1
jb 0x1000809b
addss xmm1, dword [0x10046164]
movss dword [ebp - 0xf8], xmm1
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0xfc]
call fcn.10001fe0
movss xmm1, dword [eax]
addss xmm1, dword [0x10046130]
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x6c], xmm0
comiss xmm1, dword [0x10046164]
movss dword [ebp - 0x48], xmm1
ja 0x100080e8
movss xmm0, dword [0x100461d4]
comiss xmm0, xmm1
jbe 0x1000813c
movaps xmm0, xmm1
divss xmm0, dword [0x10046188]
call fcn.10001d20
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x48]
xorps xmm0, xmm0
fstp dword [ebp - 0x34]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x10046188]
jbe 0x10008138
push 0
push 0xf
addss xmm1, xmm0
push 6
jmp 0x10007f40
subss xmm1, xmm0
push 0
push 0xf
push 6
jmp 0x10007f40
mov dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
jmp 0x10008544
mov ecx, 2
call fcn.10003180
test al, al
je 0x1000856e
mov eax, dword [edi + 0x28]
mov ecx, dword [ebp - 0x3c]
lea esi, [eax + eax*2]
mov eax, dword [ebp - 0x44]
add esi, esi
movss xmm1, dword [eax + 0x44c]
subss xmm1, dword [ecx + esi*8 + 0x8c]
movss xmm2, dword [eax + 0x448]
subss xmm2, dword [ecx + esi*8 + 0x7c]
movaps xmm0, xmm1
movss dword [ebp - 0x18], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x34], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10001d60
mov eax, dword [ebp - 0x44]
movss xmm1, dword [eax + 0x450]
mov eax, dword [ebp - 0x3c]
subss xmm1, dword [eax + esi*8 + 0x9c]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [ebp - 0x34]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0x90], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0x94], xmm1
jb 0x10008244
addss xmm1, dword [0x10046164]
movss dword [ebp - 0x94], xmm1
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x98]
call fcn.10001fe0
movss xmm1, dword [eax]
addss xmm1, dword [0x10046130]
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x6c], xmm0
comiss xmm1, dword [0x10046164]
movss dword [ebp - 0x48], xmm1
ja 0x10008291
movss xmm0, dword [0x100461d4]
comiss xmm0, xmm1
jbe 0x100082e5
movaps xmm0, xmm1
divss xmm0, dword [0x10046188]
call fcn.10001d20
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x48]
xorps xmm0, xmm0
fstp dword [ebp - 0x34]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x10046188]
jbe 0x100082e1
push 0
push 0xf
addss xmm1, xmm0
push 3
jmp 0x10007f40
subss xmm1, xmm0
push 0
push 0xf
push 3
jmp 0x10007f40
mov ecx, 4
call fcn.10003180
test al, al
je 0x1000856e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x1000831a
cmp byte [ebp - 0x29], 0
je 0x1000856e
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x10046130]
ja 0x1000856e
push 0
push 0
push esi
sub esp, 0xc
mov dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov ecx, esp
push dword [ebp - 0x3c]
jmp 0x1000854f
mov ecx, 4
call fcn.10003180
test al, al
je 0x10007f6e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x10008378
cmp byte [ebp - 0x29], 0
je 0x10007f6e
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x10046130]
ja 0x10007f6e
push 0
push 0
mov dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
push 0xb
sub esp, 0xc
xorps xmm1, xmm1
mov ecx, esp
xorps xmm0, xmm0
unpcklps xmm0, xmm1
push dword [ebp - 0x3c]
movq qword [ecx], xmm0
push edi
push dword [ebp - 0x5c]
mov dword [ecx + 8], eax
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
call fcn.10004a40
mov ecx, dword [ebp - 0x30]
inc esi
jmp 0x10007cdb
mov ecx, 5
call fcn.10003180
test al, al
je 0x10007f6e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x100083fa
cmp byte [ebp - 0x29], 0
je 0x10007f6e
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x10046130]
ja 0x10007f6e
push 0
push 0
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
push 0xc
jmp 0x100083a0
mov ecx, 5
call fcn.10003180
test al, al
je 0x10007f6e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x10008451
cmp byte [ebp - 0x29], 0
je 0x10007f6e
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x10046130]
ja 0x10007f6e
push 0
push 0
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
push 0xd
jmp 0x100083a0
mov ecx, 3
call fcn.10003180
test al, al
je 0x1000856e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x100084a8
cmp byte [ebp - 0x29], 0
je 0x1000856e
mov ecx, 1
call fcn.10003e40
mov edx, dword [ebp - 0x3c]
test al, al
je 0x100084c6
cmp byte [edx + 0x1edd], 0
jne 0x1000856e
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x10046130]
ja 0x1000856e
mov dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
jmp 0x10008544
mov ecx, 3
call fcn.10003180
test al, al
je 0x1000856e
mov ecx, 2
call fcn.10003e40
test al, al
je 0x1000850c
cmp byte [ebp - 0x29], 0
je 0x1000856e
mov ecx, 1
call fcn.10003e40
mov edx, dword [ebp - 0x3c]
test al, al
je 0x10008526
cmp byte [edx + 0x1edd], 0
jne 0x1000856e
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x10046130]
ja 0x1000856e
mov dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
push 0
push 0
push esi
sub esp, 0xc
mov ecx, esp
push edx
push edi
push dword [ebp - 0x5c]
xorps xmm1, xmm1
xorps xmm0, xmm0
push dword [ebp - 0x60]
unpcklps xmm0, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x44]
call fcn.10004a40
mov ecx, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x38], esi
cmp esi, 0x14
jl 0x10007ce0
mov esi, dword [0x1005b2f4]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [0x1005b31c]
inc ecx
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [eax + 0x14]
jb 0x10006be0
mov edi, dword [ebp - 0x44]
mov eax, dword [esi + 0x2ec]
cmp eax, 1
je 0x100085f8
cmp eax, 3
jne 0x10008623
mov eax, dword [0x1005b31c]
movss xmm1, dword [eax + 0x1fcc]
movss xmm0, dword [eax + 0x1fc8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10001d60
mov eax, dword [ebp - 0x54]
movss xmm1, dword [eax + 0x130]
mulss xmm1, dword [0x10045fa8]
subss xmm1, dword [0x1004605c]
comiss xmm0, xmm1
jb 0x10008623
movss xmm0, dword [edi + 0x410]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10008626
cmp dword [edi + 0x440], 0
je 0x10008626
push dword [ebp - 0x64]
call fcn.1002dea0
mov esi, dword [0x1005b2f4]
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x410]
comiss xmm0, xmm1
jbe 0x10008694
cmp dword [edi + 0x440], 0
je 0x10008694
mov edx, dword [0x1005b2f8]
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x5c]
movss xmm0, dword [edx + 0x68]
comiss xmm0, dword [ecx + eax]
jb 0x10008694
comiss xmm0, dword [edi + 0x45c]
jb 0x10008694
cmp byte [esi + 0x355], 0
je 0x100086a4
mov eax, dword [ebp - 0x64]
test byte [eax + 0x30], 2
je 0x100086a4
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x14]
cmp byte [ecx + eax], 0
jne 0x100086a4
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x100086a4
call fcn.1001a960
test eax, eax
jle 0x1000869e
mov eax, dword [ebp - 0x64]
or dword [eax + 0x30], 0x800
mov eax, 4
jmp 0x10006a43
mov edx, dword [0x1005b2f8]
cmp byte [edi + 0x444], 0
movss xmm0, dword [edx + 0x20]
mov eax, dword [0x1005b358]
movss dword [ebp - 0x50], xmm0
subss xmm0, dword [eax + 0x20]
movss dword [edi + 0x464], xmm0
jne 0x100086da
push dword [edi + 0x43c]
push dword [edi + 0x440]
call fcn.10012780
lea eax, [ebp - 0x8c]
push eax
lea eax, [edi + 0x420]
push eax
mov eax, dword [edi + 0x440]
push dword [eax]
push dword [ebp - 0x5c]
call fcn.10005db0
cmp byte [edi + 0x444], 0
mov byte [ebp - 0x49], al
jne 0x10008735
mov edx, dword [edi + 0x440]
mov ecx, dword [edx + 0x3f34]
cmp ecx, 0xffffffff
je 0x10008728
mov eax, dword [edx + 0x1c]
add eax, ecx
mov ecx, dword [edx + 0x18]
dec ecx
and ecx, eax
mov eax, dword [edx + 0x14]
push dword [eax + ecx*4]
jmp 0x1000872f
lea eax, [edx + 0x140]
push eax
push edx
call fcn.10012e30
mov esi, dword [0x1005b2f4]
mov edx, dword [0x1005b2f8]
cmp dword [esi + 0x2ec], 2
jne 0x1000876a
mov ecx, dword [edx + 0x14]
mov eax, dword [esi + 0x10]
test byte [ecx + eax], 1
je 0x1000876a
push dword [ebp - 0x64]
call fcn.1002dea0
mov edx, dword [0x1005b2f8]
mov esi, dword [0x1005b2f4]
cmp byte [ebp - 0x49], 0
je 0x10008694
cmp byte [edx + 0xa2], 0
je 0x100087a7
mov eax, dword [edx + 0x6c]
mov byte [eax], 0
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [edi + 0x454], 2
jmp 0x100087aa
mov eax, dword [ebp - 0x64]
or dword [eax + 0x30], 1
cmp byte [esi + 0x326], 0
je 0x100087cb
mov eax, dword [0x1005b0cc]
cmp byte [eax + 3], 0
je 0x100087cb
cmp byte [esi + 0x404], 0
je 0x100087e4
cmp byte [edx + 0xa2], 0
jne 0x100087e4
mov eax, dword [edx + 0x6c]
mov byte [eax], 1
mov dword [edi + 0x454], 2
movss xmm1, dword [ebp - 0x7c]
subss xmm1, dword [edi + 0x424]
movss xmm2, dword [ebp - 0x9c]
subss xmm2, dword [edi + 0x420]
movaps xmm0, xmm1
movss dword [ebp - 0x7c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x9c], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [ebp - 0x80]
subss xmm1, dword [edi + 0x428]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x7c]
divss xmm0, dword [ebp - 0x9c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
movss xmm1, dword [ebp - 0x9c]
comiss xmm1, dword [0x10045f3c]
mov dword [ebp - 0x90], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0x94], xmm0
jb 0x100088a6
addss xmm0, dword [0x10046164]
movss dword [ebp - 0x94], xmm0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x98]
call fcn.10001fe0
mov ecx, eax
mov eax, dword [ecx]
mov dword [edi + 0x414], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x418], eax
mov eax, dword [ecx + 8]
mov ecx, dword [0x1005b2f4]
mov dword [edi + 0x41c], eax
mov eax, dword [0x1005b2f8]
mov esi, dword [esi + 0x58]
mov ecx, dword [ecx + 0x4d0]
add esi, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x54], eax
call dword [ebp - 0x54]
movss xmm3, dword [edi + 0x414]
movss xmm1, dword [edi + 0x418]
mov eax, dword [ebp - 0x64]
fstp dword [ebp - 0x54]
movss xmm2, dword [ebp - 0x54]
movaps xmm0, xmm2
mulss xmm0, dword [esi]
push 0
push ecx
mov ecx, dword [0x1005b310]
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + 4]
push eax
mulss xmm2, dword [esi + 8]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x41c]
movss dword [eax + 0xc], xmm3
subss xmm0, xmm2
movss dword [eax + 0x10], xmm1
movss dword [eax + 0x14], xmm0
call fcn.1002d040
mov ecx, dword [0x1005b2f8]
mov eax, dword [0x1005b2f4]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0xc]
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 0x6c]
movq qword [ebp - 0x98], xmm0
movq xmm0, qword [edi + 0x414]
movzx eax, byte [eax]
push eax
mov eax, dword [edi + 0x41c]
sub esp, 0xc
mov ecx, esp
push edx
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10030780
mov ecx, dword [0x1005b2f8]
mov esi, dword [0x1005b2f4]
movss xmm0, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x14]
mov eax, dword [esi + 0xc]
movss dword [eax + ecx], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [eax + ecx + 4], xmm0
movss xmm0, dword [ebp - 0x90]
movss dword [eax + ecx + 8], xmm0
test ecx, ecx
je 0x10008bc8
mov eax, dword [esi + 8]
cmp dword [ecx + eax], 0
jle 0x10008bc8
cmp dword [0x1005b35c], 0
je 0x10008bc8
cmp dword [0x1005b354], 0
je 0x10008bc8
mov eax, dword [esi + 0x1c]
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [ebp - 0x8c], xmm0
movss xmm0, dword [0x100460ec]
mov dword [ebp - 0x84], eax
movss xmm4, dword [ebp - 0x84]
comiss xmm0, xmm4
jb 0x10008a49
movss xmm4, dword [0x100460e8]
jmp 0x10008a59
movss xmm0, dword [0x10046110]
comiss xmm4, xmm0
jbe 0x10008a59
movaps xmm4, xmm0
mov eax, dword [esi + 0xc]
movss xmm1, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x88]
addss xmm1, dword [eax + ecx]
addss xmm0, dword [eax + ecx + 4]
addss xmm4, dword [eax + ecx + 8]
mov eax, dword [esi + 0x3c]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x8c], xmm1
mov edx, dword [ecx + eax]
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0x84], xmm4
test edx, edx
je 0x10008b9a
cmp dword [edx + 0x60], 0
je 0x10008b9a
mov eax, dword [esi + 0x20]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10008b9a
cmp byte [edx + 0x109], 0
xorps xmm3, xmm3
jne 0x10008af0
movss xmm0, dword [edx + 0xa4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10008aed
mov eax, dword [esi + 0x10]
test byte [ecx + eax], 1
jne 0x10008b9a
mov eax, dword [ebp - 0x80]
movss xmm5, dword [eax + 0x1ac]
addss xmm5, dword [0x10045ffc]
comiss xmm4, xmm5
jb 0x10008b9a
movaps xmm0, xmm4
subss xmm0, xmm5
call fcn.10001d20
subss xmm0, dword [0x10046058]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x48], 0x3f800000
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
subss xmm5, xmm4
divss xmm0, dword [0x10046064]
comiss xmm3, xmm0
movss dword [ebp - 0x18], xmm0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x48]
comiss xmm0, dword [0x10045fe0]
seta al
test al, al
cmove ecx, edx
movss xmm1, dword [ecx]
movaps xmm0, xmm1
mulss xmm0, xmm1
movaps xmm2, xmm0
addss xmm0, xmm0
mulss xmm2, dword [0x10046038]
mulss xmm0, xmm1
movss xmm1, dword [ebp - 0x28]
subss xmm2, xmm0
addss xmm2, xmm3
mulss xmm5, xmm2
addss xmm5, xmm4
movss dword [ebp - 0x84], xmm5
movq xmm0, qword [ebp - 0x8c]
mov eax, dword [ebp - 0x84]
movq qword [ebp - 0xb4], xmm0
movss xmm3, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
movss xmm0, dword [ebp - 0xac]
jmp 0x10008bd6
xorps xmm1, xmm1
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [ebp - 0x28], xmm1
movaps xmm2, xmm1
movss dword [ebp - 0x7c], xmm0
subss xmm2, dword [edi + 0x420]
movaps xmm1, xmm3
movss dword [ebp - 0xa0], xmm3
subss xmm1, dword [edi + 0x424]
movss dword [ebp - 0x80], xmm2
movaps xmm0, xmm1
movss dword [ebp - 0x54], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10001d60
movss xmm1, dword [ebp - 0x7c]
subss xmm1, dword [edi + 0x428]
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10046104]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x54]
divss xmm0, dword [ebp - 0x80]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
mov dword [ebp - 0x90], 0
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x80]
comiss xmm0, dword [0x10045f3c]
mulss xmm1, dword [0x10046104]
movss dword [ebp - 0x94], xmm1
jb 0x10008c98
addss xmm1, dword [0x10046164]
movss dword [ebp - 0x94], xmm1
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x98]
call fcn.10001fe0
mov ecx, eax
mov eax, dword [ecx]
mov dword [edi + 0x414], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x418], eax
mov eax, dword [ecx + 8]
mov ecx, dword [0x1005b2f4]
mov dword [edi + 0x41c], eax
mov eax, dword [0x1005b2f8]
mov esi, dword [esi + 0x58]
mov ecx, dword [ecx + 0x4d0]
add esi, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x54], eax
call dword [ebp - 0x54]
movss xmm3, dword [edi + 0x414]
movss xmm1, dword [edi + 0x418]
fstp dword [ebp - 0x54]
movss xmm2, dword [ebp - 0x54]
movaps xmm0, xmm2
mulss xmm0, dword [esi]
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + 4]
mulss xmm2, dword [esi + 8]
mov esi, dword [ebp - 0x64]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x41c]
subss xmm0, xmm2
movss dword [esi + 0xc], xmm3
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
call fcn.1002dcd0
addss xmm0, dword [edi + 0x42c]
mov edx, dword [0x1005b358]
divss xmm0, dword [edx + 0x20]
addss xmm0, dword [0x10045fc0]
cvttss2si eax, xmm0
mov dword [esi + 8], eax
cmp byte [edi + 0x444], 0
mov esi, dword [0x1005b2f8]
je 0x10008fad
cmp byte [esi + 0xa2], 0
jne 0x10008fad
mov eax, dword [edi + 0x440]
mov ecx, dword [0x1005b35c]
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x158], xmm0
mov eax, dword [eax + 0x1ac]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x43c]
mov eax, dword [eax + 0x1ee0]
mov dword [ebp - 0x15c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, dword [0x1005b35c]
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x54], eax
call dword [ebp - 0x54]
fstp dword [ebp - 0x54]
push 0
mov ecx, esi
call dword [ebp - 0x18]
fadd dword [ebp - 0x54]
mov eax, dword [edi + 0x440]
lea ecx, [ebp - 0x150]
add eax, 0x98
push eax
fstp dword [ebp - 0x154]
call fcn.1000a240
mov esi, dword [0x1005b2f8]
mov eax, dword [edi + 0x43c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x128], eax
movss xmm0, dword [esi + 0x68]
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x134], xmm0
movss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0x130], xmm0
movss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x12c], xmm0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0
lea ecx, [edi + 0x64c]
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x10]
inc eax
cmp dword [ecx + 8], eax
ja 0x10008eac
push ecx
call fcn.1000a780
mov esi, dword [0x1005b2f8]
lea ecx, [edi + 0x64c]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
lea eax, [edx - 1]
and ecx, eax
mov dword [edi + 0x658], ecx
mov eax, dword [edi + 0x65c]
add eax, ecx
lea ecx, [edx - 1]
and ecx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x650]
lea edx, [edi + 0x64c]
mov dword [ebp - 0x54], ecx
cmp dword [eax + ecx*4], 0
jne 0x10008f03
push 0x48
call fcn.1003d636
mov esi, dword [ebp - 0x54]
lea edx, [edi + 0x64c]
mov ecx, eax
add esp, 4
mov eax, dword [edx + 4]
mov dword [eax + esi*4], ecx
mov esi, dword [0x1005b2f8]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
dec ecx
and ecx, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x158]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x160]
movss dword [ecx + 8], xmm0
movss xmm0, dword [ebp - 0x154]
movss dword [ecx + 0xc], xmm0
movups xmm0, xmmword [ebp - 0x150]
mov dword [ecx], eax
mov eax, dword [ebp - 0x15c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [ebp - 0x140]
movq qword [ecx + 0x20], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [ecx + 0x28], xmm0
movq xmm0, qword [ebp - 0x134]
movq qword [ecx + 0x2c], xmm0
movq xmm0, qword [ebp - 0x124]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x11c]
movq qword [ecx + 0x3c], xmm0
mov dword [ecx + 0x44], eax
inc dword [edx + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1005b358]
movss xmm2, dword [ebp - 0x50]
mov byte [esi + 0xa2], 0
movaps xmm0, xmm2
movss xmm1, dword [edx + 0x20]
addss xmm0, dword [esi + 0x68]
mov edx, dword [0x1005b2f4]
addss xmm1, xmm1
subss xmm0, xmm1
movss dword [edi + 0x45c], xmm0
cmp byte [edx + 0x339], 0
je 0x10009130
mov eax, dword [edx + 0x388]
mov ecx, dword [edx + 0x38c]
sub eax, 0
je 0x10009048
sub eax, 1
je 0x10009028
sub eax, 1
jne 0x10009114
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [0x1005b2f4]
test ax, ax
mov esi, dword [0x1005b2f8]
movss xmm2, dword [ebp - 0x50]
setne al
jmp 0x10009040
mov eax, dword [0x1005b304]
cmp ecx, 0x100
jae 0x10009144
mov al, byte [eax + ecx + 0x118]
test al, al
je 0x10009114
cmp byte [esi + 0xa1], 0
je 0x10009114
cmp byte [esi + 0xa2], 0
jne 0x10009114
cmp dword [esi + 0x98], 0xe
jne 0x10009114
mov eax, dword [esi + 0x6c]
mov byte [eax], 0
mov ecx, dword [edx + 0x30]
mov eax, dword [esi + 0x14]
mov eax, dword [ecx + eax]
mov ecx, dword [0x1005b358]
mov dword [esi + 0xa4], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0xa8], eax
mov dword [edi + 0x454], 0
movss xmm0, dword [esi + 0x68]
addss xmm0, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x64]
movss dword [edi + 0x45c], xmm0
and dword [ecx + 0x30], 0xfffff9e7
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov word [esi + 0xa1], pe_nt_image_headers32
mov eax, dword [edx + 0x3a0]
mov edx, dword [0x1005b358]
mov ecx, dword [esi + 0x98]
cmp eax, ecx
cmovl ecx, eax
divss xmm2, dword [edx + 0x20]
addss xmm2, dword [0x10045fc0]
cvttss2si eax, xmm2
cmp eax, ecx
cmovl ecx, eax
mov eax, 2
mov dword [esi + 0x9c], ecx
jmp 0x10006a43
ret 0xc13b
cmp byte [edx + 0x339], 0
je 0x10009130
cmp dword [esi + 0x98], 0xe
je 0x10009130
mov dword [esi + 0x98], 0
mov eax, 2
jmp 0x10006a43
mov eax, 8
jmp 0x10006a43
call fcn.1001b160
nop dword [eax]
aam 0x73
add byte [eax], dl
sbb byte [eax + eax + 0x10], dh
je 268472663
adc byte [eax], cl
jne 0x1000915b
adc byte [ecx + 0x7d], al
add byte [eax], dl
pop esp
add dword [eax], 8353552
adc al, dh
add byte [eax], 0x10
dec esi
add dword [eax], 16
rol byte [ebx - 0x7bd8f000], 1
add byte [eax], dl
jle 0x100090fe
add byte [eax], dl
ljmp 0x85