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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, dword [0x889ebc]
mov eax, ecx
push edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], esi
call fcn.00415bf0
mov edi, eax
mov dword [esp + 0x60], eax
test edi, edi
mov dword [esp + 0x44], edi
sete byte [esp + 0x10]
test eax, eax
jne 0x41816a
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
call fcn.00415ec0
mov edi, eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3dc8]
cmovne edx, eax
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x3e24], 0
mov eax, dword [edi + 0x238]
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
jne 0x4181b1
cmp byte [esi + 0x3dd5], 0
je 0x4181b1
mov al, 1
jmp 0x4181b3
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
cmp dword [esp + 0x48], eax
setl ch
mov byte [esp + 0x1f], ch
test edx, 0x4000000
je 0x418205
mov eax, dword [esi + 0x47ac]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x47a8]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
setne al
or cl, al
or ch, cl
mov byte [esp + 0x1f], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x418224
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x418281
push edx
mov dl, byte [esp + 0x14]
mov ecx, edi
call fcn.00415c40
mov eax, dword [esp + 0x50]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
movzx eax, word [esi + 0x3e3c]
inc dword [esi + 0x3e3c]
mov word [edi + 0xbc], ax
jmp 0x418288
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x418296
xor ecx, ecx
jmp 0x4182a3
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x4c]
je 0x4182c0
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x4182c6
mov eax, dword [edi + 0x2f8]
cmp dword [edi + 0xe4], 0
mov dword [esp + 0x40], eax
lea eax, [edi + 0xe4]
jne 0x4182ff
cmp dword [eax + 4], 0
jne 0x4182ee
push 8
mov ecx, eax
call fcn.00424900
lea eax, [edi + 0xe4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe4]
push 0x3c
lea eax, [esp + 0xc8]
mov dword [esi + 0x3e48], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x46f4]
lea edx, [esi + 0x3e24]
mov dword [esp + 0x108], eax
xorps xmm0, xmm0
movzx eax, word [edi + 0xe4]
add esp, 0xc
movups xmmword [esp + 0x100], xmm0
mov word [esp + 0x100], ax
movzx eax, word [esi + 0x4758]
movups xmm0, xmmword [esi + 0x46bc]
mov ecx, dword [edx]
mov word [esp + 0x102], ax
movzx eax, word [esi + 0x4764]
mov word [esp + 0x104], ax
movzx eax, word [esi + 0x4770]
mov word [esp + 0x106], ax
movzx eax, word [esi + 0x477c]
mov word [esp + 0x108], ax
movzx eax, word [esi + 0x4794]
movups xmmword [esp + 0xc4], xmm0
mov word [esp + 0x10a], ax
movups xmm0, xmmword [esi + 0x46cc]
movzx eax, word [esi + 0x4788]
mov word [esp + 0x10c], ax
movzx eax, word [esi + 0x47ac]
movups xmmword [esp + 0xd4], xmm0
mov word [esp + 0x10e], ax
movups xmm0, xmmword [esi + 0x46dc]
movzx eax, word [esi + 0x5a04]
mov word [esp + 0x110], 0
movups xmmword [esp + 0xe4], xmm0
mov word [esp + 0x110], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46ec]
mov dword [esp + 0xc0], edi
movq qword [esp + 0xf4], xmm0
mov dword [esp + 0x28], eax
cmp ecx, eax
jne 0x418448
inc ecx
test eax, eax
je 0x418430
cdq
sub eax, edx
lea edx, [esi + 0x3e24]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x418435
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00424f00
lea edx, [esi + 0x3e24]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [esp + 0xc0]
mov eax, dword [esp + 0x110]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0x100]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x4184a7
inc dword [esi + 0x47b8]
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x418551
mov edx, dword [esp + 0x40]
mov dword [edi + 0x2f8], edx
mov dword [edi + 0x30c], edi
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test edx, edx
je 0x418525
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x4184f5
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x418509
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x418525
test ecx, 0x5000000
je 0x418525
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x418547
mov ecx, edi
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x418530
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [0x889ebc]
mov ecx, dword [eax + 0x4780]
lea edx, [eax + 0x477c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
cmp dword [edx], ecx
jne 0x4185a5
test ecx, ecx
je 0x418588
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x41858d
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00424900
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], edi
mov eax, edi
inc dword [edx]
test dword [esp + 0x14], 0x4000000
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov dword [ecx + 0x469c], eax
mov eax, dword [esi + 0x469c]
mov dword [edi + 0x34c], eax
mov dword [esi + 0x3e48], 0
je 0x418696
mov eax, dword [esi + 0x47ac]
mov edx, dword [esi + 0x47a8]
mov dword [esp + 0x20], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x148]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x47ac]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x28], eax
cmp ecx, eax
jne 0x418651
inc ecx
test eax, eax
je 0x418639
cdq
sub eax, edx
lea edx, [esi + 0x47ac]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x41863e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00424e80
lea edx, [esi + 0x47ac]
mov eax, dword [edx]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
movups xmm0, xmmword [esi + edi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edi*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, edi
mov edi, dword [esp + 0x44]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0xc0], eax
xor dl, dl
mov byte [esp + 0x13], 0
test byte [esi + 0x46f8], 1
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], dl
je 0x418750
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46fc]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x41873f
movss xmm1, dword [esi + 0x4714]
movss xmm0, dword [esi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x80201c]
jbe 0x41873f
mov eax, dword [esi + 0x4708]
mov ecx, dword [esi + 0x470c]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4710]
mov ecx, dword [esi + 0x4714]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0xd0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd0], ecx
jmp 0x418750
push ecx
lea edx, [esi + 0x4708]
mov ecx, edi
call fcn.0041b010
add esp, 4
test byte [esi + 0x46f8], 2
xorps xmm1, xmm1
je 0x4187b6
movsx eax, byte [edi + 0xd1]
mov ecx, dword [esi + 0x4700]
and eax, ecx
je 0x418781
movss xmm0, dword [esi + 0x4718]
comiss xmm0, xmm1
jbe 0x418781
mov byte [esp + 0x11], 1
jmp 0x41878b
xor dl, dl
mov byte [esp + 0x11], dl
test eax, eax
je 0x41879d
movss xmm0, dword [esi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x4187a2
mov byte [esp + 0x12], 0
push ecx
lea edx, [esi + 0x4718]
mov ecx, edi
call fcn.0041b170
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46f8], 0x80
je 0x4187fd
movss xmm0, dword [esi + 0x4728]
comiss xmm0, xmm1
jb 0x4187de
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x472c]
comiss xmm0, xmm1
jb 0x4187fd
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f8], 4
je 0x41881a
mov eax, dword [esi + 0x4720]
mov ecx, dword [esi + 0x4724]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x418832
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x418832
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f8], 8
je 0x41887f
mov ecx, dword [esi + 0x4704]
mov dl, byte [esi + 0x4730]
test ecx, ecx
je 0x418856
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x41887f
movzx ecx, byte [edi + 0xd2]
mov eax, dword [edi + 0xd0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xad], dl
mov dword [edi + 0xd0], ecx
test byte [esi + 0x46f8], 0x20
je 0x418891
xor edx, edx
mov ecx, edi
call fcn.0041a830
cmp byte [edi + 0xb0], 0
je 0x4188af
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x41a34a
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
mov byte [edi + 0xb4], 0
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0xcd]
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov byte [esp + 0x37], al
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [edi + 0xe8]
cmp eax, 1
jge 0x418948
test eax, eax
je 0x41892b
cdq
sub eax, edx
lea edx, [edi + 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x418936
mov ecx, 8
lea edx, [edi + 0xe4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00424900
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.0042d890
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x4189b3
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.00424d50
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.00424b70
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x493c], 0
je 0x418a9e
test dword [edi + 0xc], 0x80000
jne 0x418a9e
cmp dword [esp + 0x60], 0
je 0x418a9e
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x418a05
test dl, dl
je 0x418a01
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418a05
add eax, 2
add ecx, 2
test dl, dl
jne 0x4189e5
xor eax, eax
jmp 0x418a0a
sbb eax, eax
or eax, 1
test eax, eax
je 0x418a9e
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418a24
sub ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
cmp edx, eax
mov eax, dword [esp + 0x20]
jae 0x418a82
test eax, eax
je 0x418a52
mov ecx, dword [0x889ebc]
test ecx, ecx
je 0x418a52
dec dword [ecx + 0xb4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x889ebc]
add esp, 4
test eax, eax
je 0x418a6b
inc dword [eax + 0xb4]
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], ecx
jmp 0x418a86
mov ecx, dword [esp + 0x24]
push ecx
push dword [esp + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
mov ecx, edi
push eax
lea edx, [edi + 0x2c]
call fcn.004162a0
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x418ac1
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x418ad3
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x418ae5
dec al
mov byte [edi + 0xce], al
cmp dword [esp + 0x60], 0
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
jne 0x418b03
test al, al
je 0x418afc
test cl, cl
jne 0x418b03
mov byte [edi + 0xcd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x418b62
test edx, 0x6000000
je 0x418b62
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x418b62
test al, al
jne 0x418b34
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x418b46
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [0x889ebc]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 0x47c4]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [esp + 0x64], eax
mov dword [ecx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x418b9a
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a20]
jmp 0x418b9c
xor eax, eax
mov dword [ecx + 0x4a04], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x418bca
mulss xmm0, dword [eax + 0x25c]
cmp dword [esp + 0x18], 0
movss dword [ecx + 0x3bcc], xmm0
movss dword [ecx + 0x3bb8], xmm0
jne 0x418bee
cmp dword [edi + 0x190], 0
jne 0x418bee
mov al, 1
jmp 0x418bf0
xor al, al
mov byte [edi + 0x150], al
test edx, 0x1000000
je 0x418c08
movss xmm0, dword [esi + 0x37b8]
jmp 0x418c2a
test edx, 0x6000000
je 0x418c22
test edx, 0x8000000
jne 0x418c22
movss xmm0, dword [esi + 0x37c0]
jmp 0x418c2a
movss xmm0, dword [esi + 0x379c]
mov eax, edi
xorps xmm2, xmm2
movss dword [eax + 0x50], xmm0
mov eax, dword [esi + 0x3790]
mov ecx, dword [esi + 0x3794]
mov dword [edi + 0x44], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x48], ecx
cmp eax, 0x1000000
jne 0x418c7e
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x418c7e
test edx, 0x400
je 0x418c6f
movss xmm0, dword [esi + 0x3794]
jmp 0x418c72
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x37d4]
maxss xmm0, dword [esi + 0x4750]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x4754]
mov dword [edi + 0x158], eax
mov al, byte [esp + 0x10]
mov dword [esp + 0x20], eax
test dl, 0x21
jne 0x418dff
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x418cc5
xorps xmm3, xmm3
jmp 0x418cf7
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x418ce7
mulss xmm0, dword [eax + 0x25c]
movss xmm3, dword [ecx + 0x37c8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0x14]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x18]
addss xmm4, dword [edi + 0x24]
addss xmm3, dword [edi + 0x18]
mov edx, dword [esp + 0x24]
cmp dword [esi + 0x3e4c], edi
jne 0x418db3
cmp dword [esi + 0x3e80], 0
jne 0x418db3
cmp dword [esi + 0x3e84], 0
jne 0x418db3
mov eax, dword [edx + 0x3e48]
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
maxss xmm5, dword [eax + 0x210]
minss xmm4, dword [eax + 0x218]
maxss xmm6, dword [eax + 0x214]
minss xmm3, dword [eax + 0x21c]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xdc0]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x418db3
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm6
jb 0x418db3
comiss xmm4, xmm1
jbe 0x418db3
comiss xmm3, xmm0
jbe 0x418db3
cmp word [esi + 0x370a], 2
jne 0x418db3
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x418e06
mov cl, byte [edi + 0xad]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [esp + 0x20]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x20], eax
jne 0x418e06
comiss xmm2, dword [edx + 0x5a44]
jb 0x418e06
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a44], eax
jmp 0x418e06
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [esp + 0x58], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x418e46
xorps xmm3, xmm3
jmp 0x418e7b
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bbc]
test edx, edx
je 0x418e68
mulss xmm0, dword [edx + 0x25c]
movss xmm3, dword [ecx + 0x37c8]
mov edx, dword [edi + 0xc]
addss xmm3, xmm3
addss xmm3, xmm0
test edx, 0x400
je 0x418ebf
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bbc]
test eax, eax
je 0x418ea5
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x418ec2
xorps xmm1, xmm1
addss xmm1, xmm3
mov dword [edi + 0x60], 0
lea eax, [edi + 0x34]
mov dword [edi + 0xa0], 0
push eax
mov edx, edi
mov dword [edi + 0xa4], 0
lea ecx, [esp + 0x6c]
movss dword [edi + 0x58], xmm1
call fcn.004163d0
add esp, 4
test byte [esp + 0x14], 0x40
je 0x418f43
cmp byte [edi + 0xad], 0
jne 0x418f43
cmp byte [esp + 0x11], 0
jne 0x418f1f
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x418fef
movss xmm0, dword [esp + 0x6c]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x20], eax
jmp 0x418fef
mov al, byte [edi + 0xc4]
test al, al
jg 0x418f5a
cmp byte [edi + 0xc5], 0
jle 0x418fef
cmp byte [esp + 0x11], 0
jne 0x418f8b
test al, al
jle 0x418f8b
cmp byte [edi + 0xc7], 0
je 0x418f7b
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [esp + 0x68]
jmp 0x418f81
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x418fc2
cmp byte [edi + 0xc5], 0
jle 0x418fc2
cmp byte [edi + 0xc7], 0
je 0x418fb1
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x6c]
jmp 0x418fb7
movss xmm0, dword [esp + 0x6c]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x20], eax
cmp byte [edi + 0xad], 0
jne 0x418fef
test dword [edi + 0xc], 0x100
mov ecx, dword [0x889ebc]
jne 0x418fef
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a44]
jb 0x418fef
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a44], eax
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [esp + 0x8c]
call fcn.00416090
add esp, 4
cmp byte [edi + 0xad], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm0
je 0x41908b
test dword [esp + 0x14], 0x1000000
jne 0x41908b
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x419037
xorps xmm1, xmm1
jmp 0x419069
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x419059
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
subss xmm2, dword [edi + 0x14]
subss xmm1, dword [edi + 0x18]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
jmp 0x419099
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x1f], 0
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
je 0x4190fb
mov eax, ecx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x4190fb
cmp byte [esp + 0x13], 0
jne 0x4190fb
mov eax, dword [esi + 0x47ac]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47b4]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
mov ecx, dword [esp + 0x14]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
test ecx, 0x1000000
je 0x4191a0
mov edx, dword [esp + 0x40]
mov ax, word [edx + 0x180]
lea ecx, [edx + 0x180]
mov word [edi + 0xba], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], ecx
cmp dword [ecx], eax
jne 0x41915b
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x419143
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x419148
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00424900
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x188]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x180]
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
test ecx, 0x4000000
jne 0x4191a4
test al, al
jne 0x4191a4
cmp dword [esp + 0x2c], 0x3000000
je 0x4191a4
mov ecx, dword [edx + 0xf4]
mov eax, dword [edx + 0xf0]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x14], eax
mov al, byte [esp + 0x13]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x802150]
lahf
test ah, 0x44
jnp 0x41920a
cmp byte [edi + 0xcd], 0
jne 0x41920a
movss xmm0, dword [edi + 0xdc]
lea edx, [esp + 0x38]
mulss xmm0, dword [edi + 0x1c]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [edi + 0xe0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x40], xmm0
call fcn.0041b010
add esp, 4
jmp 0x419258
test ecx, 0x10000000
jne 0x41923a
test ecx, 0x4000000
je 0x419224
test al, al
jne 0x419224
cmp byte [esp + 0x37], al
jg 0x41923a
test ecx, 0x2000000
je 0x41925c
test al, al
jne 0x41925c
cmp dword [esp + 0x2c], 0x3000000
je 0x41925c
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.0041e700
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x64]
movss xmm3, dword [esi + 0x3848]
movss xmm2, dword [esi + 0x3844]
maxss xmm3, dword [esi + 0x3850]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x384c]
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [esp + 0x90], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [esp + 0x94], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [esp + 0x98], xmm5
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0xbc], xmm6
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm7
movss dword [esp + 0xb0], xmm2
jne 0x4193bb
test ecx, 0x1000000
jne 0x4193bb
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x4193bb
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x4193bb
mov eax, dword [0x889ebc]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x419386
test byte [edi + 0xc], 1
jne 0x419386
mov edx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [edx + 0x3bbc]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x419376
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [edx + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x18]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x4193a0
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x4193b1
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x14], xmm2
movss dword [edi + 0x18], xmm3
cvttss2si eax, dword [edi + 0x14]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm0
test ecx, 0x1000000
je 0x4193ef
movss xmm2, dword [esi + 0x37b4]
jmp 0x41940f
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x419407
movss xmm2, dword [esi + 0x37bc]
jmp 0x41940f
movss xmm2, dword [esi + 0x3798]
xor al, al
movss dword [edi + 0x4c], xmm2
mov dword [esp + 0x24], eax
cmp byte [esp + 0x1f], al
je 0x41944c
test ecx, 0x1000
jne 0x41944c
test ecx, 0x4000000
je 0x419437
mov byte [esp + 0x24], 1
jmp 0x41944c
test ecx, 0x3000000
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [esp + 0x24], eax
movss xmm1, dword [esi + 0x3bb8]
xorps xmm0, xmm0
addss xmm2, dword [0x80208c]
movaps xmmword [esp + 0x120], xmm0
xor eax, eax
cmp byte [esi + 0x66], al
movaps xmm0, xmm1
mulss xmm1, dword [0x802040]
setne al
mov dword [esp + 0xac], 0xffffffff
mulss xmm0, dword [0x802090]
inc eax
cmp byte [edi + 0xad], 0
addss xmm1, xmm2
mov dword [esp + 0x88], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x4194e1
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x124]
push ecx
push eax
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
lea edx, [esp + 0x78]
call fcn.004166f0
mov ecx, dword [esp + 0x24]
add esp, 0x10
test al, al
je 0x4194e1
mov dl, 1
mov byte [esp + 0x10], dl
jmp 0x4194e5
mov edx, dword [esp + 0x20]
cmp byte [edi + 0xad], 0
mov al, byte [esp + 0xac]
mov byte [edi + 0xb5], al
jne 0x419670
cmp dword [esp + 0x60], 0
lea eax, [esp + 0x38]
movss xmm0, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
movss xmm3, dword [edi + 0x1dc]
addss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x1d0]
subss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x28]
movss xmm5, dword [edi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [esp + 0x18]
addss xmm3, dword [esp + 0x58]
jne 0x419560
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x419588
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x2c]
addss xmm1, dword [edi + 0x30]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
cmp byte [esp + 0x10], 0
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
jne 0x41959b
movaps xmm5, xmm2
test dl, dl
jne 0x4195a2
movaps xmm4, xmm3
test ecx, 0x4000
jne 0x4195b8
comiss xmm6, xmm4
jbe 0x4195b4
test cl, 8
je 0x4195b8
xor al, al
jmp 0x4195ba
mov al, 1
mov byte [esp + 0x10], al
mov byte [edi + 0xa9], al
test ecx, 0x8000
jne 0x41960b
mov edx, dword [esp + 0x30]
xorps xmm0, xmm0
test al, al
je 0x4195e1
movss xmm1, dword [edx + 0x37fc]
jmp 0x4195e4
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x4195ff
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x10]
je 0x41960b
mov byte [edi + 0xa8], 0
xorps xmm1, xmm1
jmp 0x41963b
mov byte [edi + 0xa8], 1
test al, al
jne 0x41962c
comiss xmm6, xmm4
jbe 0x419624
test cl, 8
jne 0x419624
mov al, 1
jmp 0x419626
xor al, al
mov byte [edi + 0xa9], al
mov edx, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x37fc]
test al, al
je 0x419647
movss xmm0, dword [edx + 0x37fc]
movss dword [edi + 0xa0], xmm0
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0xa4], xmm1
movss dword [edi + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
jmp 0x419674
mov edx, dword [esp + 0x30]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x419697
cmp dword [esp + 0x2c], 0x3000000
je 0x419697
mov eax, dword [esp + 0x40]
add eax, 0x210
jmp 0x41969e
lea eax, [esp + 0x90]
test byte [edi + 0xc], 1
movups xmm0, xmmword [eax]
mov eax, dword [edi]
movss xmm6, dword [edi + 0x14]
movss xmm2, dword [edi + 0x18]
movaps xmm3, xmm6
addss xmm3, dword [edi + 0x1c]
movaps xmm5, xmm2
movss dword [esp + 0x28], xmm6
addss xmm5, dword [edi + 0x20]
movups xmmword [esp + 0x70], xmm0
je 0x4196d3
xorps xmm0, xmm0
jmp 0x419707
movss xmm1, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x4196f5
mulss xmm1, dword [eax + 0x25c]
mov eax, dword [edi]
movss xmm0, dword [eax + 0x37c8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm7, dword [edi + 0x18]
addss xmm0, xmm2
movaps xmm1, xmm6
movss dword [esp + 0x94], xmm7
addss xmm1, dword [edi + 0x24]
movss dword [esp + 0x90], xmm6
mov eax, ecx
and eax, 0x401
xorps xmm4, xmm4
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x98], xmm1
movss dword [edi + 0x1c0], xmm6
movss dword [edi + 0x1c4], xmm2
movss dword [edi + 0x1c8], xmm3
movss dword [edi + 0x1cc], xmm5
movss xmm0, dword [edi + 0x1c0]
movss xmm5, dword [esp + 0x70]
movss xmm6, dword [esp + 0x74]
maxss xmm0, xmm5
movss dword [esp + 0x64], xmm1
maxss xmm2, xmm6
movss dword [edi + 0x1c0], xmm0
movss dword [edi + 0x1c4], xmm2
movss xmm1, dword [edi + 0x1c8]
movss xmm0, dword [edi + 0x1cc]
minss xmm0, dword [esp + 0x7c]
minss xmm1, dword [esp + 0x78]
movss dword [edi + 0x1cc], xmm0
movss dword [edi + 0x1c8], xmm1
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x54]
addss xmm7, dword [edi + 0x1c]
movss dword [esp + 0x58], xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm1, xmm0
addss xmm0, dword [edi + 0x20]
addss xmm1, dword [edi + 0x58]
subss xmm7, dword [edi + 0x5c]
subss xmm0, dword [edi + 0x60]
movss dword [esp + 0x20], xmm1
movss dword [edi + 0x1d4], xmm1
movss dword [edi + 0x1d8], xmm7
movss dword [esp + 0x5c], xmm0
movss dword [edi + 0x1dc], xmm0
cmp eax, 1
jne 0x419836
movss xmm0, dword [edi + 0x50]
jmp 0x41983e
movss xmm0, dword [edx + 0x37d0]
movss xmm2, dword [0x802058]
movss dword [esp + 0x18], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm2
movss xmm3, dword [esp + 0x7c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm2
addss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm6, xmm0
jbe 0x4198fe
movaps xmm1, xmm6
jmp 0x419905
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x41991c
movaps xmm0, xmm5
jmp 0x419923
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
comiss xmm6, xmm0
ja 0x419947
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm5, xmm0
ja 0x41995b
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm6
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm4
jbe 0x419989
test dword [esp + 0x14], 0x2000040
jne 0x419989
mulss xmm0, dword [0x802060]
jmp 0x419999
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [0x8020f8]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x240], xmm0
lea ecx, [esp + 0x38]
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x48]
addss xmm1, xmm1
movss dword [edi + 0x80], xmm0
movss xmm0, dword [edi + 0x1dc]
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x84], xmm0
call fcn.0041dc20
mov ecx, dword [edi + 0x264]
mov dword [esp + 0x5c], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x30]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
lea edi, [ecx + 0x48]
mov eax, dword [eax + 0x3bb4]
mov edx, dword [edi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
cmp edx, eax
jne 0x419a9d
lea ecx, [edx + 1]
test eax, eax
je 0x419a8b
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x419a90
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00424900
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x5c]
inc dword [edi]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x70], eax
call fcn.0042dcc0
mov ecx, dword [0x889ebc]
push 0
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
lea eax, [esp + 0x7c]
mov edi, dword [ecx + 0x3e48]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, dword [edi + 0x264]
call fcn.0042de10
mov eax, dword [edi + 0x264]
mov byte [esp + 0x11], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x210], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 0x214], xmm0
and eax, 0x5000000
movss dword [edi + 0x218], xmm1
movss dword [edi + 0x21c], xmm2
cmp eax, 0x1000000
jne 0x419c04
cmp dword [esp + 0x2c], 0x3000000
je 0x419c04
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x419bc2
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x419bc2
mov edi, dword [esp + 0x44]
movss xmm5, dword [eax + 0x18]
movss xmm7, dword [eax + 0x14]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x20]
movss xmm6, dword [edi + 0x14]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x18]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x1c]
addss xmm4, dword [edi + 0x1c]
comiss xmm0, dword [edi + 0x18]
addss xmm2, dword [edi + 0x20]
jbe 0x419bc6
comiss xmm2, xmm5
jbe 0x419bc6
comiss xmm3, xmm6
jbe 0x419bc6
comiss xmm4, xmm7
jbe 0x419bc6
mov byte [esp + 0x10], 1
jmp 0x419bcb
mov edi, dword [esp + 0x44]
mov byte [esp + 0x10], 0
mov edx, dword [edi + 0x264]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x419c08
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x419c08
cmp byte [esp + 0x10], 0
jne 0x419c08
mov byte [esp + 0x11], 1
mov dword [edi + 0x264], eax
jmp 0x419c08
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4934]
test ecx, ecx
jne 0x419c1c
mov ecx, dword [eax + 0x47c8]
cmp byte [esp + 0x24], 0
jne 0x419c3c
test ecx, ecx
je 0x419c35
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x419c3c
mov byte [esp + 0x18], 0
jmp 0x419c41
mov byte [esp + 0x18], 1
movd xmm0, esi
lea eax, [esp + 0x120]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x94]
movss dword [esp], xmm0
push eax
push dword [esp + 0x90]
push ecx
push dword [esp + 0x28]
mov ecx, edi
call fcn.004176a0
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x419c86
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x419cad
movss dword [esp + 0x18], xmm6
jmp 0x419cef
movss xmm0, dword [edi + 0x44]
mov eax, ecx
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x419ce2
movss xmm0, dword [edi + 0x2c]
jmp 0x419ce5
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x419d02
movaps xmm7, xmm5
jmp 0x419d34
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
test dl, dl
je 0x419d2d
movss xmm7, dword [edi + 0x30]
jmp 0x419d30
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x44]
movss xmm4, dword [edi + 0x78]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, xmm4
movss dword [esp + 0x88], xmm1
maxss xmm1, dword [edi + 0x50]
movss dword [esp + 0x58], xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1f0], xmm2
movss xmm0, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x48]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x5c], xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm2, dword [esp + 0x18]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm7, xmm0
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x1f8], xmm2
movss xmm2, dword [esp + 0x88]
movss dword [edi + 0x1fc], xmm7
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x14]
movss xmm3, dword [edi + 0x54]
movaps xmm1, xmm0
subss xmm1, xmm4
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x38], xmm3
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x220], xmm1
movss xmm4, dword [edi + 0x18]
movss xmm0, dword [edi + 0x58]
movaps xmm7, xmm4
subss xmm7, dword [esp + 0x20]
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x2c], xmm7
movss xmm4, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x5c]
addss xmm4, xmm7
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x2c], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x224], xmm0
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jp 0x419e88
movss xmm6, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm6, xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x5c]
subss xmm6, xmm0
ucomiss xmm5, xmm4
addss xmm1, xmm6
lahf
movss dword [edi + 0x228], xmm1
movss xmm1, dword [esp + 0x18]
test ah, 0x44
jp 0x419ebf
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x2c]
lea ecx, [edi + 0x15c]
addss xmm0, xmm5
mov esi, dword [esp + 0x30]
movss xmm5, dword [esp + 0x58]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movss xmm3, dword [esp + 0x44]
cvtps2pd xmm3, xmm3
subss xmm0, xmm5
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm2, dword [esp + 0x88]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x802010]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x144], xmm0
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [edi + 0x104]
movss dword [edi + 0xf0], xmm1
movss dword [edi + 0xf4], xmm0
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x110], xmm1
movss dword [edi + 0x114], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x128], 0
mov word [edi + 0x130], 0
mov dword [edi + 0x148], 0
mov ax, word [edi + 0x14e]
mov word [edi + 0x14c], ax
mov dword [edi + 0x14e], 0x10000
movss xmm0, dword [edi + 0x84]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1f], 0
mov byte [edi + 0x152], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x153], 0
movss xmm1, dword [esi + 0x37d4]
mov dword [esp + 0x18], eax
je 0x41a09a
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x41a09e
mov dword [esp + 0x18], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.004418e0
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x160]
mov dword [edi + 0x15c], eax
lea eax, [edi + 0x180]
mov dword [edi + 0x160], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x41a110
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x180]
call fcn.00424900
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x41a146
mov eax, dword [eax + 0x198]
jmp 0x41a14b
mov eax, 1
mov dword [edi + 0x19c], eax
mov eax, dword [edi + 0x240]
mov dword [edi + 0x1a0], eax
lea eax, [edi + 0x1a8]
mov dword [edi + 0x1a4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x41a196
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1a8]
call fcn.00424900
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x41a1cb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1b4]
call fcn.00424900
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x41a1e3
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x41a1f5
dec al
mov byte [edi + 0xc5], al
cmp byte [esp + 0x24], 0
je 0x41a219
mov edx, 2
mov ecx, edi
call fcn.0041a830
cmp edi, dword [esi + 0x47c8]
jne 0x41a219
xor dl, dl
mov ecx, edi
call fcn.0041faa0
test byte [esp + 0x14], 1
jne 0x41a276
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x70]
addss xmm0, dword [edi + 0x50]
push ecx
push dword [esp + 0x58]
mov ecx, edi
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [edi + 0x50]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x84], xmm0
call fcn.00417c80
add esp, 8
mov edx, dword [0x889ebc]
xor eax, eax
movss xmm3, dword [esp + 0x28]
movss xmm4, dword [esp + 0x64]
movss xmm2, dword [esp + 0x50]
movss xmm5, dword [esp + 0x94]
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xdc0]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x41a2eb
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm5
jb 0x41a2eb
comiss xmm4, xmm1
jbe 0x41a2eb
comiss xmm2, xmm0
mov dword [esp + 0x28], 1
ja 0x41a2ef
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x46a0]
movaps xmm0, xmmword [esp + 0x90]
mov dword [edx + 0x46bc], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x46c0], ecx
mov dword [edx + 0x46c4], eax
movups xmmword [edx + 0x46d8], xmm0
movups xmmword [edx + 0x46c8], xmm0
mov eax, dword [esi + 0x46a4]
test eax, eax
je 0x41a3c3
cmp dword [edi + 8], eax
je 0x41a340
cmp dword [edi + 0x70], eax
jne 0x41a3c3
call fcn.00423de0
jmp 0x41a3c3
mov edx, dword [0x889ebc]
mov dword [edx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x41a36f
imul ecx, eax, 0x1e8
add ecx, dword [edx + 0x4a20]
jmp 0x41a371
xor ecx, ecx
mov dword [edx + 0x4a04], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x41a39b
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3bcc], xmm0
movss dword [edx + 0x3bb8], xmm0
test ecx, ecx
jne 0x41a3bb
cmp dword [edi + 0x190], ecx
jne 0x41a3bb
mov al, 1
jmp 0x41a3bd
xor al, al
mov byte [edi + 0x150], al
mov ecx, dword [0x889ebc]
push 1
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
lea eax, [edi + 0x1e8]
mov esi, dword [ecx + 0x3e48]
push eax
lea eax, [edi + 0x1e0]
push eax
mov ecx, dword [esi + 0x264]
call fcn.0042de10
mov eax, dword [esi + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x210], eax
mov eax, dword [esp + 0x48]
movss dword [esi + 0x214], xmm0
movss dword [esi + 0x218], xmm1
movss dword [esi + 0x21c], xmm2
mov byte [edi + 0xac], 0
inc word [edi + 0xb6]
mov dword [ecx + 0x46f8], 0
cmp eax, dword [esp + 0x4c]
je 0x41a5c4
mov eax, dword [esp + 0x14]
test eax, 0x1000000
je 0x41a52a
test al, 0x40
jne 0x41a4f0
cmp byte [edi + 0xc4], 0
jg 0x41a4f0
cmp byte [edi + 0xc5], 0
jg 0x41a4f0
test eax, 0x800000
je 0x41a4b8
cmp byte [ecx + 0x4804], 0
je 0x41a4b8
mov eax, dword [ecx + 0x47c8]
test eax, eax
je 0x41a4b8
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x41a4b8
mov al, 1
jmp 0x41a4ba
xor al, al
cmp byte [ecx + 0x5aa4], 0
jne 0x41a4f0
test al, al
jne 0x41a4f0
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x41a4e9
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x41a4f0
mov byte [edi + 0xcc], 1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x41a52a
cmp byte [eax + 0xad], 0
jne 0x41a50a
cmp byte [eax + 0xcc], 0
jle 0x41a511
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x41a523
cmp byte [eax + 0xcd], 0
jle 0x41a52a
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3788]
jb 0x41a53d
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x41a55d
cmp byte [edi + 0xcd], 0
jg 0x41a55d
xor dl, dl
cmp byte [edi + 0xce], dl
jg 0x41a55f
xor al, al
jmp 0x41a561
mov dl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x41a584
dec al
mov byte [edi + 0xcf], al
mov eax, dword [edi + 0xc]
or eax, 0xc0200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xad], al
jne 0x41a59a
cmp byte [edi + 0xaa], al
je 0x41a59a
test dl, dl
je 0x41a5be
cmp byte [edi + 0xc4], 0
jg 0x41a5be
cmp byte [edi + 0xc5], 0
jg 0x41a5be
cmp byte [edi + 0xcd], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x41a61b
cmp byte [ecx + 0x6c], 0
je 0x41a5da
cmp dword [esp + 0x60], 0
je 0x41a5ef
cmp byte [ecx + 0x6d], 0
je 0x41a61b
movsx eax, byte [ecx + 0x5afa]
cmp eax, dword [ecx + 0x3e24]
jne 0x41a61b
mov al, byte [edi + 0xc4]
test al, al
jle 0x41a601
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x41a613
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xaf], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret