Function at 0x46aae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6ae280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x6ae30c]
mov dword [ebp - 0xfc], ecx
mov ecx, esi
push edi
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x74], esi
mov eax, dword [ecx + 0x172c]
mov dword [ebp - 0x64], ecx
mov byte [eax + 0x86], 1
mov edi, dword [ecx + 0x172c]
mov dword [ebp - 0x78], edi
cmp byte [edi + 0x88], 0
jne 0x46aeb4
mov edx, dword [ebx + 0x10]
mov ecx, edx
shr ecx, 0xe
mov eax, edx
not cl
shr eax, 0x14
and ecx, 0xffffff01
and eax, 0xffffff01
mov dword [ebp - 0x8c], ecx
mov ecx, edx
shr ecx, 0xf
and ecx, 0xffffff01
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xf4], ecx
test al, al
je 0x46ab8e
call fcn.0046e460
mov esi, dword [0x6ae30c]
mov dword [ebp - 0x74], esi
mov ecx, dword [edi + 0x1c0]
xor edx, edx
mov eax, dword [edi + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0xfc]
call fcn.0045dfb0
add esp, 4
mov dword [ebp - 0x80], eax
cmp dword [esi + 0x1754], eax
jne 0x46abc0
mov byte [esi + 0x175c], 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xfc]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x46abe6
mov dl, byte [ecx]
test dl, dl
je 0x46abe6
cmp dl, 0x23
jne 0x46abe0
cmp byte [ecx + 1], dl
je 0x46abe6
inc ecx
cmp ecx, 0xffffffff
jb 0x46abd0
movss xmm0, dword [esi + 0x16f4]
movss xmm1, dword [0x6a560c]
mov edi, dword [esi + 0x16f0]
movss dword [ebp - 0xf8], xmm0
movss dword [ebp - 0x104], xmm1
cmp eax, ecx
jne 0x46ac1d
xorps xmm7, xmm7
movss dword [ebp - 0x110], xmm7
jmp 0x46ac7b
movss xmm3, dword [0x6a5600]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x70]
mov dword [esp], 0xbf800000
push eax
mov ecx, edi
call fcn.0047b0a0
movss xmm1, dword [ebp - 0x70]
xorps xmm7, xmm7
comiss xmm1, xmm7
jbe 0x46ac5b
movss xmm0, dword [ebp - 0xf8]
divss xmm0, dword [edi]
subss xmm1, xmm0
addss xmm1, dword [0x6a5568]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [ebp - 0x6c]
cmp byte [ebp - 0x90], 0
mov eax, dword [ebx + 0xc]
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
movss dword [ebp - 0xb0], xmm5
movss dword [ebp - 0xa0], xmm6
je 0x46acb0
movss xmm0, dword [esi + 0x16f4]
mulss xmm0, dword [0x6a55ac]
mov eax, dword [ebp - 0x64]
mov edi, dword [esi + 0x172c]
movss xmm3, dword [eax + 0x13e8]
movss xmm2, dword [edi + 0x120]
addss xmm3, xmm3
comiss xmm7, xmm2
addss xmm3, xmm0
jbe 0x46ad16
cmp dword [edi + 0x194], 1
movss xmm4, dword [edi + 0xb8]
subss xmm4, dword [edi + 0x18]
movss xmm0, dword [edi + 0x48]
je 0x46ad02
mov ecx, dword [edi + 0x190]
inc ecx
call fcn.0046e700
subss xmm0, dword [edi + 0x50]
subss xmm0, xmm4
addss xmm0, xmm2
movss xmm2, dword [0x6a556c]
maxss xmm2, xmm0
comiss xmm7, xmm5
cvttss2si eax, xmm2
xorps xmm2, xmm2
xorps xmm0, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x46ad31
comiss xmm7, xmm6
jbe 0x46ad61
cmp dword [edi + 0x194], 1
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [edi + 0x4c]
je 0x46ad55
mov ecx, dword [edi + 0x190]
inc ecx
call fcn.0046e700
subss xmm0, dword [edi + 0x50]
mov eax, edi
addss xmm0, dword [eax + 0x18]
addss xmm2, dword [eax + 0x1c]
comiss xmm7, xmm5
movss xmm1, dword [0x6a55a0]
jb 0x46ad9f
ucomiss xmm5, xmm7
lahf
test ah, 0x44
jp 0x46ad84
movaps xmm5, xmm4
movss dword [ebp - 0xb0], xmm5
jmp 0x46ad9f
subss xmm0, dword [edi + 0xb8]
maxss xmm0, xmm1
addss xmm0, xmm5
movaps xmm5, xmm0
movss dword [ebp - 0xb0], xmm0
comiss xmm7, xmm6
jb 0x46add5
ucomiss xmm6, xmm7
lahf
test ah, 0x44
jp 0x46adba
movaps xmm6, xmm3
movss dword [ebp - 0xa0], xmm6
jmp 0x46add5
subss xmm2, dword [edi + 0xbc]
maxss xmm2, xmm1
addss xmm2, xmm6
movaps xmm6, xmm2
movss dword [ebp - 0xa0], xmm2
mov eax, dword [ebp - 0x78]
movss xmm2, dword [ebp - 0x110]
comiss xmm2, xmm7
mov edi, dword [ebp - 0x64]
movss xmm4, dword [eax + 0xb8]
movss xmm3, dword [eax + 0xbc]
movaps xmm0, xmm4
movaps xmm1, xmm3
movss dword [ebp - 0xd4], xmm4
addss xmm0, xmm5
movss dword [ebp - 0xcc], xmm3
addss xmm1, xmm6
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0xf8], xmm0
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 8], xmm1
jbe 0x46ae3c
addss xmm2, dword [edi + 0x13f8]
jmp 0x46ae3f
xorps xmm2, xmm2
cmp byte [ebp - 0x90], 0
addss xmm0, xmm2
movaps xmm2, xmm1
movss dword [ebp - 0xc0], xmm4
addss xmm2, xmm7
movss dword [ebp - 0xbc], xmm3
mov dword [ebp - 0xa4], eax
movss dword [ebp - 0xb8], xmm0
movss dword [ebp - 0xb4], xmm2
je 0x46af02
movss xmm0, dword [ebp - 0xf8]
subss xmm1, xmm3
subss xmm0, xmm4
push ecx
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x70]
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x70], xmm0
call fcn.00462900
add esp, 4
test al, al
jne 0x46aec9
call fcn.004629e0
call fcn.0046e570
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00614242
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [0x6ae30c]
movss xmm0, dword [ebp - 0xb0]
mov dword [ebp - 0x74], esi
mov eax, dword [esi + 0x172c]
mov byte [eax + 0x86], 1
mov eax, dword [esi + 0x172c]
mov dword [ebp - 0xa4], eax
subss xmm0, dword [eax + 0x78]
movss dword [ebp - 0xb0], xmm0
jmp 0x46af3a
movss xmm1, dword [edi + 0x13e8]
subss xmm0, xmm4
subss xmm2, xmm3
lea ecx, [ebp - 0x70]
movss dword [ebp - 0x70], xmm0
movss dword [ebp - 0x6c], xmm2
call fcn.0045f000
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xc0]
call fcn.0045f100
test al, al
je 0x46aeb4
cmp byte [ebp - 0xf4], 0
je 0x46b092
mov edx, dword [edi + 0x16f0]
cmp dword [edx + 0x28], 0x2a
jle 0x46af6f
mov eax, dword [edx + 0x30]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
je 0x46af6f
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x18]
lea eax, [eax + ecx*8]
jmp 0x46af72
mov eax, dword [edx + 0x34]
add edi, 0x26f8
mov dword [ebp - 0x4c], eax
mov eax, dword [edx]
mov dword [ebp - 0x18], edi
mov dword [edi], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x64]
mov dword [edi + 4], eax
mov eax, dword [edx + 0x16f0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 8], ecx
mov eax, dword [edx + 0x16f0]
mov eax, dword [eax + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0x16f0]
mov eax, dword [eax + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [edx + 0x16f0]
mov eax, dword [eax + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x34], eax
mov eax, dword [eax + 4]
mov dword [edi + 0x38], eax
movss xmm0, dword [esi + 0x84]
mov eax, dword [esi + 0x172c]
mov dword [esi + 0x16f0], edi
mulss xmm0, dword [edi]
mulss xmm0, dword [edi + 4]
movss dword [esi + 0x16f8], xmm0
test eax, eax
je 0x46b000
mulss xmm0, dword [eax + 0x250]
jmp 0x46b003
xorps xmm0, xmm0
movss dword [esi + 0x16f4], xmm0
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x1700], eax
lea eax, [ebp - 0x18]
mov dword [esi + 0x16fc], ecx
lea ecx, [esi + 0x179c]
push eax
call fcn.0046f3a0
mov eax, dword [esi + 0x172c]
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 0x254]
mov edi, dword [eax + 0x44]
lea esi, [eax + 0x40]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], eax
cmp ecx, edi
jne 0x46b072
inc ecx
test edi, edi
je 0x46b060
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x46b065
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0046f320
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x4c]
inc dword [esi]
call fcn.00476ef0
mov esi, dword [0x6ae30c]
mov dword [ebp - 0x74], esi
test dword [ebx + 0x10], 0x440
mov ecx, dword [ebp - 0x64]
sete al
movzx eax, al
push eax
mov eax, dword [ebp - 0x80]
lea edi, [ecx + 0x1a24]
cmp dword [ecx + 0x1754], eax
mov ecx, dword [ebp - 0x78]
sete dl
mov dword [ebp - 0xac], edi
call fcn.0045f2e0
mov dl, al
add esp, 4
mov byte [ebp - 0x85], dl
test dl, dl
je 0x46b182
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x264]
cmp ecx, dword [eax + 0x26c]
jne 0x46b182
mov byte [ebp - 0x65], 1
mov byte [ebp - 0x7a], 0
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x14]
push 0
call fcn.0045f220
mov edx, dword [ebp - 0x64]
add esp, 4
mov byte [ebp - 0x79], al
test al, al
mov eax, dword [ebp - 0x80]
je 0x46b134
mov dword [esi + 0x1748], eax
mov byte [esi + 0x174c], 0
mov dword [edx + 0x18b4], 1
cmp byte [edx + 0x330], 0
mov byte [ebp - 0x59], 1
jne 0x46b138
mov byte [ebp - 0x59], 0
cmp byte [ebp - 0x90], 0
je 0x46b19b
cmp dword [edx + 0x1754], 0
jne 0x46b19b
cmp dword [edi], eax
jne 0x46b19b
mov eax, dword [ebp - 0xa4]
xor edx, edx
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.0045dfb0
mov edx, dword [ebp - 0x64]
add esp, 4
cmp dword [edx + 0x1758], eax
jne 0x46b19b
mov cl, 1
jmp 0x46b19d
mov byte [ebp - 0x65], 0
test dl, dl
je 0x46b0ef
mov byte [ebp - 0x7a], 1
mov byte [ebp - 0x65], 0
jmp 0x46b0f3
xor cl, cl
mov eax, dword [edx + 0x1754]
cmp eax, dword [ebp - 0x80]
je 0x46b1b5
test byte [ebx + 0x10], 0x10
mov byte [ebp - 0xa8], 1
jne 0x46b1bc
mov byte [ebp - 0xa8], 0
cmp byte [ebp - 0x85], 0
jne 0x46b206
cmp byte [ebp - 0x59], 0
jne 0x46b206
test cl, cl
jne 0x46b206
cmp byte [edx + 0x330], cl
je 0x46b3c6
cmp eax, dword [ebp - 0x80]
jne 0x46b3c6
mov dword [esi + 0x1754], 0
mov word [esi + 0x175d], 1
mov dword [esi + 0x1768], 0
jmp 0x46b3c6
cmp eax, dword [ebp - 0x80]
je 0x46b38d
mov eax, dword [edi + 0x2c]
lea ecx, [edi + 4]
push 0x81
mov dword [ebp - 0x18], eax
call fcn.0046f440
mov esi, dword [edi + 0x14]
lea eax, [edi + 0x10]
cmp esi, 0x81
jge 0x46b25c
test esi, esi
je 0x46b241
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x46b246
mov ecx, 8
mov eax, 0x81
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0x10]
push eax
call fcn.0046f5d0
lea eax, [edi + 0x10]
push 0x81
push dword [ebp - 0x94]
mov dword [eax], 0x81
mov esi, dword [edi + 0x18]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov byte [esi + 0x80], 0
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0x4c]
mov edx, dword [edi + 4]
mov dword [ebp - 0x4c], 0
push eax
push ecx
mov ecx, dword [edi + 0xc]
push esi
call fcn.0045e260
mov ecx, dword [ebp - 0x4c]
mov edx, eax
mov eax, dword [ebp - 0x80]
sub ecx, esi
add esp, 0xc
mov dword [edi + 0x2c], edx
mov dword [edi + 0x28], ecx
mov dword [edi + 0xccc], 0xbe99999a
cmp dword [edi], eax
jne 0x46b2ef
cmp dword [ebp - 0x18], edx
jne 0x46b2ef
cmp dword [edi + 0x38], edx
mov ecx, edx
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], edx
mov dword [edi + 0x38], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
cmovl edx, dword [edi + 0x40]
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x40], edx
jmp 0x46b35a
mov ecx, dword [ebp - 0x90]
mov dword [edi], eax
mov al, cl
mov dword [edi + 0x34], 0
xor al, 1
mov dword [edi + 0xcc2], 0x630000
mov dword [edi + 0xcc6], 0x3e70000
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0x10000
mov dword [edi + 0x4c], 0
mov byte [edi + 0x48], al
test cl, cl
jne 0x46b35a
mov eax, dword [ebp - 0xa8]
mov edx, 1
cmp byte [ebp - 0x65], cl
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0xa8], eax
test dword [ebx + 0x10], 0x2000
je 0x46b367
mov byte [edi + 0x44], 1
test cl, cl
jne 0x46b387
cmp byte [ebp - 0x7a], cl
jne 0x46b380
cmp byte [ebp - 0x59], cl
je 0x46b387
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xe1], cl
je 0x46b387
mov byte [ebp - 0xa8], 1
mov esi, dword [0x6ae30c]
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x1754], eax
mov word [esi + 0x175d], 1
test eax, eax
je 0x46b3aa
mov byte [esi + 0x175c], 1
mov eax, dword [ebp - 0x78]
mov ecx, eax
mov dword [esi + 0x1768], eax
call fcn.00467030
mov esi, dword [0x6ae30c]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x74], esi
mov eax, dword [ebp - 0x80]
movss xmm5, dword [0x6a5550]
mov byte [ebp - 0x7a], 0
mov byte [ebp - 0x85], 0
cmp dword [edx + 0x1754], eax
jne 0x46c2f5
cmp byte [ebp - 0x8c], 0
jne 0x46b472
cmp byte [edx + 0x175d], 0
jne 0x46b472
push 0x81
lea ecx, [edi + 4]
call fcn.0046f440
mov edx, dword [edi + 4]
lea eax, [ebp - 0x4c]
push eax
push ecx
push dword [ebp - 0x94]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x4c], 0
call fcn.0045e260
mov ecx, dword [ebp - 0x4c]
mov esi, eax
sub ecx, dword [ebp - 0x94]
add esp, 0xc
cmp dword [edi + 0x38], esi
mov edx, esi
movss xmm5, dword [0x6a5550]
cmovl edx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov dword [edi + 0x28], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x2c], esi
cmovl esi, dword [edi + 0x40]
mov dword [edi + 0x40], esi
mov esi, dword [0x6ae30c]
mov dword [edi + 0x38], edx
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x3c], ecx
mov dword [ebp - 0x74], esi
mov dword [edi + 0x30], 0x80
cmp byte [edx + 0xd4], 0
sete al
cmp byte [ebp - 0x90], 0
mov byte [edx + 0x175e], al
movss xmm3, dword [edx + 0xcc]
subss xmm3, dword [ebp - 0xd4]
subss xmm3, dword [edx + 0x13e4]
addss xmm3, dword [edi + 0x34]
je 0x46b4cf
mov eax, dword [ebp - 0xa4]
movss xmm2, dword [edx + 0xd0]
subss xmm2, dword [eax + 0xbc]
subss xmm2, dword [edx + 0x13e8]
jmp 0x46b4db
movss xmm2, dword [edx + 0x16f4]
mulss xmm2, xmm5
cmp byte [ebp - 0xa8], 0
mov al, byte [edx + 0xa8]
jne 0x46b61a
cmp byte [ebp - 0x79], 0
je 0x46b504
test al, al
jne 0x46b547
cmp byte [edx + 0x374], al
jne 0x46b61a
cmp byte [edx + 0x330], 0
je 0x46b5a7
cmp byte [edi + 0xcd1], 0
jne 0x46b5a7
movaps xmm1, xmm3
mov ecx, edi
call fcn.004694e0
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x47], 0
mov dword [edi + 0xccc], 0xbe99999a
jmp 0x46b635
cmp byte [edx + 0x374], 0
je 0x46b504
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.004698c0
add esp, 4
mov byte [edi + 0xcd0], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xccc], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.004698c0
mov esi, dword [0x6ae30c]
add esp, 4
mov edx, dword [ebp - 0x64]
mov byte [edi + 0xcd0], 1
mov dword [edi + 0xccc], 0xbe99999a
mov dword [ebp - 0x74], esi
jmp 0x46b635
cmp byte [edx + 0xd4], 0
je 0x46b635
cmp byte [edi + 0xcd1], 0
jne 0x46b63e
movss xmm0, dword [edx + 0x320]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x46b5e6
movss xmm0, dword [edx + 0x324]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x46b635
movaps xmm1, xmm3
mov ecx, edi
call fcn.004694e0
mov ecx, dword [edi + 0x3c]
cmp ecx, dword [edi + 0x40]
jne 0x46b5fe
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x3c], ecx
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0xccc], 0xbe99999a
mov byte [edi + 0xcd0], 1
jmp 0x46b635
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
mov byte [edi + 0xcd1], 1
cmp byte [edi + 0xcd1], 0
je 0x46b64e
cmp byte [edx + 0xd4], 0
jne 0x46b64e
mov byte [edi + 0xcd1], 0
cmp word [edx + 0x2e6], 0
lea eax, [edx + 0x2e6]
mov dword [ebp - 0x60], eax
je 0x46b6f8
cmp byte [edx + 0xe1], 0
je 0x46b677
cmp byte [edx + 0xe3], 0
je 0x46b6de
cmp byte [ebp - 0x8c], 0
je 0x46b6de
xor esi, esi
movzx eax, word [eax]
test ax, ax
je 0x46b6d2
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x4c]
sub esp, 8
mov dword [ebp - 0x4c], eax
call fcn.0046a960
add esp, 8
test al, al
je 0x46b6c3
push dword [ebp - 0x4c]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.004698c0
add esp, 4
mov byte [edi + 0xcd0], 1
mov dword [edi + 0xccc], 0xbe99999a
mov eax, dword [ebp - 0x60]
inc esi
add eax, 2
mov dword [ebp - 0x60], eax
cmp esi, 0x11
jl 0x46b682
mov esi, dword [0x6ae30c]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x74], esi
xorps xmm0, xmm0
movups xmmword [edx + 0x2e6], xmm0
movups xmmword [edx + 0x2f6], xmm0
mov word [edx + 0x306], 0
mov dl, byte [edx + 0xe2]
xor ecx, ecx
test dl, dl
mov eax, 0x20000
cmovne ecx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], ecx
mov dh, byte [eax + 0xa8]
test dh, dh
je 0x46b741
cmp byte [eax + 0xe4], 0
je 0x46b736
cmp byte [eax + 0xe1], 0
jne 0x46b736
mov eax, 1
jmp 0x46b738
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x64]
je 0x46b764
jmp 0x46b753
cmp byte [eax + 0xe1], 0
je 0x46b764
cmp byte [eax + 0xe4], 0
jne 0x46b764
cmp byte [eax + 0xe3], 0
jne 0x46b764
mov byte [ebp - 0x79], 1
test dl, dl
je 0x46b768
mov byte [ebp - 0x79], 0
test dh, dh
je 0x46b7b9
mov esi, dword [ebp - 0x64]
mov al, byte [eax + 0xe3]
mov dl, al
mov byte [ebp - 0x59], dl
cmp byte [esi + 0xe4], 0
mov esi, dword [ebp - 0x74]
je 0x46b7c2
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x59], dl
cmp byte [ecx + 0xe1], 0
mov ecx, dword [ebp - 0x84]
jne 0x46b7c2
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x59], al
cmp byte [ecx + 0xe3], 0
mov ecx, dword [ebp - 0x84]
jne 0x46b7c2
mov byte [ebp - 0x65], 1
mov byte [ebp - 0x59], dl
jmp 0x46b7c6
mov dl, byte [eax + 0xe1]
mov byte [ebp - 0x59], dl
mov byte [ebp - 0x65], 0
mov eax, dword [esi + 0x2c]
test eax, eax
js 0x46b885
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46cc1b
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46b885
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
jne 0x46cc12
mov eax, dword [esi + 0x30]
xorps xmm2, xmm2
test eax, eax
js 0x46b974
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46b93f
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46b974
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46b971
cmp byte [ebp - 0x65], 0
je 0x46b955
mov eax, 0x10005
or eax, dword [ebp - 0x84]
jmp 0x46cc39
cmp byte [ebp - 0x59], 0
mov eax, 0x10001
mov ecx, 0x1000d
cmovne eax, ecx
or eax, dword [ebp - 0x84]
jmp 0x46cc39
xorps xmm2, xmm2
mov eax, dword [esi + 0x34]
test eax, eax
js 0x46ba91
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46ba2e
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46ba91
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46ba91
xorps xmm2, xmm2
cmp byte [ebp - 0x90], 0
je 0x46ba91
mov ecx, dword [ebp - 0x64]
cmp byte [ecx + 0xe1], 0
je 0x46ba7b
mov edx, dword [ebp - 0xa4]
movss xmm1, dword [edx + 0x60]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x16f4]
addss xmm1, dword [edx + 0xd4]
maxss xmm0, xmm2
subss xmm1, xmm0
movss dword [edx + 0x60], xmm0
movss dword [edx + 0xd4], xmm1
jmp 0x46cc61
movzx eax, byte [ebp - 0x65]
lea eax, [eax*4 + 0x10002]
or eax, dword [ebp - 0x84]
jmp 0x46cc39
mov eax, dword [esi + 0x38]
test eax, eax
js 0x46bbc4
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46bb4c
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46bbc4
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46bbc4
cmp byte [ebp - 0x90], 0
je 0x46bbc4
mov ecx, dword [ebp - 0x64]
cmp byte [ecx + 0xe1], 0
je 0x46bbae
mov eax, dword [esi + 0x172c]
mov edx, dword [ebp - 0xa4]
movss xmm0, dword [eax + 0x34]
subss xmm0, dword [eax + 0x2c]
movss xmm2, dword [edx + 0x60]
movaps xmm1, xmm2
addss xmm1, dword [ecx + 0x16f4]
addss xmm2, dword [edx + 0xd4]
subss xmm0, dword [eax + 0x7c]
minss xmm1, xmm0
subss xmm2, xmm1
movss dword [edx + 0x60], xmm1
movss dword [edx + 0xd4], xmm2
jmp 0x46cc61
movzx eax, byte [ebp - 0x65]
lea eax, [eax*4 + 0x10003]
or eax, dword [ebp - 0x84]
jmp 0x46cc39
mov eax, dword [esi + 0x44]
test eax, eax
js 0x46bc83
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46cbef
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46bc83
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
jne 0x46cbef
mov eax, dword [esi + 0x48]
xorps xmm0, xmm0
test eax, eax
js 0x46bd66
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x46bd3d
movss xmm3, dword [esi + 0x74]
comiss xmm2, xmm3
jbe 0x46bd66
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm3
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46bd63
mov ecx, dword [ebp - 0x84]
mov eax, ecx
mov edx, dword [ebp - 0x64]
or eax, 0x10007
or ecx, 0x10005
cmp byte [edx + 0xe1], 0
cmovne ecx, eax
push ecx
jmp 0x46cc3a
xorps xmm0, xmm0
mov eax, dword [esi + 0x4c]
test eax, eax
js 0x46be5f
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x46be1d
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46be5f
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46be5f
cmp byte [ebp - 0x8c], 0
je 0x46be5f
mov ecx, dword [ebp - 0x84]
or ecx, 0x10008
push ecx
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.004698c0
mov byte [edi + 0xcd0], 1
add esp, 4
mov dword [edi + 0xccc], 0xbe99999a
mov esi, dword [0x6ae30c]
mov dword [ebp - 0x74], esi
jmp 0x46cc6a
mov eax, dword [esi + 0x50]
test eax, eax
js 0x46bf93
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46bf1a
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46bf93
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46bf93
cmp byte [ebp - 0x8c], 0
je 0x46bf93
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x46bf82
cmp byte [ebp - 0x59], 0
je 0x46bf38
push 0x3000c
jmp 0x46bf64
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xa8], 0
je 0x46bf82
cmp byte [eax + 0xe4], 0
je 0x46bf82
cmp byte [eax + 0xe3], 0
jne 0x46bf82
cmp byte [eax + 0xe1], 0
jne 0x46bf82
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.004698c0
mov dword [edi + 0xccc], 0xbe99999a
add esp, 4
mov byte [edi + 0xcd0], 1
mov ecx, dword [ebp - 0x84]
or ecx, 0x10009
jmp 0x46be32
mov eax, dword [esi + 0x54]
xorps xmm2, xmm2
test eax, eax
js 0x46c0d7
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46c051
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46c0d7
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c0d4
mov edx, dword [ebx + 0x10]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x90], 0
je 0x46c075
mov ecx, dword [ebp - 0x64]
mov cl, byte [ecx + 0xe1]
test al, al
je 0x46c09e
test cl, cl
jne 0x46c0a2
mov dword [esi + 0x1754], 0
mov word [esi + 0x175d], 1
mov dword [esi + 0x1768], 0
mov byte [ebp - 0x85], 1
jmp 0x46cc61
test cl, cl
jne 0x46c075
cmp byte [ebp - 0x8c], 0
je 0x46ccc3
mov dword [ebp - 0x4c], 0xa
sub esp, 8
lea ecx, [ebp - 0x4c]
call fcn.0046a960
add esp, 8
test al, al
je 0x46be51
push dword [ebp - 0x4c]
jmp 0x46be33
xorps xmm2, xmm2
mov ecx, dword [ebx + 0x10]
test ecx, 0x400
je 0x46c1d5
mov eax, dword [esi + 0x28]
test eax, eax
js 0x46c1d5
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46c1a0
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46c1d5
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c1d5
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0xe1], 0
jne 0x46c1d5
cmp byte [eax + 0xe2], 0
jne 0x46c1d5
cmp byte [eax + 0xe3], 0
jne 0x46c1d5
cmp byte [ebp - 0x8c], 0
je 0x46c1d5
mov dword [ebp - 0x4c], 9
mov edx, ecx
jmp 0x46c0b6
mov eax, dword [esi + 0x58]
xorps xmm2, xmm2
test eax, eax
js 0x46c361
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46c293
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46c361
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c35e
mov ecx, dword [ebp - 0x8c]
mov dword [esi + 0x1754], 0
mov word [esi + 0x175d], 1
mov dword [esi + 0x1768], 0
test cl, cl
je 0x46d16a
push 0x80
push dword [edi + 0x18]
mov esi, dword [ebp - 0x94]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [esi + 0x7f], 0
add esp, 0xc
mov esi, dword [0x6ae30c]
mov byte [ebp - 0x7a], 1
mov dword [ebp - 0x74], esi
movss xmm5, dword [0x6a5550]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x8c]
cmp dword [edx + 0x1754], eax
jne 0x46c310
test cl, cl
je 0x46c310
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x94], eax
cmp byte [ebp - 0x90], 0
movss xmm4, dword [0x6a55f8]
jne 0x46d2a3
movups xmm3, xmmword [esi + 0x14b0]
movss xmm6, dword [0x6a556c]
xorps xmm0, xmm0
comiss xmm0, xmm3
movaps xmm2, xmm3
movaps xmmword [ebp - 0xc0], xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [esi + 0x13c0]
jbe 0x46d17d
xorps xmm1, xmm1
jmp 0x46d184
xorps xmm2, xmm2
cmp byte [ebp - 0x79], 0
je 0x46cc61
mov eax, dword [esi + 0x70]
test eax, eax
js 0x46c448
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46c422
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46c448
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c448
cmp byte [ebp - 0x8c], 0
je 0x46c448
push 0x1000a
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.004698c0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
jmp 0x46be3d
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x46c516
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46c503
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46c516
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c516
cmp byte [ebp - 0x8c], 0
je 0x46c516
push 0x1000b
jmp 0x46c430
mov eax, dword [esi + 0x5c]
xorps xmm2, xmm2
test eax, eax
js 0x46c5ec
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46c5d0
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46c5ec
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c5e9
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x46cc5a
xorps xmm2, xmm2
cmp byte [ebp - 0xf4], 0
jne 0x46c980
mov eax, dword [esi + 0x68]
test eax, eax
js 0x46c6bd
movss xmm3, dword [esi + eax*4 + 0x3c0]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x46c6b0
movss xmm0, dword [esi + 0x74]
comiss xmm3, xmm0
jbe 0x46c6bd
movss xmm1, dword [esi + 0x78]
subss xmm3, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c6bd
cmp byte [ebp - 0x8c], 0
jne 0x46c77b
mov eax, dword [esi + 0x60]
test eax, eax
js 0x46c980
movss xmm2, dword [esi + eax*4 + 0x3c0]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x46c77e
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46c980
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c980
xorps xmm0, xmm0
cmp byte [ebp - 0x90], 0
je 0x46c793
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x46c980
mov eax, dword [esi + 0x68]
test eax, eax
js 0x46c86d
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x46c84a
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46c86d
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46c86d
mov eax, dword [edi + 0x3c]
mov cl, 1
mov byte [ebp - 0x59], cl
cmp eax, dword [edi + 0x40]
jne 0x46c872
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x46c872
xor cl, cl
mov byte [ebp - 0x59], cl
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0xb4], 0
je 0x46c947
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
mov byte [ebp - 0x59], cl
cmp edx, eax
je 0x46c8a2
mov esi, eax
cmovge eax, edx
cmovl esi, edx
mov dword [ebp - 0x98], esi
mov esi, dword [ebp - 0x74]
jmp 0x46c8af
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x60], eax
lea ecx, [edi + 0x1c]
sub eax, dword [ebp - 0x98]
lea edx, [eax*4 + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], edx
cmp edx, eax
jle 0x46c905
lea esi, [edi + 0x1c]
test eax, eax
je 0x46c8e2
cdq
sub eax, edx
mov edx, dword [ebp - 0x4c]
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x46c8e7
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.0046f5d0
mov esi, dword [0x6ae30c]
lea ecx, [edi + 0x1c]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], esi
mov eax, dword [ebp - 0x60]
mov dword [ecx], edx
mov ecx, dword [edi + 0xc]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp - 0x98]
lea eax, [ecx + eax*2]
mov ecx, dword [edi + 0x24]
push eax
call fcn.0045e2d0
mov eax, dword [esi + 0xb4]
add esp, 8
test eax, eax
je 0x46c947
push dword [edi + 0x24]
push dword [esi + 0xb8]
call eax
mov esi, dword [0x6ae30c]
add esp, 8
mov dword [ebp - 0x74], esi
cmp byte [ebp - 0x59], 0
je 0x46cc61
mov byte [edi + 0xcd0], 1
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x46cc61
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.00469830
mov esi, dword [0x6ae30c]
mov byte [edi + 0x47], 0
mov dword [ebp - 0x74], esi
jmp 0x46cc61
mov eax, dword [esi + 0x64]
test eax, eax
js 0x46cc61
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46ca3f
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46cc61
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46cc61
cmp byte [ebp - 0x8c], 0
je 0x46ccc3
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x46ca74
push dword [esi + 0xb8]
call eax
add esp, 4
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x46be51
mov esi, dword [0x6ae30c]
jmp 0x46ca7c
mov eax, 0x6a033d
mov dword [ebp - 0x4c], eax
mov edx, eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x46ca81
inc dword [esi + 0x310]
sub edx, ecx
mov ecx, dword [esi + 0xbc]
lea eax, [edx*2 + 2]
push eax
call ecx
mov esi, dword [ebp - 0x4c]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x78], ecx
add esp, 4
mov dword [ebp - 0x9c], eax
cmp byte [esi], al
je 0x46cb26
nop word [eax + eax]
push 0
mov edx, esi
lea ecx, [ebp - 0x98]
call fcn.0045e0d0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x46cb1d
cmp eax, 0x10000
jae 0x46cb18
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x98]
sub esp, 8
call fcn.0046a960
add esp, 8
test al, al
je 0x46cb18
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x78]
mov ax, word [ebp - 0x98]
mov word [edx + ecx*2], ax
inc ecx
mov dword [ebp - 0x9c], ecx
cmp byte [esi], 0
jne 0x46cac0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x46cbc9
mov edx, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x2c]
cmp ecx, edx
je 0x46cb5a
cmp ecx, eax
jle 0x46cb4a
mov dword [edi + 0x3c], eax
mov ecx, eax
cmp edx, eax
jle 0x46cb53
mov dword [edi + 0x40], eax
mov edx, eax
cmp ecx, edx
jne 0x46cb5a
mov dword [edi + 0x38], ecx
cmp dword [edi + 0x38], eax
jle 0x46cb62
mov dword [edi + 0x38], eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.00469830
push dword [ebp - 0x9c]
mov edx, dword [edi + 0x38]
mov ecx, edi
push dword [ebp - 0x78]
call fcn.00469430
add esp, 8
test al, al
je 0x46cbab
push dword [ebp - 0x9c]
mov edx, dword [edi + 0x38]
lea ecx, [edi + 0x50]
push 0
call fcn.0046a610
mov eax, dword [ebp - 0x9c]
add esp, 8
add dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x46cbbf
movzx eax, word [edi + 0xcc2]
test ax, ax
je 0x46cbbf
dec eax
mov word [edi + 0xcc2], ax
mov ecx, dword [ebp - 0x78]
mov byte [edi + 0xcd0], 1
mov eax, dword [0x6ae30c]
test ecx, ecx
je 0x46cbd8
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
push ecx
call eax
mov esi, dword [0x6ae30c]
add esp, 4
mov dword [ebp - 0x74], esi
jmp 0x46cc6a
mov ecx, dword [ebp - 0x84]
mov eax, ecx
mov edx, dword [ebp - 0x64]
or eax, 0x10006
or ecx, 0x10004
cmp byte [edx + 0xe1], 0
cmovne ecx, eax
push ecx
jmp 0x46cc3a
mov ecx, dword [ebp - 0x84]
mov dl, byte [ebp - 0x59]
cmp byte [ebp - 0x65], 0
je 0x46cc28
mov eax, 0x10004
jmp 0x46cc37
test dl, dl
mov eax, 0x10000
mov esi, 0x1000c
cmovne eax, esi
or eax, ecx
push eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.004698c0
mov esi, dword [0x6ae30c]
add esp, 4
mov dword [ebp - 0x74], esi
mov dword [edi + 0xccc], 0xbe99999a
mov byte [edi + 0xcd0], 1
cmp byte [ebp - 0x8c], 0
je 0x46ccc3
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x20]
shl edx, 2
mov dword [ebp - 0x4c], edx
cmp edx, eax
jle 0x46ccb0
lea esi, [edi + 0x1c]
test eax, eax
je 0x46cc90
cdq
sub eax, edx
mov edx, dword [ebp - 0x4c]
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x46cc95
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.0046f5d0
mov esi, dword [0x6ae30c]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], esi
mov dword [edi + 0x1c], edx
mov ecx, dword [edi + 0x24]
push 0
push dword [edi + 0xc]
call fcn.0045e2d0
add esp, 8
mov edx, dword [ebx + 0x10]
test edx, 0x1c0
je 0x46d11d
test dl, 0x40
je 0x46cda4
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
test eax, eax
js 0x46cda7
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x46cd98
movss xmm3, dword [esi + 0x74]
comiss xmm2, xmm3
jbe 0x46cda7
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm3
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
mov edx, dword [ebx + 0x10]
xor eax, eax
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46cda4
mov eax, 0x40
xor ecx, ecx
jmp 0x46cf59
xorps xmm0, xmm0
test dl, dl
jns 0x46cf41
mov eax, dword [esi + 0x34]
test eax, eax
js 0x46ce76
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x46ce69
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46ce76
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
mov edx, dword [ebx + 0x10]
xor eax, eax
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46ce76
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x46cf59
mov eax, dword [esi + 0x38]
test eax, eax
js 0x46cf41
movss xmm2, dword [esi + eax*4 + 0x3c0]
ucomiss xmm2, dword [0x6a551c]
lahf
test ah, 0x44
jnp 0x46cf31
movss xmm0, dword [esi + 0x74]
comiss xmm2, xmm0
jbe 0x46cf41
movss xmm1, dword [esi + 0x78]
subss xmm2, xmm0
cvtps2pd xmm0, xmm1
mulss xmm1, dword [0x6a5550]
movsd qword [ebp - 0x70], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x4c], xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
seta al
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [ebp - 0x70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
xor eax, eax
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x4c]
seta al
cmp eax, dword [ebp - 0x60]
je 0x46cf3e
mov edx, dword [ebx + 0x10]
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x46cf59
mov edx, dword [ebx + 0x10]
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x13
test eax, eax
je 0x46d11d
mov dword [ebp - 0x48], eax
xor esi, esi
mov al, byte [ebp - 0x8c]
xor al, 1
mov word [ebp - 0x3b], si
mov byte [ebp - 0x3c], al
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x30]
mov word [ebp - 0x27], si
mov dword [ebp - 0x40], esi
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], ecx
mov ecx, esi
mov byte [ebp - 0x39], 0
lea edx, [esi + eax*2]
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x28], 0
call fcn.0045e400
mov edi, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], edi
mov ecx, dword [eax + 0x1a60]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.0045e400
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x1a64]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.0045e400
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004593c0
mov ecx, dword [ebp - 0x24]
add esp, 4
cmp ecx, edi
je 0x46d046
mov eax, dword [ebp - 0x34]
mov esi, eax
lea edi, [ecx + eax]
xor eax, eax
mov dword [ebp - 0x78], eax
test edi, edi
je 0x46d00f
cmp esi, edi
jae 0x46d03b
cmp byte [esi], 0
je 0x46d03b
push edi
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.0045e0d0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46d038
cmp eax, 0x10000
mov eax, dword [ebp - 0x78]
jae 0x46d007
inc eax
jmp 0x46d004
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0xac]
mov dword [edi + 0x38], eax
jmp 0x46d04c
mov edi, dword [ebp - 0xac]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x4c]
je 0x46d099
add eax, dword [ebp - 0x34]
xor ecx, ecx
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x46d06a
cmp esi, eax
jae 0x46d096
cmp byte [esi], 0
je 0x46d096
push eax
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.0045e0d0
mov ecx, dword [ebp - 0x78]
add esi, eax
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x46d096
cmp eax, 0x10000
mov eax, dword [ebp - 0x4c]
jae 0x46d062
inc ecx
jmp 0x46d05f
mov dword [edi + 0x3c], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x60]
je 0x46d0e7
add eax, dword [ebp - 0x34]
xor ecx, ecx
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x78], ecx
nop
test eax, eax
je 0x46d0b8
cmp esi, eax
jae 0x46d0e4
cmp byte [esi], 0
je 0x46d0e4
push eax
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.0045e0d0
mov ecx, dword [ebp - 0x78]
add esi, eax
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x46d0e4
cmp eax, 0x10000
mov eax, dword [ebp - 0x4c]
jae 0x46d0b0
inc ecx
jmp 0x46d0ac
mov dword [edi + 0x40], ecx
cmp byte [ebp - 0x28], 0
je 0x46d114
mov edx, dword [edi + 4]
push 0
push ecx
push dword [ebp - 0x34]
mov ecx, dword [edi + 0xc]
call fcn.0045e260
mov dword [edi + 0x2c], eax
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x28], eax
mov dword [edi + 0xccc], 0xbe99999a
mov esi, dword [0x6ae30c]
mov dword [ebp - 0x74], esi
mov ecx, dword [ebp - 0x8c]
test cl, cl
je 0x46d16a
mov ecx, dword [ebp - 0x94]
mov eax, dword [edi + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46d150
test dl, dl
je 0x46d14c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46d150
add eax, 2
add ecx, 2
test dl, dl
jne 0x46d130
xor eax, eax
jmp 0x46d155
sbb eax, eax
or eax, 1
test eax, eax
je 0x46c2e7
push 0x80
push dword [edi + 0x24]
jmp 0x46c2c6
movss xmm5, dword [0x6a5550]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x80]
jmp 0x46c2fb
movaps xmm1, xmm6
minss xmm1, xmm3
movss xmm3, dword [ebp - 0xbc]
comiss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si edx, xmm1
jbe 0x46d1a2
xorps xmm1, xmm1
jmp 0x46d1a9
movaps xmm1, xmm6
minss xmm1, xmm3
movss xmm3, dword [ebp - 0xb8]
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or edx, eax
comiss xmm0, xmm3
jbe 0x46d1cc
xorps xmm1, xmm1
jmp 0x46d1d3
movaps xmm1, xmm6
minss xmm1, xmm3
mulss xmm1, xmm4
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x10
or edx, eax
comiss xmm0, xmm2
ja 0x46d1f0
movaps xmm0, xmm6
minss xmm0, xmm2
push dword [ebp - 8]
mov eax, dword [ebp - 0x64]
push dword [ebp - 0xc]
mulss xmm0, xmm4
push dword [ebp - 0x10]
movss xmm2, dword [eax + 0x13ec]
push dword [ebp - 0x14]
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.00461fa0
movss xmm0, dword [ebp - 0xd4]
add esp, 0x10
mov edx, dword [ebp - 0x64]
movaps xmm2, xmm0
movss xmm7, dword [ebp - 0xcc]
movss xmm6, dword [ebp - 0xb0]
movaps xmm1, xmm7
addss xmm1, dword [ebp - 0xa0]
mov esi, dword [0x6ae30c]
addss xmm2, xmm6
movss xmm4, dword [0x6a55f8]
movss dword [ebp - 0x14], xmm0
addss xmm0, dword [edx + 0x13e4]
movss dword [ebp - 0x10], xmm7
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x98], xmm2
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edx + 0x13e8]
movss dword [ebp - 0x100], xmm1
mov dword [ebp - 0x74], esi
movss dword [ebp - 0x54], xmm0
jmp 0x46d30f
movss xmm1, dword [ebp - 0xd4]
movss xmm6, dword [ebp - 0xb0]
movss xmm0, dword [ebp - 0xcc]
movaps xmm5, xmm6
mov ecx, dword [ebp - 0xa4]
addss xmm5, xmm1
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm0
mov eax, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0xbc]
movaps xmm2, xmm5
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0xc], xmm2
movaps xmm2, xmm0
addss xmm2, dword [ebp - 0xa0]
movss dword [ebp - 0x98], xmm5
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
movss dword [ebp - 0x100], xmm2
movaps xmm1, xmm2
lea eax, [ebp - 0x58]
movss dword [ebp - 8], xmm1
movss xmm0, dword [eax]
xorps xmm3, xmm3
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0x6c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xac], xmm1
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x4c], xmm3
cmp dword [edi], eax
jne 0x46d394
cmp byte [ebp - 0x90], 0
je 0x46d394
mov eax, dword [ebp - 0xa4]
xor edx, edx
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.0045dfb0
mov edx, dword [ebp - 0x64]
add esp, 4
cmp dword [edx + 0x1754], eax
jne 0x46d394
mov al, 1
jmp 0x46d396
xor al, al
mov ecx, dword [ebp - 0x80]
cmp dword [edx + 0x1754], ecx
je 0x46d732
test al, al
jne 0x46d732
xor edx, edx
cmp byte [ebp - 0x90], dl
je 0x46d414
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov al, byte [edx]
inc edx
mov byte [ebp - 0x79], al
test al, al
je 0x46d3e6
nop dword [eax]
cmp byte [ebp - 0x79], 0xa
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov al, byte [edx]
inc edx
mov byte [ebp - 0x79], al
test al, al
jne 0x46d3d0
mov al, byte [edx - 1]
dec edx
cmp al, 0xa
je 0x46d3f3
cmp al, 0xd
je 0x46d3f3
inc ecx
mov edi, dword [ebp - 0x64]
movaps xmm0, xmm6
movd xmm5, ecx
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x60], xmm0
mulss xmm5, dword [edi + 0x16f4]
movss dword [ebp - 0x4c], xmm5
jmp 0x46d417
mov edi, dword [ebp - 0x64]
movups xmm2, xmmword [esi + 0x1440]
movss xmm6, dword [0x6a556c]
comiss xmm3, xmm2
movaps xmm1, xmm2
movaps xmmword [ebp - 0xc0], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [esi + 0x13c0]
jbe 0x46d446
movaps xmm0, xmm3
jmp 0x46d44d
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm5, dword [0x6a5550]
movss xmm2, dword [ebp - 0xbc]
comiss xmm3, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x46d473
movaps xmm0, xmm3
jmp 0x46d47a
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [ebp - 0xb8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x46d49d
movaps xmm0, xmm3
jmp 0x46d4a4
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x46d4bf
movaps xmm6, xmm3
jmp 0x46d4c3
minss xmm6, xmm1
movss xmm2, dword [edi + 0x16f4]
mulss xmm6, xmm4
mov dword [ebp - 0x18], 0
addss xmm6, xmm5
cvttss2si eax, xmm6
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x16f0]
cmp byte [ebp - 0x90], 0
lea edi, [ebp - 0x14]
mov dword [ebp - 0x104], eax
cmovne edi, dword [ebp - 0x18]
mov dword [ebp - 0x98], ecx
test eax, 0xff000000
je 0x46d632
test edx, edx
jne 0x46d53a
mov ecx, dword [ebp - 0x94]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d520
mov eax, dword [ebp - 0x94]
sub ecx, edx
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x98]
jmp 0x46d540
mov eax, dword [ebp - 0x94]
cmp eax, edx
je 0x46d632
test ecx, ecx
jne 0x46d558
mov eax, dword [esi + 0x16f0]
mov dword [ebp - 0x98], eax
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x46d569
movss xmm2, dword [esi + 0x16f4]
mov eax, dword [ebp - 0xa4]
mov esi, dword [eax + 0x254]
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
shl ecx, 4
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [ebp - 0xf0], xmm0
test edi, edi
je 0x46d5ef
movss xmm1, dword [edi]
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jae 0x46d5a7
movss dword [ebp - 0xf0], xmm1
movss xmm1, dword [edi + 4]
movss xmm0, dword [ebp - 0xec]
comiss xmm0, xmm1
jae 0x46d5c1
movss dword [ebp - 0xec], xmm1
movss xmm0, dword [edi + 8]
comiss xmm0, dword [ebp - 0xe8]
ja 0x46d5d7
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm0, dword [ebp - 0xe4]
ja 0x46d5ed
movss dword [ebp - 0xe4], xmm0
test edi, edi
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0xf0]
mov dword [esp], 0
push edx
push dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x104]
push dword [eax + 4]
push dword [eax]
push esi
call fcn.0047b250
mov esi, dword [0x6ae30c]
xorps xmm3, xmm3
mov edi, dword [ebp - 0x64]
cmp byte [ebp - 0x90], 0
je 0x46d6d7
mov eax, dword [esi + 0x172c]
movss xmm2, dword [edi + 0x16f4]
mov byte [eax + 0x86], 1
mov eax, dword [esi + 0x172c]
cmp byte [eax + 0x88], 0
jne 0x46d6c7
movss xmm4, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
addss xmm2, dword [ebp - 0x4c]
movss xmm1, dword [eax + 0xb8]
addss xmm4, xmm3
movss xmm0, dword [eax + 0xbc]
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm0
addss xmm2, xmm0
addss xmm4, xmm1
movss dword [ebp - 8], xmm2
subss xmm2, xmm0
movss dword [ebp - 0xc], xmm4
subss xmm4, xmm1
movaps xmm1, xmm3
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x58], xmm4
call fcn.0045f000
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.0045f100
call fcn.004629e0
call fcn.0046e570
mov esi, dword [0x6ae30c]
mov eax, dword [ebp - 0xf4]
test al, al
je 0x46e3c6
mov eax, dword [esi + 0x172c]
mov ecx, dword [eax + 0x254]
dec dword [ecx + 0x40]
call fcn.00476ef0
mov ecx, dword [esi + 0x179c]
mov edx, dword [0x6ae30c]
sub ecx, 1
mov dword [esi + 0x179c], ecx
jne 0x46e363
mov eax, dword [edx + 0x8c]
test eax, eax
jne 0x46e36d
mov eax, dword [edx + 0x80]
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
jmp 0x46e36d
mov ecx, dword [edi + 0xc]
xorps xmm7, xmm7
movss xmm0, dword [edx + 0xc]
xorps xmm5, xmm5
mov eax, dword [edi + 0x38]
addss xmm0, dword [edi + 0xccc]
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x80], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xd0], eax
mov ecx, 1
mov eax, dword [edi + 0x40]
movss dword [edi + 0xccc], xmm0
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0x9c], 0xfffffc19
cmp edx, eax
je 0x46d7a4
mov ecx, dword [ebp - 0x80]
cmovl eax, edx
mov dword [ebp - 0x9c], 0xffffffff
lea eax, [ecx + eax*2]
mov ecx, 2
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x80]
mov edx, esi
mov eax, dword [ebp - 0x90]
movzx eax, al
add ecx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov dword [ebp - 0xc4], eax
mov esi, dword [ebp - 0x74]
je 0x46d82b
mov eax, edx
movzx esi, word [eax]
mov eax, dword [ebp - 0xc4]
cmp si, 0xa
jne 0x46d814
inc eax
cmp dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xc4], eax
jne 0x46d7fb
cmp edx, dword [ebp - 0xd0]
jb 0x46d7fb
dec ecx
mov dword [ebp - 0xc8], eax
test ecx, ecx
jle 0x46d828
cmp dword [ebp - 0x9c], 0xffffffff
jne 0x46d814
cmp edx, dword [ebp - 0x78]
jb 0x46d814
dec ecx
mov dword [ebp - 0x9c], eax
test ecx, ecx
jle 0x46d828
movzx eax, word [edx + 2]
add edx, 2
mov esi, eax
test ax, ax
mov eax, dword [ebp - 0xc4]
jne 0x46d7d2
mov esi, dword [ebp - 0x74]
mov edx, dword [ebp - 0xd0]
inc eax
cmp dword [ebp - 0xc8], 0xffffffff
mov ecx, eax
mov dword [ebp - 0xc4], eax
cmovne ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x9c]
cmp eax, 0xffffffff
mov dword [ebp - 0xe4], ecx
mov ecx, edx
cmove eax, dword [ebp - 0xc4]
mov dword [ebp - 0x9c], eax
cmp edx, dword [ebp - 0x80]
jbe 0x46d881
mov esi, dword [ebp - 0x80]
nop
cmp word [ecx - 2], 0xa
je 0x46d87e
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x46d870
mov esi, dword [ebp - 0x74]
mov eax, dword [esi + 0x16f0]
movaps xmm1, xmm3
movss xmm2, dword [esi + 0x16f4]
movaps xmm4, xmm3
mov dword [ebp - 0xc8], eax
divss xmm2, dword [eax]
cmp ecx, edx
jae 0x46d8e9
mov esi, eax
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x46d8bb
maxss xmm1, xmm4
movaps xmm4, xmm3
jmp 0x46d8de
cmp edx, 0xd
je 0x46d8de
mov edx, eax
cmp edx, dword [esi + 0x1c]
jge 0x46d8d1
mov eax, dword [esi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x46d8d6
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm2
addss xmm4, xmm0
cmp ecx, dword [ebp - 0xd0]
jb 0x46d8a5
mov esi, dword [ebp - 0x74]
cmp dword [ebp - 0x9c], 0
maxss xmm4, xmm1
movd xmm6, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x64]
cvtdq2ps xmm6, xmm6
movss xmm0, dword [ecx + 0x16f4]
mulss xmm6, xmm0
movss dword [ebp - 0x10c], xmm4
movss dword [ebp - 0x114], xmm6
jl 0x46d9c2
mov eax, dword [ebp - 0x78]
mov ecx, eax
mov edx, dword [ebp - 0x80]
cmp eax, edx
jbe 0x46d93e
cmp word [ecx - 2], 0xa
je 0x46d93e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x46d930
movaps xmm1, xmm3
mov eax, dword [esi + 0x16f0]
movaps xmm5, xmm3
movss xmm2, dword [esi + 0x16f4]
mov dword [ebp - 0xe4], eax
divss xmm2, dword [eax]
cmp ecx, dword [ebp - 0x78]
jae 0x46d9a4
mov esi, eax
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x46d979
maxss xmm1, xmm5
movaps xmm5, xmm3
jmp 0x46d99c
cmp edx, 0xd
je 0x46d99c
mov edx, eax
cmp edx, dword [esi + 0x1c]
jge 0x46d98f
mov eax, dword [esi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x46d994
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm2
addss xmm5, xmm0
cmp ecx, dword [ebp - 0x78]
jb 0x46d963
mov esi, dword [ebp - 0x74]
movd xmm7, dword [ebp - 0x9c]
maxss xmm5, xmm1
mov ecx, dword [ebp - 0x64]
cvtdq2ps xmm7, xmm7
movss xmm0, dword [ecx + 0x16f4]
mulss xmm7, xmm0
mov edx, dword [ebp - 0x90]
test dl, dl
je 0x46d9f2
movd xmm1, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
movss xmm1, dword [ebp - 0xb0]
movaps xmm0, xmm1
movss dword [ebp - 0x60], xmm0
jmp 0x46d9fa
movss xmm1, dword [ebp - 0xb0]
cmp byte [edi + 0xcd0], 0
je 0x46dabf
test dword [ebx + 0x10], 0x1000
jne 0x46da5b
movaps xmm2, xmm1
movss xmm1, dword [edi + 0x34]
comiss xmm1, xmm4
mulss xmm2, dword [0x6a5544]
jbe 0x46da35
movaps xmm1, xmm4
movaps xmm0, xmm3
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x46da49
movaps xmm0, xmm4
subss xmm0, dword [ebp - 0xb0]
comiss xmm0, xmm1
jb 0x46da62
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x46da62
mov dword [edi + 0x34], 0
test dl, dl
je 0x46dabf
mov eax, dword [ebp - 0xa4]
movaps xmm1, xmm6
subss xmm1, dword [ecx + 0x16f4]
movss xmm2, dword [eax + 0x60]
comiss xmm2, xmm1
jbe 0x46da8a
movaps xmm0, xmm3
maxss xmm0, xmm1
jmp 0x46da99
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0xa0]
maxss xmm0, xmm2
subss xmm2, xmm0
movss dword [eax + 0x60], xmm0
addss xmm2, dword [eax + 0xbc]
movss dword [ebp - 0xa8], xmm2
movss dword [eax + 0xbc], xmm2
movss dword [ebp - 0x6c], xmm2
movss xmm6, dword [edi + 0x34]
mov edx, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov byte [edi + 0xcd0], 0
movss dword [ebp - 0x78], xmm6
cmp ecx, edx
je 0x46deb9
mov eax, edx
cmovl eax, ecx
mov ecx, dword [ebp - 0x80]
cmp dword [edi + 0x3c], edx
cmovge edx, dword [edi + 0x3c]
cmp byte [ebp - 0x90], 0
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x80]
lea edx, [eax + edx*2]
mov dword [ebp - 0xd0], edx
je 0x46db17
movss dword [ebp - 0x104], xmm3
movss dword [ebp - 0xc8], xmm3
jmp 0x46db27
movss xmm0, dword [0x6a5584]
movss dword [ebp - 0xc8], xmm0
movups xmm1, xmmword [esi + 0x16d0]
comiss xmm3, xmm1
movaps xmm2, xmm1
movaps xmmword [ebp - 0xc0], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [esi + 0x13c0]
jbe 0x46db4e
movaps xmm0, xmm3
jmp 0x46db5a
movss xmm0, dword [0x6a556c]
minss xmm0, xmm1
movss xmm4, dword [0x6a55f8]
movss xmm1, dword [ebp - 0xbc]
comiss xmm3, xmm1
mulss xmm0, xmm4
addss xmm0, dword [0x6a5550]
cvttss2si eax, xmm0
mov dword [ebp - 0xa0], eax
jbe 0x46db8a
movaps xmm0, xmm3
jmp 0x46db96
movss xmm0, dword [0x6a556c]
minss xmm0, xmm1
movss xmm1, dword [ebp - 0xb8]
mulss xmm0, xmm4
addss xmm0, dword [0x6a5550]
cvttss2si eax, xmm0
shl eax, 8
or dword [ebp - 0xa0], eax
comiss xmm3, xmm1
jbe 0x46dbc1
movaps xmm0, xmm3
jmp 0x46dbcd
movss xmm0, dword [0x6a556c]
minss xmm0, xmm1
movss xmm1, dword [0x6a5550]
mulss xmm0, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x10
or dword [ebp - 0xa0], eax
comiss xmm3, xmm2
jbe 0x46dbf4
movaps xmm0, xmm3
jmp 0x46dc00
movss xmm0, dword [0x6a556c]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x18
or eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x84]
movss xmm4, dword [eax]
addss xmm4, xmm5
subss xmm4, xmm6
movss xmm6, dword [ebp - 0xa8]
addss xmm6, xmm7
subss xmm6, xmm3
movss dword [ebp - 0xa0], xmm6
cmp ecx, edx
jae 0x46deb4
movss xmm7, dword [ebp - 0xac]
nop word [eax + eax]
mov eax, dword [ebp - 0x64]
movaps xmm0, xmm7
addss xmm0, dword [eax + 0x16f4]
mov eax, dword [ebp - 0x84]
comiss xmm6, xmm0
ja 0x46deb4
movss xmm0, dword [ebp - 0xcc]
comiss xmm0, xmm6
jbe 0x46dcab
cmp ecx, edx
jae 0x46de8a
mov ax, word [ecx]
add ecx, 2
cmp ax, 0xa
je 0x46de84
cmp ecx, edx
jb 0x46dc92
jmp 0x46de84
mov eax, dword [esi + 0x16f0]
movaps xmm5, xmm3
movss xmm2, dword [esi + 0x16f4]
movaps xmm1, xmm3
divss xmm2, dword [eax]
cmp ecx, edx
jae 0x46dd0f
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
je 0x46dd05
cmp edx, 0xd
je 0x46dcfb
mov eax, dword [esi + 0x16f0]
cmp edx, dword [eax + 0x1c]
jge 0x46dcee
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x46dcf3
movss xmm0, dword [eax + 0x38]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [ebp - 0xd0]
jb 0x46dcc7
jmp 0x46dd0f
movaps xmm5, xmm3
maxss xmm5, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm5
mov dword [ebp - 0xc4], ecx
comiss xmm3, xmm1
jb 0x46dd52
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x16f0]
cmp dword [eax + 0x1c], 0x20
jle 0x46dd3a
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + 0x80]
jmp 0x46dd3f
movss xmm0, dword [eax + 0x38]
mulss xmm0, dword [0x6a5550]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 0x64]
addss xmm1, xmm4
movss xmm0, dword [ebp - 0x104]
addss xmm4, xmm3
movss xmm2, dword [ebp - 0xc8]
movss xmm5, dword [ebp - 0xd4]
addss xmm2, xmm6
subss xmm0, dword [eax + 0x16f4]
movss dword [ebp - 0xb8], xmm1
comiss xmm5, xmm4
addss xmm0, xmm6
movss dword [ebp - 0xc0], xmm4
movss dword [ebp - 0xb4], xmm2
movss dword [ebp - 0xbc], xmm0
jbe 0x46ddb5
movaps xmm4, xmm5
movss dword [ebp - 0xc0], xmm4
movss xmm5, dword [ebp - 0xcc]
comiss xmm5, xmm0
jbe 0x46ddcd
movaps xmm0, xmm5
movss dword [ebp - 0xbc], xmm0
movss xmm5, dword [ebp - 0x18]
comiss xmm1, xmm5
jbe 0x46dde2
movaps xmm1, xmm5
movss dword [ebp - 0xb8], xmm1
comiss xmm2, xmm7
jbe 0x46ddf2
movaps xmm2, xmm7
movss dword [ebp - 0xb4], xmm2
comiss xmm2, dword [ebp - 0xcc]
jbe 0x46de84
comiss xmm7, xmm0
jbe 0x46de84
comiss xmm1, dword [ebp - 0xd4]
jbe 0x46de84
comiss xmm5, xmm4
jbe 0x46de84
push 0xffffffffffffffff
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xb8]
push dword [ebp - 0xe4]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x254]
call fcn.00478bd0
movss xmm0, dword [ebp - 0x98]
xorps xmm3, xmm3
mov esi, dword [0x6ae30c]
movss xmm6, dword [ebp - 0xa0]
movss xmm7, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc4]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x100]
movss dword [ebp - 0x100], xmm0
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x64]
movss xmm4, dword [eax]
subss xmm4, dword [ebp - 0x78]
addss xmm6, dword [edx + 0x16f4]
mov edx, dword [ebp - 0xd0]
movss dword [ebp - 0xa0], xmm6
cmp ecx, edx
jb 0x46dc60
movss xmm6, dword [ebp - 0x78]
movups xmm2, xmmword [esi + 0x1440]
mov edi, dword [edi + 0x28]
add edi, dword [ebp - 0x94]
comiss xmm3, xmm2
movss xmm7, dword [0x6a556c]
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [esi + 0x13c0]
movaps xmmword [ebp - 0xc0], xmm2
jbe 0x46def1
movaps xmm0, xmm3
jmp 0x46def8
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm4, dword [0x6a55f8]
movss xmm5, dword [0x6a5550]
movss xmm2, dword [ebp - 0xbc]
comiss xmm3, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x46df26
movaps xmm0, xmm3
jmp 0x46df2d
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [ebp - 0xb8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x46df50
movaps xmm0, xmm3
jmp 0x46df57
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x46df72
movaps xmm0, xmm3
jmp 0x46df79
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm4
lea edx, [ebp - 0x14]
mov dword [ebp - 0xe4], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x84]
cmp byte [ebp - 0x90], 0
mov dword [ebp - 0x18], eax
cmovne edx, dword [ebp - 0xe4]
movss xmm0, dword [ecx]
mov ecx, dword [ebp - 0x64]
subss xmm0, xmm6
movss xmm2, dword [ecx + 0x16f4]
mov ecx, dword [ecx + 0x16f0]
movss dword [ebp - 0x108], xmm0
movss xmm0, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
subss xmm0, xmm3
movss dword [ebp - 0x104], xmm0
test eax, 0xff000000
je 0x46e111
test edi, edi
jne 0x46e01b
mov ecx, dword [ebp - 0x94]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e001
mov eax, dword [ebp - 0x94]
sub ecx, edi
lea edi, [ecx + eax]
mov ecx, dword [ebp - 0xac]
jmp 0x46e021
mov eax, dword [ebp - 0x94]
cmp eax, edi
je 0x46e111
test ecx, ecx
jne 0x46e039
mov eax, dword [esi + 0x16f0]
mov dword [ebp - 0xac], eax
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x46e04a
movss xmm2, dword [esi + 0x16f4]
mov eax, dword [ebp - 0xa4]
mov esi, dword [eax + 0x254]
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
shl ecx, 4
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [ebp - 0xc0], xmm0
test edx, edx
je 0x46e0d0
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0xc0]
comiss xmm0, xmm1
jae 0x46e088
movss dword [ebp - 0xc0], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0xbc]
comiss xmm0, xmm1
jae 0x46e0a2
movss dword [ebp - 0xbc], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0xb8]
ja 0x46e0b8
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0xb4]
ja 0x46e0ce
movss dword [ebp - 0xb4], xmm0
test edx, edx
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xc0]
mov dword [esp], 0
push edi
push dword [ebp - 0x94]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push esi
call fcn.0047b250
mov esi, dword [0x6ae30c]
xorps xmm3, xmm3
mov edi, dword [ebp - 0x64]
movss xmm0, dword [edi + 0x26f0]
comiss xmm3, xmm0
jae 0x46e163
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xe8], xmm0
fld qword [ebp - 0xe8]
fld qword [0x6a5578]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x6a5560]
xorps xmm3, xmm3
fstp qword [ebp - 0xe8]
movsd xmm1, qword [ebp - 0xe8]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x46e163
xor al, al
jmp 0x46e165
mov al, 1
movss xmm2, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x84]
movss xmm7, dword [0x6a5550]
addss xmm2, dword [ebp - 0x114]
movss xmm6, dword [ecx]
addss xmm6, dword [ebp - 0x10c]
subss xmm2, xmm3
subss xmm6, dword [ebp - 0x78]
movss dword [ebp - 0xa8], xmm2
movaps xmm0, xmm2
movaps xmm4, xmm2
subss xmm0, dword [edi + 0x16f4]
movss dword [ebp - 0x10c], xmm6
movaps xmm1, xmm6
movss dword [ebp - 0x14], xmm6
addss xmm1, dword [0x6a556c]
subss xmm4, dword [0x6a5574]
addss xmm0, xmm7
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm4
movss dword [ebp - 0x10], xmm0
test al, al
je 0x46e331
comiss xmm4, dword [ebp - 0xcc]
jbe 0x46e331
movss xmm5, dword [ebp - 0x100]
comiss xmm5, xmm0
jbe 0x46e331
comiss xmm1, dword [ebp - 0xd4]
jbe 0x46e331
movss xmm0, dword [ebp - 0x98]
comiss xmm0, xmm6
jbe 0x46e331
movups xmm2, xmmword [esi + 0x1440]
comiss xmm3, xmm2
movaps xmm1, xmm2
movaps xmmword [ebp - 0xc0], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [esi + 0x13c0]
jbe 0x46e24c
movaps xmm0, xmm3
jmp 0x46e258
movss xmm0, dword [0x6a556c]
minss xmm0, xmm2
movss xmm5, dword [0x6a55f8]
movss xmm2, dword [ebp - 0xbc]
comiss xmm3, xmm2
mulss xmm0, xmm5
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x46e27e
movaps xmm0, xmm3
jmp 0x46e28a
movss xmm0, dword [0x6a556c]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0xb8]
mulss xmm0, xmm5
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm2
jbe 0x46e2ad
movaps xmm0, xmm3
jmp 0x46e2b9
movss xmm0, dword [0x6a556c]
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
ja 0x46e2db
movss xmm3, dword [0x6a556c]
minss xmm3, xmm1
mulss xmm3, xmm5
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 0x58], xmm6
addss xmm3, xmm7
movss dword [ebp - 0x54], xmm4
cvttss2si eax, xmm3
shl eax, 0x18
or eax, ecx
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x254]
call fcn.004789c0
mov esi, dword [0x6ae30c]
xorps xmm3, xmm3
movss xmm2, dword [ebp - 0xa8]
movss xmm6, dword [ebp - 0x10c]
cmp byte [ebp - 0x8c], 0
je 0x46d635
subss xmm6, dword [0x6a556c]
subss xmm2, dword [edi + 0x16f4]
movss dword [edi + 0x2784], xmm6
movss dword [edi + 0x2788], xmm2
jmp 0x46d635
mov eax, dword [esi + 0x17a4]
mov eax, dword [eax + ecx*4 - 4]
movss xmm0, dword [edx + 0x84]
mov ecx, dword [edx + 0x172c]
mov dword [edx + 0x16f0], eax
mulss xmm0, dword [eax]
mulss xmm0, dword [eax + 4]
movss dword [edx + 0x16f8], xmm0
test ecx, ecx
je 0x46e3a0
mulss xmm0, dword [ecx + 0x250]
jmp 0x46e3a3
xorps xmm0, xmm0
movss dword [edx + 0x16f4], xmm0
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x1700], eax
mov eax, dword [ebp - 0xf4]
mov dword [edx + 0x16fc], ecx
cmp byte [edi + 0x2794], 0
je 0x46e3e6
test al, al
jne 0x46e3e6
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x70]
push 0
call fcn.00461640
add esp, 4
movss xmm0, dword [ebp - 0x110]
comiss xmm0, dword [0x6a551c]
jbe 0x46e439
movss xmm0, dword [ebp - 0xf8]
xor edx, edx
addss xmm0, dword [edi + 0x13f8]
mov ecx, dword [ebp - 0xfc]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0xcc]
addss xmm0, dword [edi + 0x13e8]
movss dword [ebp - 0x6c], xmm0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push 1
call fcn.00461750
add esp, 0xc
test byte [ebx + 0x10], 0x20
movzx ecx, byte [ebp - 0x85]
movzx eax, byte [ebp - 0x7a]
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00614242
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret