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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x4a8040]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x591c50]
push edi
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x5c], esi
call fcn.0040dda0
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x84], ecx
mov edi, ecx
sete al
mov dword [esp + 0x30], edi
mov byte [esp + 0x10], al
mov eax, ecx
mov dword [esp + 0x58], eax
test ecx, ecx
jne 0x40fdfc
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x98]
call fcn.0040dee0
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], edi
mov edx, dword [esp + 0xc]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x40fe17
or edx, 6
mov dword [esp + 0xc], edx
cmp dword [esi + 0x1c24], 0
mov eax, dword [eax + 0x290]
mov ecx, dword [esi + 0x1be0]
mov dword [esp + 0x80], eax
lea eax, [esi + 0x1c24]
mov dword [esp + 0x70], ecx
jne 0x40fe4a
cmp byte [esi + 0x1bf1], 0
je 0x40fe4a
mov al, 1
jmp 0x40fe4c
xor al, al
mov byte [edi + 0xcb], al
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0x290], eax
setl al
mov byte [esp + 0x13], al
test edx, 0x4000000
je 0x40feac
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x1dc4]
mov edx, dword [edx + 0x1dc0]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0xd8]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
setne al
or cl, al
mov al, byte [esp + 0x13]
or al, cl
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x13], al
mov byte [edi + 0xc9], al
test al, al
je 0x40fed2
or byte [edi + 0xe8], 8
or byte [edi + 0xe9], 8
or byte [edi + 0xea], 8
or byte [edi + 0xeb], 8
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x70]
mov eax, dword [edi + 8]
je 0x40ff25
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 8], edx
mov dword [ecx + 0x290], eax
xor eax, eax
movsd xmm0, qword [esi + 0x1bd8]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x298], xmm0
mov word [edi + 0xd0], ax
movzx eax, word [esi + 0x1c3c]
inc dword [esi + 0x1c3c]
mov word [edi + 0xd2], ax
jmp 0x40ff29
mov dword [esp + 0xc], eax
test dword [esi + 0x1cd0], 0x200
je 0x40ff4b
push dword [esi + 0x1ce0]
mov edx, dword [esi + 0x1d30]
mov ecx, edi
call fcn.004211b0
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x70]
je 0x40ffae
cmp dword [edi + 0x3c4], 0
jne 0x40ff90
cmp dword [edi + 0x3bc], 0
jne 0x40ff90
mov eax, dword [0x591c50]
cmp byte [eax + 0xb1], 0
jne 0x40ff7e
cmp byte [edi + 0x2c], 0
je 0x40ffae
test dword [edi + 8], 0x1200001
jne 0x40ffae
cmp byte [edi + 0xcb], 0
jne 0x40ffae
mov edx, dword [esp + 0x9c]
mov ecx, edi
call fcn.004215f0
mov ecx, dword [edi + 8]
and dword [esi + 0x1cd0], 0xffffffef
mov dword [esp + 0xc], ecx
jmp 0x40ffb2
mov ecx, dword [esp + 0xc]
test byte [edi + 0x3a1], 1
je 0x40ffc6
mov eax, dword [edi + 0x3bc]
mov edx, dword [eax + 0x68]
jmp 0x40ffda
mov edx, dword [esi + 0x1c24]
test edx, edx
je 0x40ffda
mov eax, dword [esi + 0x1c2c]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], edx
cmp eax, dword [esp + 0x70]
je 0x40fffa
mov eax, ecx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, edx
jmp 0x410000
mov eax, dword [edi + 0x358]
cmp dword [edi + 0xfc], 0
lea ecx, [edi + 0xfc]
mov dword [esp + 0x68], eax
jne 0x41001c
lea eax, [edi + 4]
push eax
call fcn.00422e80
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x1c24]
call fcn.00422e80
mov ecx, dword [0x591c50]
mov dword [esi + 0x1c48], edi
mov eax, dword [ecx + 0x1c48]
movzx eax, word [eax + 0xfc]
mov word [edi + 0x208], ax
movzx eax, word [ecx + 0x1d70]
mov word [edi + 0x20a], ax
movzx eax, word [ecx + 0x1d7c]
mov word [edi + 0x20c], ax
movzx eax, word [ecx + 0x1d88]
mov word [edi + 0x20e], ax
movzx eax, word [ecx + 0x1d94]
mov word [edi + 0x210], ax
movzx eax, word [ecx + 0x1dac]
mov word [edi + 0x212], ax
movzx eax, word [ecx + 0x1dc4]
mov ecx, dword [esp + 0xc]
mov word [edi + 0x214], ax
mov dword [esi + 0x1c48], 0
test ecx, 0x4000000
je 0x41015a
mov eax, dword [esi + 0x1dc4]
lea ecx, [esi + 0x1dc4]
mov edx, dword [esi + 0x1dc0]
mov dword [esp + 0x6c], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x410111
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x4100fb
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x410100
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00423860
lea ecx, [esi + 0x1dc4]
mov eax, dword [ecx]
mov esi, dword [esp + 0x6c]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x5c]
mov dword [ecx + edx*4 + 0x20], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
inc dword [esi + 0x1dc4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0xd8], eax
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x70]
je 0x410209
mov edx, dword [esp + 0x68]
mov dword [edi + 0x358], edx
mov dword [edi + 0x368], edi
mov dword [edi + 0x364], edi
mov dword [edi + 0x360], edi
mov dword [edi + 0x35c], edi
test edx, edx
je 0x4101e5
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x4101c9
test byte [edi + 0x3a1], 1
mov eax, dword [edx + 0x360]
mov dword [edi + 0x360], eax
jne 0x4101c9
test dword [edx + 8], 0x20000000
jne 0x4101c9
mov eax, dword [edx + 0x35c]
mov dword [edi + 0x35c], eax
test ecx, 0x8000000
jne 0x4101e5
test ecx, 0x5000000
je 0x4101e5
mov eax, dword [edx + 0x364]
mov dword [edi + 0x364], eax
test dword [edi + 8], 0x800000
je 0x410209
mov ecx, edi
lea edx, [ecx + 0x368]
mov eax, dword [ecx + 0x358]
mov ecx, eax
mov dword [edx], eax
test dword [ecx + 8], 0x800000
jne 0x4101f6
test byte [esi + 0x1cd0], 1
mov byte [esp + 0x12], 0
mov byte [esp + 0xa], 0
mov byte [esp + 0x11], 0
je 0x4102c5
movsx eax, byte [edi + 0xe8]
mov ecx, dword [esi + 0x1cd4]
test ecx, eax
setne byte [esp + 0x12]
test ecx, eax
je 0x4102b4
movss xmm1, dword [esi + 0x1cf0]
movss xmm0, dword [esi + 0x1cec]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4a3508]
jbe 0x4102b4
mov eax, dword [esi + 0x1ce4]
mov ecx, dword [esi + 0x1ce8]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], ecx
mov eax, dword [esi + 0x1cec]
mov ecx, dword [esi + 0x1cf0]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
movzx ecx, byte [edi + 0xe8]
mov eax, dword [edi + 0xe8]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xe8], ecx
jmp 0x4102c5
push ecx
lea edx, [esi + 0x1ce4]
mov ecx, edi
call fcn.00413580
add esp, 4
test byte [esi + 0x1cd0], 2
xorps xmm1, xmm1
je 0x41032b
movsx eax, byte [edi + 0xe9]
mov ecx, dword [esi + 0x1cd8]
and eax, ecx
je 0x4102f6
movss xmm0, dword [esi + 0x1cf4]
comiss xmm0, xmm1
jbe 0x4102f6
mov byte [esp + 0xa], 1
jmp 0x410300
xor dl, dl
mov byte [esp + 0xa], dl
test eax, eax
je 0x410312
movss xmm0, dword [esi + 0x1cf8]
comiss xmm0, xmm1
mov byte [esp + 0x11], 1
ja 0x410317
mov byte [esp + 0x11], 0
push ecx
lea edx, [esi + 0x1cf4]
mov ecx, edi
call fcn.004136a0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1cd0], 0x80
je 0x410372
movss xmm0, dword [esi + 0x1d04]
comiss xmm0, xmm1
jb 0x410353
movss dword [edi + 0xa0], xmm0
mov dword [edi + 0xa8], 0
movss xmm0, dword [esi + 0x1d08]
comiss xmm0, xmm1
jb 0x410372
movss dword [edi + 0xa4], xmm0
mov dword [edi + 0xac], 0
test byte [esi + 0x1cd0], 4
je 0x41038f
mov eax, dword [esi + 0x1cfc]
mov ecx, dword [esi + 0x1d00]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], ecx
jmp 0x4103aa
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x70]
je 0x4103aa
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
test dword [esi + 0x1cd0], 0x400
je 0x4103cc
movups xmm0, xmmword [esi + 0x1d34]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x1d44]
movups xmmword [edi + 0x20], xmm0
test byte [esi + 0x1cd0], 8
je 0x410419
mov ecx, dword [esi + 0x1cdc]
mov dl, byte [esi + 0x1d0d]
test ecx, ecx
je 0x4103f0
movsx eax, byte [edi + 0xea]
test ecx, eax
je 0x410419
movzx ecx, byte [edi + 0xea]
mov eax, dword [edi + 0xe8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xc6], dl
mov dword [edi + 0xe8], ecx
test byte [esi + 0x1cd0], 0x20
je 0x410429
mov ecx, edi
call fcn.00413190
cmp byte [edi + 0xc9], 0
je 0x41044e
and byte [edi + 0xe8], 0xf7
and byte [edi + 0xe9], 0xf7
and byte [edi + 0xea], 0xf7
and byte [edi + 0xeb], 0xf7
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x70]
je 0x412b02
mov eax, dword [esp + 0xc]
lea ecx, [edi + 0xfc]
and eax, 0x3000000
mov byte [edi + 0xc3], 1
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x74], eax
setne al
mov byte [edi + 0xcc], al
mov dword [edi + 0x268], 0xff7fffff
mov dword [edi + 0x26c], 0xff7fffff
mov dword [edi + 0x270], 0x7f7fffff
push 1
mov dword [edi + 0x274], 0x7f7fffff
call fcn.00423990
mov ecx, dword [edi + 0x2c4]
call fcn.0042bb20
mov dword [edi + 0x1d4], 0xffffffff
cmp byte [edi + 0x3a0], 0
je 0x41051a
mov byte [edi + 0x3a0], 0
mov ecx, dword [edi + 0x2c4]
push dword [edi + 0x398]
add ecx, 0xc
call fcn.00423bc0
mov ecx, dword [edi + 0x2c4]
push dword [edi + 0x39c]
add ecx, 0x18
call fcn.00423a40
mov dword [edi + 0x39c], 0
mov dword [edi + 0x398], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x410526
cmp dword [eax + 0x6c], edi
je 0x410549
test byte [edi + 0x3a1], 1
jne 0x410549
cmp dword [esi + 0x1f28], 0
je 0x41062a
test dword [edi + 8], 0x80000
jne 0x41062a
cmp dword [esp + 0x84], 0
je 0x41062a
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x98]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410586
test dl, dl
je 0x410582
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410586
add eax, 2
add ecx, 2
test dl, dl
jne 0x410566
xor eax, eax
jmp 0x41058b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41062a
mov ecx, dword [esp + 0x98]
mov edx, dword [edi + 0x84]
mov dword [esp + 0x58], edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4105b0
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
cmp edx, eax
jae 0x41060d
test ecx, ecx
je 0x4105dd
mov eax, dword [0x591c50]
test eax, eax
je 0x4105dd
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x591c50]
add esp, 4
test eax, eax
je 0x4105f6
inc dword [eax + 0x374]
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
push eax
push dword [esp + 0x9c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x58]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0xe5]
lea edx, [edi + 0x5c]
mov byte [esp + 0x37], al
mov ecx, edi
lea eax, [edi + 0x64]
push eax
call fcn.0040e460
mov al, byte [edi + 0xe4]
add esp, 4
test al, al
jle 0x410657
dec al
mov byte [edi + 0xe4], al
mov al, byte [edi + 0xe5]
test al, al
jle 0x410669
dec al
mov byte [edi + 0xe5], al
mov al, byte [edi + 0xe6]
test al, al
jle 0x41067b
dec al
mov byte [edi + 0xe6], al
cmp dword [esp + 0x84], 0
mov cl, byte [esp + 0xa]
mov dl, byte [esp + 0x11]
jne 0x41069c
test cl, cl
je 0x410695
test dl, dl
jne 0x41069c
mov byte [edi + 0xe5], 1
cmp byte [esp + 0x13], 0
je 0x4106f9
mov eax, dword [esp + 0xc]
test eax, 0x6000000
je 0x4106f9
mov byte [edi + 0xe5], 1
test al, 0x40
je 0x4106f9
test cl, cl
jne 0x4106cb
mov dword [edi + 0x54], 0
mov dword [edi + 0x4c], 0
test dl, dl
jne 0x4106dd
mov dword [edi + 0x58], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov ecx, edi
call fcn.0041a3d0
mov edx, dword [edi + 0x30]
mov ecx, dword [0x591c50]
test edx, edx
je 0x410716
mov eax, dword [ecx + 0x1be0]
mov dword [edx + 0x4c], eax
movss xmm0, dword [0x4a35c4]
cmp dword [ecx + 0x1de0], edx
je 0x410769
test edx, edx
je 0x410759
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x1ddc], eax
mov eax, dword [ecx + 0x1560]
mov dword [ecx + 0x1de0], edx
test eax, eax
je 0x410769
push edx
call eax
movss xmm0, dword [0x4a35c4]
add esp, 4
mov ecx, dword [0x591c50]
jmp 0x410769
mov dword [ecx + 0x1ddc], 0x3f800000
mov dword [ecx + 0x1de0], edx
test dword [esi + 8], 0x8000
je 0x41077a
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0x28]
movss dword [edi + 0x2bc], xmm0
mov dword [ecx + 0x1c48], edi
mov eax, dword [edi + 0x1d4]
cmp eax, 0xffffffff
je 0x4107a1
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ff8]
jmp 0x4107a3
xor eax, eax
movss xmm0, dword [ecx + 0x19dc]
mov dword [ecx + 0x1fec], eax
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x4107d3
mulss xmm0, dword [eax + 0x2b8]
movss dword [ecx + 0x19ec], xmm0
movss dword [ecx + 0x19d8], xmm0
mov edx, dword [edi + 8]
mov dword [esp + 0xc], edx
test edx, 0x1000000
je 0x410800
mov eax, dword [esi + 0x15c4]
mov dword [edi + 0x80], eax
jmp 0x41082a
test edx, 0x6000000
je 0x41081a
test edx, 0x8000000
jne 0x41081a
movss xmm0, dword [esi + 0x15cc]
jmp 0x410822
movss xmm0, dword [esi + 0x15a8]
movss dword [edi + 0x80], xmm0
test byte [edi + 0x3a1], 1
xorps xmm4, xmm4
jne 0x410884
mov eax, edx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x410884
movss xmm0, dword [edi + 0x80]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x410884
test edx, 0x400
je 0x410873
movss xmm0, dword [esi + 0x15a0]
mov dword [edi + 0x74], 0
movss dword [edi + 0x78], xmm0
jmp 0x41089c
xorps xmm0, xmm0
mov dword [edi + 0x74], 0
movss dword [edi + 0x78], xmm0
jmp 0x41089c
mov ecx, dword [esi + 0x15a0]
mov eax, dword [esi + 0x159c]
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], ecx
mov ecx, dword [0x591c50]
movss xmm0, dword [edi + 0x74]
maxss xmm0, dword [esi + 0x15e0]
maxss xmm0, dword [esi + 0x1d54]
movss dword [edi + 0x18c], xmm0
mov eax, dword [esi + 0x1d58]
mov dword [edi + 0x190], eax
test dl, 0x21
jne 0x410a74
test byte [edi + 0x3a1], 1
jne 0x410a74
test byte [edi + 8], 1
je 0x4108e6
xorps xmm3, xmm3
jmp 0x410920
movss xmm0, dword [ecx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x410910
mulss xmm0, dword [eax + 0x2b8]
movss xmm3, dword [ecx + 0x15d4]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm6, dword [edi + 0x44]
movaps xmm5, xmm6
movss xmm7, dword [edi + 0x48]
addss xmm5, dword [edi + 0x54]
addss xmm3, dword [edi + 0x48]
cmp dword [esi + 0x1c4c], edi
jne 0x410a3e
cmp dword [esi + 0x1c70], 0
jne 0x410a3e
cmp dword [esi + 0x1c74], 0
jne 0x410a3e
mov eax, dword [ecx + 0x1c48]
movss xmm1, dword [ecx + 0x15f8]
minss xmm5, dword [eax + 0x270]
minss xmm3, dword [eax + 0x274]
maxss xmm6, dword [eax + 0x268]
maxss xmm7, dword [eax + 0x26c]
movaps xmm0, xmm5
addss xmm0, xmm1
movaps xmm2, xmm3
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ecx + 0x15fc]
addss xmm2, xmm0
subss xmm7, xmm0
movss xmm0, dword [ecx + 0xe4]
movss dword [esp + 0x94], xmm2
movaps xmm2, xmm6
subss xmm2, xmm1
comiss xmm0, xmm2
jb 0x410a3e
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm7
jb 0x410a3e
movss xmm1, dword [esp + 0x20]
comiss xmm1, dword [ecx + 0xe4]
jbe 0x410a3e
movss xmm1, dword [esp + 0x94]
comiss xmm1, xmm0
jbe 0x410a3e
mov eax, dword [ecx + 0x1de4]
movss xmm2, dword [eax + 0xc]
movss xmm7, dword [eax + 8]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm7
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [esp + 0x38]
jbe 0x410a3e
comiss xmm3, xmm2
jbe 0x410a3e
comiss xmm1, xmm6
jbe 0x410a3e
comiss xmm5, xmm7
jbe 0x410a3e
cmp byte [esi + 0x3e5], 0
je 0x410a3e
mov byte [edi + 0xc7], 1
cmp byte [edi + 0xc7], 0
je 0x410a7b
cmp byte [edi + 0xc6], 0
sete al
mov byte [edi + 0xc6], al
test dword [edi + 8], 0x100
jne 0x410a7b
comiss xmm4, dword [ecx + 0x2fe4]
jb 0x410a7b
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2fe4], eax
jmp 0x410a7b
mov byte [edi + 0xc6], 0
lea eax, [edi + 0x64]
mov byte [edi + 0xc7], 0
push eax
mov edx, edi
lea ecx, [esp + 0xd8]
call fcn.0040e590
mov cl, byte [esp + 0x14]
add esp, 4
test byte [esp + 0xc], 0x40
mov byte [esp + 0xb], cl
je 0x410aec
cmp byte [edi + 0xc6], 0
jne 0x410aec
cmp byte [esp + 0xa], 0
jne 0x410ac9
movss xmm0, dword [esp + 0xd4]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x11], 0
jne 0x410ba3
movss xmm0, dword [esp + 0xd8]
movss dword [edi + 0x58], xmm0
mov byte [esp + 0xb], 1
jmp 0x410ba3
mov al, byte [edi + 0xdc]
test al, al
jg 0x410b03
cmp byte [edi + 0xdd], 0
jle 0x410ba3
cmp byte [esp + 0xa], 0
jne 0x410b3a
test al, al
jle 0x410b3a
cmp byte [edi + 0xdf], 0
je 0x410b27
movss xmm0, dword [edi + 0x54]
maxss xmm0, dword [esp + 0xd4]
jmp 0x410b30
movss xmm0, dword [esp + 0xd4]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x11], 0
jne 0x410b76
cmp byte [edi + 0xdd], 0
jle 0x410b76
cmp byte [edi + 0xdf], 0
je 0x410b63
movss xmm0, dword [edi + 0x58]
maxss xmm0, dword [esp + 0xd8]
jmp 0x410b6c
movss xmm0, dword [esp + 0xd8]
movss dword [edi + 0x58], xmm0
mov byte [esp + 0xb], 1
cmp byte [edi + 0xc6], 0
jne 0x410ba3
test dword [edi + 8], 0x100
mov ecx, dword [0x591c50]
jne 0x410ba3
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2fe4]
jb 0x410ba3
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2fe4], eax
lea eax, [edi + 0x54]
mov edx, edi
push eax
lea ecx, [esp + 0x90]
call fcn.0040e210
mov edx, dword [0x591c50]
add esp, 4
mov dword [esp + 0x14], edx
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0xc]
movss dword [edi + 0x54], xmm2
movss dword [edi + 0x58], xmm1
cmp byte [edi + 0xc6], 0
je 0x410c47
test eax, 0x1000000
jne 0x410c47
test byte [edi + 8], 1
je 0x410bf4
xorps xmm1, xmm1
jmp 0x410c2e
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test ecx, ecx
je 0x410c1e
mulss xmm0, dword [ecx + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x44]
addss xmm2, dword [edi + 0x54]
addss xmm1, dword [edi + 0x48]
subss xmm2, dword [edi + 0x44]
subss xmm1, dword [edi + 0x48]
movss dword [edi + 0x4c], xmm2
movss dword [edi + 0x50], xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x410c5e
xorps xmm1, xmm1
jmp 0x410c9b
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test ecx, ecx
je 0x410c88
mulss xmm0, dword [ecx + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
mov ecx, dword [edi + 8]
addss xmm1, xmm1
addss xmm1, xmm0
test ecx, 0x400
je 0x410ce7
movss xmm2, dword [edx + 0x19dc]
mulss xmm2, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x358]
mulss xmm2, dword [edi + 0x2bc]
test ecx, ecx
je 0x410ccd
mulss xmm2, dword [ecx + 0x2b8]
movss xmm0, dword [edx + 0x15d4]
addss xmm2, dword [edi + 0x190]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x410cea
xorps xmm2, xmm2
cmp byte [esp + 0x13], 0
addss xmm2, xmm1
movss dword [esp + 0x58], xmm2
je 0x410d3d
and eax, 0xc000000
mov dword [edi + 0xe0], 0xffffffff
cmp eax, 0x4000000
jne 0x410d3d
cmp byte [esp + 0x12], 0
jne 0x410d3d
mov eax, dword [esi + 0x1dc4]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1dcc]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
mov ecx, dword [esp + 0xc]
test ecx, 0x1000000
je 0x410da8
mov ecx, dword [esp + 0x68]
add ecx, 0x1c0
mov ax, word [ecx]
mov word [edi + 0xd0], ax
lea eax, [esp + 0x30]
push eax
call fcn.00422e80
mov ecx, dword [esp + 0xc]
test ecx, 0x4000000
jne 0x410d9e
cmp byte [esp + 0x12], 0
jne 0x410d9e
cmp dword [esp + 0x74], 0x3000000
je 0x410d9e
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x108]
mov ecx, dword [ecx + 0x10c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [0x591c50]
mov dword [esp + 0x14], edx
movss xmm1, dword [edi + 0xec]
ucomiss xmm1, dword [0x4a36c4]
lahf
test ah, 0x44
jnp 0x410e11
cmp byte [edi + 0xe5], 0
jne 0x410e11
movss xmm0, dword [edi + 0xf4]
lea edx, [esp + 0x78]
mulss xmm0, dword [edi + 0x4c]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xf0]
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [edi + 0x50]
mulss xmm1, dword [edi + 0xf8]
subss xmm0, xmm1
movss dword [esp + 0x80], xmm0
call fcn.00413580
add esp, 4
jmp 0x410e72
test ecx, 0x10000000
je 0x410e1f
lea ecx, [esp + 0x78]
jmp 0x410e58
mov al, byte [esp + 0x12]
test ecx, 0x4000000
je 0x410e3b
test al, al
jne 0x410e3b
cmp byte [esp + 0x37], al
jle 0x410e3b
lea ecx, [esp + 0x38]
jmp 0x410e58
test ecx, 0x2000000
je 0x410e72
test al, al
jne 0x410e72
cmp dword [esp + 0x74], 0x3000000
je 0x410e72
lea ecx, [esp + 0xb0]
mov edx, edi
call fcn.00414c60
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x44], xmm0
movss dword [edi + 0x48], xmm1
cmp dword [edi + 0x40], 0
jl 0x410fe3
cmp byte [edi + 0xc2], 0
jne 0x410fe3
mov eax, dword [edi + 0x30]
test dword [eax + 4], 0x400
jne 0x410fe3
movss xmm0, dword [edi + 0x44]
lea ecx, [edi + 0x44]
comiss xmm0, dword [eax + 8]
movss xmm6, dword [eax + 0xc]
movaps xmm2, xmm0
movss xmm7, dword [edi + 0x48]
movaps xmm5, xmm6
movss xmm3, dword [eax + 8]
movaps xmm4, xmm7
addss xmm3, dword [eax + 0x10]
addss xmm5, dword [eax + 0x14]
addss xmm2, dword [edi + 0x4c]
addss xmm4, dword [edi + 0x50]
jb 0x410ee6
comiss xmm7, xmm6
jb 0x410ee6
comiss xmm3, xmm2
jb 0x410ee6
comiss xmm5, xmm4
jae 0x410fe3
mov edx, dword [edi + 4]
lea eax, [edi + 0x4c]
push 0x20
push eax
push ecx
mov ecx, edi
call fcn.0041a120
mov edx, dword [0x591c50]
mov ecx, eax
add esp, 0xc
mov dword [edi + 0x30], ecx
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x410f16
mov eax, dword [edx + 0x1be0]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x1de0], ecx
je 0x410f5d
test ecx, ecx
je 0x410f4d
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x1ddc], eax
mov eax, dword [edx + 0x1560]
mov dword [edx + 0x1de0], ecx
test eax, eax
je 0x410f5d
push ecx
call eax
mov edx, dword [0x591c50]
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x410f5d
mov dword [edx + 0x1ddc], 0x3f800000
mov dword [edx + 0x1de0], ecx
test dword [esi + 8], 0x8000
je 0x410f70
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0x28]
jmp 0x410f78
movss xmm0, dword [0x4a35c4]
movss dword [edi + 0x2bc], xmm0
mov dword [edx + 0x1c48], edi
mov eax, dword [edi + 0x1d4]
cmp eax, 0xffffffff
je 0x410f9f
imul eax, eax, 0x228
add eax, dword [edx + 0x1ff8]
jmp 0x410fa1
xor eax, eax
movss xmm0, dword [edx + 0x19dc]
mov dword [edx + 0x1fec], eax
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x410fd1
mulss xmm0, dword [eax + 0x2b8]
movss dword [edx + 0x19ec], xmm0
movss dword [edx + 0x19d8], xmm0
jmp 0x410fe7
mov edx, dword [esp + 0x14]
cmp byte [edi + 0xc2], 0
mov byte [esp + 0xa], 0
je 0x41125d
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], ecx
cmp byte [ecx + 0x44], 0
mov eax, dword [ecx + 8]
je 0x411032
mov ecx, dword [ecx + 0xc]
xorps xmm3, xmm3
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
test dword [edi + 8], 0x100
jne 0x41105d
comiss xmm3, dword [edx + 0x2fe4]
jb 0x41105d
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2fe4], eax
jmp 0x41105d
cmp eax, dword [edi + 0x44]
jne 0x41103f
mov eax, dword [ecx + 0xc]
cmp eax, dword [edi + 0x48]
je 0x41105a
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov byte [esp + 0xa], 1
mov dword [esi + 8], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
xorps xmm3, xmm3
mov ecx, dword [edi + 0x30]
cmp byte [ecx + 0x45], 0
je 0x4110a1
movss xmm0, dword [ecx + 0x10]
movss xmm1, dword [ecx + 0x14]
movss dword [edi + 0x54], xmm0
movss dword [edi + 0x58], xmm1
movss dword [edi + 0x4c], xmm0
movss dword [edi + 0x50], xmm1
test dword [edi + 8], 0x100
jne 0x4110c5
comiss xmm3, dword [edx + 0x2fe4]
jb 0x4110c5
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2fe4], eax
jmp 0x4110c5
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi + 0x4c]
jne 0x4110b1
mov eax, dword [ecx + 0x14]
cmp eax, dword [edi + 0x50]
je 0x4110c5
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x50]
mov byte [esp + 0xa], 1
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
cmp byte [esp + 0xa], 0
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0xe0]
movaps xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
je 0x41113c
mov ecx, dword [edi + 0x30]
call fcn.0041acb0
mov eax, dword [edi + 0x30]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 0x1b
and ecx, 0xfffffce7
and eax, 0xffffff01
mov dword [esp + 0x40], ecx
or dword [esp + 0x40], 0x200
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x16000000
test edx, 0x2000000
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
cmove eax, ecx
cmp byte [esi + 0xb4], 0
mov dword [esp + 0x40], eax
jne 0x411196
cmp dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
je 0x4111af
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test cl, cl
jne 0x4111b3
mov eax, dword [esp + 0x40]
or eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x4111b3
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xb5], 0
jne 0x4111cc
cmp dword [esp + 0x30], 0
je 0x4111e5
or eax, 8
mov dword [esp + 0x1c], eax
jmp 0x4111da
or eax, 8
cmp dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
je 0x4111e5
test cl, cl
jne 0x4111e5
or eax, 0x60
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4111f4
mov ecx, dword [edi + 0x30]
mov dword [ecx + 0x2c], eax
jmp 0x411227
test edx, 0x6000000
je 0x411211
mov eax, dword [esp + 0x60]
test eax, eax
je 0x411211
mov eax, dword [eax + 0x30]
mov ecx, dword [edi + 0x30]
mov eax, dword [eax]
mov dword [ecx + 0x2c], eax
jmp 0x411227
xor eax, eax
mov ecx, 0x11111111
cmp byte [esi + 0xb6], al
cmovne ecx, eax
mov eax, dword [edi + 0x30]
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x411238
or ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x411247
not eax
and ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x30]
or ecx, 0x100
test dl, 0x80
cmovne ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x411261
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x12], 0
mov eax, dword [edi + 0x30]
movss xmm6, dword [esi + 0x1640]
maxss xmm6, dword [esi + 0x1648]
movss xmm4, dword [esi + 0x163c]
movss xmm2, dword [eax + 0x18]
movss xmm5, dword [eax + 0x1c]
movaps xmm7, xmm2
addss xmm7, dword [eax + 0x20]
addss xmm5, dword [eax + 0x24]
movss xmm1, dword [eax + 8]
movaps xmm3, xmm6
movss xmm0, dword [eax + 0xc]
maxss xmm4, dword [esi + 0x1644]
addss xmm3, dword [eax + 0x1c]
movss dword [esp + 0x40], xmm1
subss xmm5, xmm6
movss dword [esp + 0xe0], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0x1c], xmm0
subss xmm7, xmm4
movss dword [esp + 0xe4], xmm0
addss xmm2, xmm4
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0xf4], xmm3
movss dword [esp + 0x60], xmm1
movss dword [esp + 0xe8], xmm1
movss dword [esp + 0xf0], xmm2
movss dword [esp + 0x30], xmm0
movss dword [esp + 0xec], xmm0
movss dword [esp + 0xf8], xmm7
movss dword [esp + 0xfc], xmm5
jne 0x411524
test edx, 0x1000000
jne 0x411524
cmp byte [edi + 0xdc], 0
jg 0x411524
cmp byte [edi + 0xdd], 0
jg 0x411524
cmp byte [edi + 0xc2], 0
jne 0x411417
movaps xmm0, xmm1
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x40]
comiss xmm0, xmm1
jbe 0x411524
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
comiss xmm0, xmm1
jbe 0x411528
cmp byte [edx + 0xbc], 0
movss xmm1, dword [edi + 0x50]
je 0x4113dd
test byte [edi + 8], 1
jne 0x4113dd
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x4113cd
mulss xmm0, dword [eax + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x48]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x4c]
comiss xmm3, xmm0
ja 0x4113f7
movaps xmm3, xmm5
minss xmm3, xmm0
movss xmm0, dword [edi + 0x44]
comiss xmm2, xmm0
ja 0x411408
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x44], xmm2
movss dword [edi + 0x48], xmm3
jmp 0x411528
cmp dword [esi + 0x1580], 0
mov edx, dword [esp + 0x14]
jle 0x411528
mov eax, dword [edi + 0x30]
movsx eax, word [eax + 0x68]
test eax, eax
js 0x411449
cmp eax, dword [edx + 0x1580]
jge 0x411449
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1588]
lea eax, [eax + ecx*4]
jmp 0x41144f
lea eax, [edx + 0x1df0]
movaps xmm1, xmm4
movaps xmm2, xmm6
addss xmm1, dword [eax + 0x10]
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0xf0], xmm1
movss dword [esp + 0xf4], xmm2
movss xmm5, dword [eax + 0x10]
addss xmm5, dword [eax + 0x18]
subss xmm5, xmm4
movss xmm4, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0xf8], xmm5
subss xmm4, xmm6
movss dword [esp + 0xfc], xmm4
cmp byte [edx + 0xbc], 0
movss xmm3, dword [edi + 0x50]
je 0x4114ed
test byte [edi + 8], 1
jne 0x4114ed
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x4114dd
mulss xmm0, dword [eax + 0x2b8]
movss xmm3, dword [edx + 0x15d4]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [edi + 0x48]
subss xmm2, xmm3
subss xmm1, dword [edi + 0x4c]
comiss xmm2, xmm0
ja 0x411507
movaps xmm2, xmm4
minss xmm2, xmm0
movss xmm0, dword [edi + 0x44]
comiss xmm1, xmm0
ja 0x411518
movaps xmm1, xmm5
minss xmm1, xmm0
movss dword [edi + 0x44], xmm1
movss dword [edi + 0x48], xmm2
jmp 0x411528
mov edx, dword [esp + 0x14]
cvttss2si eax, dword [edi + 0x44]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x48]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x44], xmm1
movss dword [edi + 0x48], xmm0
cmp byte [edi + 0xc2], 0
jne 0x4115a3
test byte [edi + 0x3a1], 1
jne 0x4115a3
mov ecx, dword [esp + 0xc]
test ecx, 0x1000000
je 0x411577
movss xmm0, dword [esi + 0x15c0]
movss dword [edi + 0x7c], xmm0
jmp 0x4115ae
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x411594
movss xmm0, dword [esi + 0x15c8]
movss dword [edi + 0x7c], xmm0
jmp 0x4115ae
movss xmm0, dword [esi + 0x15a4]
movss dword [edi + 0x7c], xmm0
jmp 0x4115ae
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x7c], 0
xor al, al
mov dword [esp + 0x14], eax
cmp byte [esp + 0x13], al
je 0x4115f7
test ecx, 0x1000
jne 0x4115f7
test ecx, 0x4000000
je 0x4115d1
mov byte [esp + 0x14], 1
jmp 0x4115f7
test byte [edi + 0x3a1], 1
jne 0x4115e2
test ecx, 0x1000000
jne 0x4115f7
test ecx, 0x2000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x3c0], 0
jne 0x41160d
test byte [edi + 0x3a1], 1
je 0x41160d
xor cl, cl
jmp 0x41160f
mov cl, 1
xor eax, eax
mov dword [esp + 0xdc], 0xffffffff
cmp byte [esi + 0xbb], al
xorps xmm0, xmm0
movaps xmmword [esp + 0x100], xmm0
setne al
inc eax
test cl, cl
je 0x41167c
cmp byte [edi + 0xc6], 0
jne 0x41167c
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x104]
push ecx
push eax
lea eax, [esp + 0xe8]
mov ecx, edi
push eax
lea edx, [esp + 0xe4]
call fcn.0040e850
mov edx, dword [0x591c50]
add esp, 0x10
test al, al
je 0x41167c
mov byte [esp + 0xb], 1
mov byte [esp + 0x10], 1
mov al, byte [esp + 0xdc]
mov byte [edi + 0xcd], al
cmp byte [edi + 0xc2], 0
je 0x4117cb
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x44], 0
jne 0x4116b9
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [esi + 8], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x45], 0
jne 0x4116dc
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0xe0]
movaps xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [esp + 0xc4], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0xc0], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xc8], xmm1
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x40], xmm0
mov eax, dword [edi + 0x30]
xorps xmm5, xmm5
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
cmp byte [edi + 0xc6], 0
jne 0x41192c
cmp dword [esp + 0x84], 0
movss xmm2, dword [edi + 0x230]
movss xmm3, dword [edi + 0x234]
subss xmm2, dword [edi + 0x228]
subss xmm3, dword [edi + 0x22c]
movss xmm4, dword [edi + 0x58]
movss xmm6, dword [edi + 0x54]
subss xmm4, dword [esp + 0x58]
addss xmm2, dword [edi + 0xb8]
addss xmm3, dword [edi + 0xbc]
jne 0x41183c
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x411858
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x78]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x60]
mov al, byte [esp + 0x10]
test al, al
jne 0x411863
movaps xmm6, xmm2
cmp byte [esp + 0xb], 0
jne 0x41186d
movaps xmm4, xmm3
mov ecx, dword [esp + 0xc]
test ecx, 0x4000
jne 0x411887
comiss xmm0, xmm4
jbe 0x411883
test cl, 8
je 0x411887
xor al, al
jmp 0x411889
mov al, 1
mov byte [edi + 0xc1], al
test ecx, 0x8000
jne 0x4118c8
test al, al
je 0x4118a5
movss xmm2, dword [esi + 0x1608]
jmp 0x4118a8
xorps xmm2, xmm2
subss xmm6, xmm2
comiss xmm1, xmm6
jbe 0x4118bf
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x4118c8
mov byte [edi + 0xc0], 0
jmp 0x4118ee
mov byte [edi + 0xc0], 1
cmp byte [edi + 0xc1], 0
jne 0x4118ee
comiss xmm0, xmm4
jbe 0x4118e6
test cl, 8
jne 0x4118e6
mov al, 1
jmp 0x4118e8
xor al, al
mov byte [edi + 0xc1], al
cmp byte [edi + 0xc0], 0
je 0x411901
movss xmm1, dword [esi + 0x1608]
jmp 0x411904
xorps xmm1, xmm1
cmp byte [edi + 0xc1], 0
je 0x411917
movss xmm0, dword [esi + 0x1608]
jmp 0x41191a
xorps xmm0, xmm0
movss dword [edi + 0xb8], xmm0
movss dword [edi + 0xbc], xmm1
jmp 0x411930
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x411953
cmp dword [esp + 0x74], 0x3000000
je 0x411953
mov eax, dword [esp + 0x68]
add eax, 0x268
jmp 0x41195a
lea eax, [esp + 0xe0]
test byte [edi + 8], 1
movss xmm6, dword [edi + 0x44]
movups xmm0, xmmword [eax]
movss xmm4, dword [edi + 0x48]
movaps xmm2, xmm6
addss xmm2, dword [edi + 0x4c]
movaps xmm3, xmm4
movss dword [esp + 0x20], xmm6
addss xmm3, dword [edi + 0x50]
movups xmmword [esp + 0xc0], xmm0
je 0x411990
xorps xmm1, xmm1
jmp 0x4119ca
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x4119ba
mulss xmm0, dword [eax + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
movaps xmm0, xmm6
movss dword [esp + 0xa0], xmm6
addss xmm0, dword [edi + 0x54]
movaps xmm7, xmm4
addss xmm7, xmm1
movss xmm1, dword [edi + 0x48]
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xac], xmm7
movss dword [edi + 0x218], xmm6
movss dword [edi + 0x21c], xmm4
movss dword [edi + 0x220], xmm2
movss dword [edi + 0x224], xmm3
test byte [edi + 0x3a1], 1
movss dword [esp + 0x18], xmm7
je 0x411a95
test byte [edi + 8], 1
je 0x411a4b
xorps xmm1, xmm1
jmp 0x411a85
movss xmm0, dword [edx + 0x19dc]
mulss xmm0, dword [edi + 0x2b8]
mov eax, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test eax, eax
je 0x411a75
mulss xmm0, dword [eax + 0x2b8]
movss xmm1, dword [edx + 0x15d4]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, dword [edi + 0x21c]
movss dword [edi + 0x21c], xmm1
movss xmm1, dword [edi + 0x218]
movss xmm0, dword [edi + 0x21c]
movss xmm2, dword [esp + 0xc0]
movss xmm3, dword [esp + 0xc4]
maxss xmm1, xmm2
movss xmm7, dword [esp + 0xc8]
maxss xmm0, xmm3
movss xmm6, dword [esp + 0xcc]
movss dword [edi + 0x218], xmm1
movss dword [edi + 0x21c], xmm0
movss xmm0, dword [edi + 0x224]
movss xmm1, dword [edi + 0x220]
minss xmm0, xmm6
minss xmm1, xmm7
movss dword [edi + 0x224], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [edi + 0x220], xmm1
mov eax, dword [edi + 0x44]
mov dword [edi + 0x228], eax
mov eax, ecx
addss xmm0, dword [edi + 0x48]
and eax, 0x401
movss dword [edi + 0x22c], xmm0
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0xb8]
movss dword [edi + 0x230], xmm0
movss xmm0, dword [edi + 0x50]
addss xmm0, dword [edi + 0x48]
subss xmm0, dword [edi + 0xbc]
movss dword [edi + 0x234], xmm0
cmp eax, 1
jne 0x411b6f
movss xmm4, dword [edi + 0x80]
jmp 0x411b77
movss xmm4, dword [esi + 0x15dc]
movss xmm0, dword [edi + 0x74]
mulss xmm0, dword [0x4a3578]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x228]
addss xmm0, dword [0x4a3578]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x80]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x238], xmm0
movss xmm0, dword [edi + 0x22c]
addss xmm0, dword [0x4a3578]
addss xmm0, xmm4
movss xmm4, dword [0x4a3578]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x23c], xmm0
movss xmm0, dword [edi + 0x74]
mulss xmm0, xmm4
movss xmm1, dword [edi + 0x230]
addss xmm1, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x80]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x240], xmm0
movss xmm0, dword [edi + 0x234]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x80]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x244], xmm0
movss xmm0, dword [edi + 0x23c]
comiss xmm3, xmm0
jbe 0x411c65
movaps xmm1, xmm3
jmp 0x411c6c
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm4, dword [edi + 0x238]
comiss xmm2, xmm4
jbe 0x411c7e
movaps xmm0, xmm2
jmp 0x411c85
movaps xmm0, xmm7
minss xmm0, xmm4
movss dword [edi + 0x238], xmm0
movss dword [edi + 0x23c], xmm1
movss xmm0, dword [edi + 0x244]
comiss xmm3, xmm0
jbe 0x411ca7
movaps xmm1, xmm3
jmp 0x411cae
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm3, dword [edi + 0x240]
comiss xmm2, xmm3
jbe 0x411cc0
movaps xmm0, xmm2
jmp 0x411cc7
movaps xmm0, xmm7
minss xmm0, xmm3
movss dword [edi + 0x240], xmm0
movss dword [edi + 0x244], xmm1
movss xmm0, dword [edi + 0x4c]
comiss xmm0, xmm5
jbe 0x411cf3
test ecx, 0x2000040
jne 0x411cf3
mulss xmm0, dword [0x4a3580]
jmp 0x411d03
movss xmm0, dword [esi + 0x19d8]
mulss xmm0, dword [0x4a3650]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0xb0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x29c], xmm0
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x230]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x228]
addss xmm1, dword [edi + 0x5c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x98], xmm0
movss xmm1, dword [edi + 0x78]
movss xmm0, dword [edi + 0x234]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x22c]
addss xmm1, dword [edi + 0x60]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
call fcn.00413bd0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x90], xmm0
movss dword [edi + 0x94], xmm1
mov dword [edi + 0xa0], 0x7f7fffff
mov dword [edi + 0xa4], 0x7f7fffff
mov eax, dword [esi + 0x19d4]
mov ecx, dword [edi + 0x2c4]
mov dword [esp + 0x78], ecx
add ecx, 0x48
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], eax
cmp edx, eax
jne 0x411e1a
lea ecx, [edx + 1]
test eax, eax
je 0x411dfc
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x8c]
jmp 0x411e01
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00423da0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x38]
mov dword [eax + edx*4], esi
mov eax, esi
inc dword [ecx]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x70], eax
call fcn.0042bf40
mov ecx, dword [0x591c50]
movss xmm0, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xc4]
mov esi, dword [esp + 0x5c]
mov eax, dword [ecx + 0x1c48]
movss dword [esp + 0xb0], xmm0
maxss xmm0, dword [esp + 0xc8]
movss dword [esp + 0xb4], xmm1
maxss xmm1, dword [esp + 0xcc]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
mov dword [esp + 0x84], eax
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xbc], xmm1
mov eax, dword [eax + 0x2c4]
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], eax
cmp edx, eax
jne 0x411eee
lea ecx, [edx + 1]
test eax, eax
je 0x411ed6
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x78]
jmp 0x411edb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00423d20
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0xb0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x8c]
movups xmmword [ecx + 0x60], xmm0
call fcn.0042bea0
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x2c4]
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 [edx + 0x268], eax
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
mov edx, dword [esp + 0xc]
test edx, 0x8000000
je 0x411fcb
mov eax, dword [0x591c50]
mov eax, dword [eax + 0x1db8]
sub eax, 1
mov dword [esp + 0x78], eax
js 0x411fb7
lea ecx, [eax + eax*8]
mov eax, dword [0x591c50]
lea ecx, [ecx + 1]
mov eax, dword [eax + 0x1dc0]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x411fa7
test dword [ecx + 8], 0x8000000
jne 0x411fb9
mov ecx, dword [esp + 0x38]
sub ecx, 0x24
sub eax, 1
mov dword [esp + 0x38], ecx
jns 0x411f98
xor ecx, ecx
cmp edi, ecx
jne 0x411fcb
cmp byte [edi + 0xe5], 0
mov byte [esp + 0xb], 1
jle 0x411fd0
mov byte [esp + 0xb], 0
mov ecx, dword [esi + 0x1f24]
test ecx, ecx
je 0x411ff8
cmp edi, dword [ecx + 0x360]
je 0x411ff4
mov eax, dword [esi + 0x1f28]
cmp edi, eax
jne 0x411ff8
mov eax, dword [eax + 0x30]
cmp eax, dword [ecx + 0x30]
je 0x411ff8
mov al, 1
jmp 0x411ffa
xor al, al
mov cl, byte [esp + 0xb]
mov byte [esp + 0x10], al
test cl, cl
jne 0x41200e
test al, al
je 0x412122
movss xmm1, dword [esi + 0x1f54]
push 0
push ecx
movzx ecx, cl
add ecx, 0x35
mov dword [esp], 0
call fcn.00407440
mov ecx, dword [edi + 0x2c4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.0042e210
cmp byte [esp + 0x10], 0
je 0x41211e
cmp edi, dword [esi + 0x1f24]
jne 0x41211e
movss xmm2, dword [edi + 0x44]
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm0, dword [esi + 0x19d8]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x4c]
addss xmm3, dword [edi + 0x50]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x40]
comiss xmm0, xmm1
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm4
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
jb 0x4120d8
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm4
jb 0x4120d8
comiss xmm2, dword [esp + 0x60]
jb 0x4120d8
comiss xmm3, dword [esp + 0x30]
jae 0x41211e
movss xmm1, dword [esi + 0x1f30]
mulss xmm1, dword [0x4a3554]
push 0
movss xmm0, dword [esi + 0x15a4]
push ecx
mov ecx, 0x34
movss dword [esp], xmm0
call fcn.00407440
mov ecx, dword [edi + 0x2c4]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.0042e210
mov edx, dword [esp + 0xc]
mov al, byte [edi + 0x3a1]
test al, 1
je 0x412134
test al, 2
je 0x4122b1
mov eax, edx
mov byte [esp + 0xb], 0
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x412181
cmp dword [esp + 0x74], 0x3000000
je 0x412181
mov edx, dword [edi + 0x2c4]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x412181
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x2c4]
cmp dword [eax + 0x18], 0
jle 0x412181
mov byte [esp + 0xb], 1
mov dword [edi + 0x2c4], eax
mov ecx, dword [0x591c50]
movss xmm5, dword [0x4a3694]
mov eax, dword [ecx + 0x1c48]
mov byte [eax + 0xc5], 1
movss xmm0, dword [ecx + 0x1598]
mov eax, dword [ecx + 0x1c48]
mulss xmm0, xmm5
mov edx, dword [eax + 0x2c4]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x4a351c]
comiss xmm0, xmm1
jbe 0x4121d4
xorps xmm4, xmm4
jmp 0x4121e0
movss xmm4, dword [0x4a35c4]
minss xmm4, xmm1
movss xmm2, dword [edi + 0x44]
mov ecx, edx
movss xmm3, dword [edi + 0x48]
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x4c]
mulss xmm4, xmm5
mov dword [esp + 0x78], 0x3f800000
subss xmm2, dword [0x4a364c]
mov dword [esp + 0x7c], 0x3f800000
addss xmm4, dword [0x4a3578]
addss xmm0, dword [0x4a3668]
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
movss dword [esp + 0x84], xmm2
cvttss2si eax, xmm4
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x50]
subss xmm3, dword [0x4a3654]
shl eax, 0x18
or eax, 0xffffff
push eax
addss xmm0, dword [0x4a3654]
lea eax, [esp + 0x7c]
movss dword [esp + 0x8c], xmm3
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x44]
movss dword [esp + 0x48], xmm0
push eax
lea eax, [esp + 0x94]
push eax
push dword [0x591cc8]
call fcn.0042e8c0
cmp byte [esp + 0xb], 0
je 0x4122b1
lea eax, [edi + 0x2c8]
mov dword [edi + 0x2c4], eax
cmp dword [esi + 0x1f24], edi
jne 0x412452
movss xmm4, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x44]
movaps xmm0, xmm4
maxss xmm0, dword [esi + 0x15a4]
movss xmm2, dword [esi + 0x19d8]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x4c]
movss xmm7, dword [edi + 0x48]
subss xmm3, xmm2
movss xmm5, dword [esp + 0x40]
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x50]
subss xmm0, xmm2
comiss xmm5, xmm3
addss xmm1, xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x5c], xmm0
addss xmm7, xmm2
movss dword [esp + 0x84], xmm1
jb 0x41237b
movss xmm5, dword [esp + 0x1c]
comiss xmm5, xmm0
jb 0x41237b
comiss xmm1, dword [esp + 0x60]
jb 0x41237b
comiss xmm7, dword [esp + 0x30]
jb 0x41237b
xorps xmm2, xmmword [0x4a3a10]
subss xmm2, dword [0x4a35c4]
movss dword [esp + 0x74], xmm4
subss xmm0, xmm2
subss xmm3, xmm2
addss xmm7, xmm2
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x84], xmm0
mov edx, dword [edi + 0x2c4]
mov ecx, 0x34
movss xmm1, dword [esi + 0x1f30]
mov dword [esp + 0x60], edx
call fcn.00407440
mov dword [esp + 0x78], eax
test eax, 0xff000000
je 0x412452
test byte [edx + 0x24], 1
lea eax, [esp + 0x8c]
movss xmm4, dword [esp + 0x38]
mov ecx, edx
movss xmm0, dword [0x4a3578]
movss xmm2, dword [esp + 0x5c]
addss xmm4, xmm0
movss xmm1, dword [esp + 0x84]
addss xmm2, xmm0
movss xmm3, dword [esp + 0x74]
push 0
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm2
push eax
je 0x4123fe
subss xmm1, xmm0
subss xmm7, xmm0
jmp 0x41240e
subss xmm1, dword [0x4a3574]
subss xmm7, dword [0x4a3574]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm7
call fcn.0042db70
mov eax, dword [esp + 0x60]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x80]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.0042c2a0
mov eax, dword [esp + 0x60]
mov dword [eax + 0x54], 0
mov ecx, dword [esp + 0xc]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x6c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x4124a7
movss xmm0, dword [edi + 0x74]
mov eax, ecx
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb8]
cmp eax, 0x800
jne 0x4124a0
movss xmm3, dword [edi + 0x5c]
jmp 0x4124a3
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x70]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x4124e7
movss xmm0, dword [edi + 0x78]
movss xmm1, dword [edi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x58]
subss xmm1, dword [edi + 0xbc]
test dl, dl
je 0x4124e0
movss xmm2, dword [edi + 0x60]
jmp 0x4124e3
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x228]
subss xmm1, dword [edi + 0x90]
movss xmm0, dword [edi + 0x74]
maxss xmm0, dword [edi + 0x80]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x248], xmm0
movss xmm1, dword [edi + 0x22c]
movss xmm0, dword [edi + 0x78]
maxss xmm0, dword [edi + 0x80]
subss xmm1, dword [edi + 0x94]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x24c], xmm0
addss xmm3, dword [edi + 0x248]
movss dword [edi + 0x250], xmm3
addss xmm2, dword [edi + 0x24c]
movss dword [edi + 0x254], xmm2
movups xmm0, xmmword [edi + 0x248]
movss xmm2, dword [esp + 0x58]
movups xmmword [edi + 0x258], xmm0
movss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x90]
addss xmm0, dword [edi + 0x74]
movss dword [edi + 0x278], xmm0
movss xmm0, dword [edi + 0x48]
subss xmm0, dword [edi + 0x94]
addss xmm0, dword [edi + 0x78]
addss xmm0, xmm2
movss dword [edi + 0x27c], xmm0
movss xmm1, dword [edi + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x4125e3
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb8]
addss xmm1, dword [edi + 0x278]
movss dword [edi + 0x280], xmm1
movss xmm1, dword [edi + 0x70]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x41261f
movss xmm0, dword [edi + 0x78]
movss xmm1, dword [edi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
subss xmm1, dword [edi + 0xbc]
addss xmm1, dword [edi + 0x27c]
movss dword [edi + 0x284], xmm1
movss xmm0, dword [edi + 0x74]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x90]
movss dword [edi + 0x148], xmm0
mov dword [edi + 0x150], 0
mov dword [edi + 0x14c], 0
addss xmm2, dword [edi + 0x78]
movss xmm0, dword [edi + 0x148]
addss xmm0, xmm4
subss xmm2, dword [edi + 0x94]
addss xmm0, dword [edi + 0x44]
addss xmm2, dword [edi + 0x48]
movss dword [edi + 0x118], xmm0
movss dword [edi + 0x11c], xmm2
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm2
movss dword [edi + 0x110], xmm0
movss dword [edi + 0x114], xmm2
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x120], eax
mov dword [edi + 0x124], ecx
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], ecx
lea ecx, [edi + 0x1ac]
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x17c], 0
mov ax, word [edi + 0x182]
mov word [edi + 0x180], ax
xor eax, eax
mov word [edi + 0x182], ax
mov byte [edi + 0x188], al
movss xmm0, dword [edi + 0x9c]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x13], 0
mov byte [edi + 0x189], al
mov byte [edi + 0x18a], 0
movss xmm0, dword [esi + 0x15e0]
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
movss dword [edi + 0x194], xmm0
je 0x41279c
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
nop
test edx, edx
je 0x4127c5
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x4127c5
movss xmm0, dword [edi + 0x194]
addss xmm0, dword [edi + 0x198]
movss dword [edi + 0x198], xmm0
cvttss2si eax, dword [edi + 0x198]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x198]
movss dword [edi + 0x198], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x4127a0
push ecx
mov dword [edi + 0x1b8], 0
lea ecx, [edi + 0x1c0]
mov dword [edi + 0x1bc], 0
call fcn.004238e0
lea eax, [edi + 0x2a0]
mov dword [edi + 0x1cc], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d8], 1
test eax, eax
je 0x41284c
mov eax, dword [eax + 0x1d8]
jmp 0x412851
mov eax, 1
mov dword [edi + 0x1dc], eax
mov dword [edi + 0x1e4], 0xffffffff
mov dword [edi + 0x1e0], 0xffffffff
mov eax, dword [edi + 0x29c]
push ecx
mov dword [edi + 0x1e8], eax
lea ecx, [edi + 0x1f0]
mov dword [edi + 0x1ec], 0xbf800000
call fcn.004238e0
push ecx
lea ecx, [edi + 0x1fc]
call fcn.004238e0
mov al, byte [edi + 0xdc]
test al, al
jle 0x4128ab
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x4128bd
dec al
mov byte [edi + 0xdd], al
cmp byte [esp + 0x14], 0
je 0x4128d4
mov ecx, edi
call fcn.00413190
xor dl, dl
mov ecx, edi
call fcn.00415740
mov edx, dword [esp + 0x9c]
test edx, edx
je 0x412913
mov ecx, dword [edi + 0x30]
cmp byte [ecx + 0x46], 0
je 0x412913
mov eax, dword [0x591c50]
mov eax, dword [eax + 0x1dd8]
cmp ecx, dword [eax]
je 0x412913
mov al, byte [edi + 0x3a1]
test al, 1
je 0x412905
test al, 2
je 0x412913
mov byte [ecx + 0x46], 0
mov byte [esi + 0x1f34], 0
mov byte [edx], 0
test byte [esp + 0xc], 1
jne 0x41298b
test byte [edi + 0x3a1], 1
jne 0x41298b
movss xmm1, dword [edi + 0x80]
mov ecx, edi
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm1
push edx
push dword [esp + 0x9c]
lea edx, [esp + 0xc8]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, xmm1
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0xd4], xmm0
call fcn.0040f870
add esp, 8
xor eax, eax
mov dword [edi + 0x288], eax
test byte [esi + 8], 0x40
je 0x4129fc
cmp dword [esi + 0x1c58], edi
jne 0x4129bf
cmp byte [esi + 0x101], al
jne 0x4129bf
mov eax, dword [edi + 0x360]
test dword [eax + 8], 0x200000
jne 0x4129bf
mov ecx, edi
call fcn.00421ac0
cmp byte [esi + 0x1f5c], 0
je 0x4129fc
test dword [esp + 0xc], 0x200000
jne 0x4129fc
mov eax, dword [esi + 0x1c58]
test eax, eax
je 0x4129e4
cmp dword [eax + 0x360], edi
je 0x4129fc
cmp edi, dword [edi + 0x360]
jne 0x4129fc
test dword [edi + 8], 0x20000000
jne 0x4129fc
mov ecx, edi
call fcn.00421c80
test byte [edi + 0x3a1], 1
je 0x412a2d
mov ecx, dword [edi + 0x3c8]
mov eax, dword [edi + 4]
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], ecx
movups xmm0, xmmword [edi + 0x3cc]
movups xmmword [edi + 0x15c], xmm0
jmp 0x412bbb
mov eax, dword [0x591c50]
movss xmm6, dword [esp + 0x20]
movss xmm7, dword [esp + 0x94]
movaps xmm2, xmm6
movss xmm4, dword [esp + 0x18]
movaps xmm3, xmm7
movss xmm1, dword [eax + 0x15f8]
movss xmm0, dword [eax + 0x15fc]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe4]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x412ada
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x412ada
comiss xmm3, xmm5
jbe 0x412ada
comiss xmm4, xmm0
jbe 0x412ada
mov eax, dword [eax + 0x1de4]
movss xmm3, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [esp + 0x6c]
jbe 0x412ada
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm3
jbe 0x412ada
comiss xmm1, xmm6
jbe 0x412ada
comiss xmm7, xmm2
jbe 0x412ada
mov ecx, 1
jmp 0x412adc
xor ecx, ecx
movups xmm0, xmmword [esp + 0xa0]
mov eax, dword [edi + 0x88]
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], ecx
movups xmmword [edi + 0x15c], xmm0
jmp 0x412bbb
mov ecx, dword [edi + 0x30]
mov edx, dword [0x591c50]
test ecx, ecx
je 0x412b18
mov eax, dword [edx + 0x1be0]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x1de0], ecx
je 0x412b55
test ecx, ecx
je 0x412b45
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x1ddc], eax
mov eax, dword [edx + 0x1560]
mov dword [edx + 0x1de0], ecx
test eax, eax
je 0x412b55
push ecx
call eax
add esp, 4
jmp 0x412b55
mov dword [edx + 0x1ddc], 0x3f800000
mov dword [edx + 0x1de0], ecx
mov eax, dword [0x591c50]
mov dword [eax + 0x1c48], edi
mov ecx, dword [edi + 0x1d4]
cmp ecx, 0xffffffff
je 0x412b79
imul ecx, ecx, 0x228
add ecx, dword [eax + 0x1ff8]
jmp 0x412b7b
xor ecx, ecx
movss xmm0, dword [eax + 0x19dc]
mov dword [eax + 0x1fec], ecx
mulss xmm0, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x358]
mulss xmm0, dword [edi + 0x2bc]
test ecx, ecx
je 0x412bab
mulss xmm0, dword [ecx + 0x2b8]
movss dword [eax + 0x19ec], xmm0
movss dword [eax + 0x19d8], xmm0
mov ecx, dword [esi + 0x1da0]
mov eax, dword [esi + 0x1da8]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c6c], eax
test ecx, 0x1000000
je 0x412be9
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x184]
jmp 0x412beb
xor eax, eax
mov dword [edi + 0x184], eax
test ecx, 0x20000000
jne 0x412d7d
mov ecx, dword [0x591c50]
mov eax, dword [ecx + 0x1c48]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x1c48]
movss xmm1, dword [edi + 0x238]
movss xmm0, dword [edi + 0x23c]
movss xmm3, dword [edi + 0x240]
movss xmm2, dword [edi + 0x244]
mov dword [esp + 0x94], eax
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x20], eax
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm0
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm1
movaps xmmword [esp + 0xa0], xmm4
jbe 0x412c76
movaps xmm1, xmm4
movss dword [esp + 0xc0], xmm1
movss xmm4, dword [esp + 0xa4]
comiss xmm4, xmm0
jbe 0x412c90
movaps xmm0, xmm4
movss dword [esp + 0xc4], xmm0
movss xmm4, dword [esp + 0xa8]
comiss xmm3, xmm4
jbe 0x412ca1
movaps xmm3, xmm4
movss xmm4, dword [esp + 0xac]
comiss xmm2, xmm4
jbe 0x412cb2
movaps xmm2, xmm4
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
maxss xmm1, xmm3
mov dword [esp + 0x8c], ecx
maxss xmm0, xmm2
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xcc], xmm0
cmp edx, eax
jne 0x412d0e
inc edx
mov dword [esp + 0x78], edx
test eax, eax
je 0x412cf7
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x412cfc
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00423d20
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0xc0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x20]
movups xmmword [ecx + 0x60], xmm0
call fcn.0042bea0
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0x2c4]
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 + 0xc]
mov dword [edx + 0x268], eax
movss dword [edx + 0x26c], xmm0
movss dword [edx + 0x270], xmm1
movss dword [edx + 0x274], xmm2
mov eax, dword [esp + 0x80]
mov byte [edi + 0xc5], 0
inc word [edi + 0xce]
mov dword [esi + 0x1cd0], 0
cmp eax, dword [esp + 0x70]
je 0x412ef8
mov al, byte [edi + 0x3a1]
test al, 1
je 0x412dd2
test al, 2
jne 0x412dd2
mov eax, dword [edi + 0x294]
cmp eax, dword [esi + 0x1be0]
jne 0x412dcb
mov byte [edi + 0xe5], 1
jmp 0x412dd2
mov byte [edi + 0xe4], 1
test ecx, 0x1000000
je 0x412e61
test cl, 0x40
jne 0x412e27
cmp byte [edi + 0xdc], 0
jg 0x412e27
cmp byte [edi + 0xdd], 0
jg 0x412e27
cmp byte [esi + 0x3028], 0
jne 0x412e27
movss xmm0, dword [edi + 0x218]
comiss xmm0, dword [edi + 0x220]
jae 0x412e20
movss xmm0, dword [edi + 0x21c]
comiss xmm0, dword [edi + 0x224]
jb 0x412e27
mov byte [edi + 0xe4], 1
mov eax, dword [esp + 0x68]
test eax, eax
je 0x412e61
cmp byte [eax + 0xc6], 0
jne 0x412e41
cmp byte [eax + 0xe4], 0
jle 0x412e48
mov byte [edi + 0xe4], 1
cmp byte [eax + 0xc6], 0
jne 0x412e5a
cmp byte [eax + 0xe5], 0
jle 0x412e61
mov byte [edi + 0xe5], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1598]
jb 0x412e74
mov byte [edi + 0xe4], 1
cmp byte [edi + 0xe4], 0
jg 0x412e93
cmp byte [edi + 0xe5], 0
jg 0x412e93
cmp byte [edi + 0xe6], 0
jg 0x412e93
xor al, al
jmp 0x412e95
mov al, 1
mov byte [edi + 0xca], al
mov al, byte [edi + 0xe7]
test al, al
jle 0x412eb4
dec al
mov byte [edi + 0xe7], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0xc6], al
jne 0x412ece
cmp byte [edi + 0xc3], al
je 0x412ece
cmp byte [edi + 0xca], al
je 0x412ef2
cmp byte [edi + 0xdc], 0
jg 0x412ef2
cmp byte [edi + 0xdd], 0
jg 0x412ef2
cmp byte [edi + 0xe5], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xc8], al
cmp byte [edi + 0xc8], 0
mov ecx, dword [esp + 0x11c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0048f4f0
mov esp, ebp
pop ebp
ret