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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x101ad8fc]
push edi
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc4], esi
call fcn.1004e920
mov edi, eax
mov dword [ebp - 0xe0], eax
test edi, edi
sete byte [ebp - 0xa9]
test eax, eax
jne 0x10051126
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xf4]
call fcn.1004eab0
mov edi, eax
mov edx, dword [ebp - 0xb0]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10051145
or edx, 6
mov dword [ebp - 0xb0], edx
cmp dword [esi + 0x3e04], 0
mov eax, dword [edi + 0x234]
mov ecx, dword [esi + 0x3dc8]
mov dword [ebp - 0xe8], eax
lea eax, [esi + 0x3e04]
mov dword [ebp - 0xec], ecx
jne 0x10051179
cmp byte [esi + 0x3dd5], 0
je 0x10051179
mov al, 1
jmp 0x1005117b
xor al, al
mov byte [edi + 0xae], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xe8]
cmp ecx, eax
setl ch
mov byte [ebp - 0xb9], ch
test edx, 0x4000000
je 0x100511db
mov eax, dword [esi + 0x478c]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax + 0x4788]
mov eax, dword [edi + 0xbc]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xb0]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xb9], ch
mov byte [edi + 0xac], ch
test ch, ch
je 0x100511fa
or byte [edi + 0xcc], 8
or byte [edi + 0xcd], 8
or byte [edi + 0xce], 8
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x10051261
push edx
mov dl, byte [ebp - 0xa9]
mov ecx, edi
call fcn.1004e970
mov eax, dword [ebp - 0xec]
add esp, 4
mov edx, dword [ebp - 0xb0]
mov dword [edi + 0x234], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xb6], ax
movss dword [edi + 0x238], xmm0
movzx eax, word [esi + 0x3e1c]
inc dword [esi + 0x3e1c]
mov word [edi + 0xb8], ax
jmp 0x1005126a
mov edx, dword [edi + 8]
mov dword [ebp - 0xb0], edx
mov eax, dword [esi + 0x3e04]
test eax, eax
jne 0x10051278
xor ecx, ecx
jmp 0x10051285
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e0c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xc0], ecx
cmp eax, dword [ebp - 0xec]
je 0x100512a8
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x100512ae
mov eax, dword [edi + 0x300]
cmp dword [edi + 0xe0], 0
mov dword [ebp - 0xe4], eax
lea eax, [edi + 0xe0]
jne 0x100512e9
cmp dword [eax + 4], 0
jne 0x100512d8
push 8
mov ecx, eax
call fcn.1005e830
lea eax, [edi + 0xe0]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe0]
lea ecx, [ebp - 0xa8]
mov dword [esi + 0x3e28], edi
call fcn.100536c0
movups xmm0, xmmword [esi + 0x469c]
mov eax, dword [esi + 0x46d4]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xa8], edi
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x6c], eax
movups xmm0, xmmword [esi + 0x46ac]
movups xmmword [ebp - 0x94], xmm0
movups xmm0, xmmword [esi + 0x46bc]
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [esi + 0x46cc]
movq qword [ebp - 0x74], xmm0
call fcn.100564e0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [esi + 0x3e04]
call fcn.1005e7c0
mov eax, dword [ebp - 0xb0]
test eax, 0x10000000
je 0x1005136d
inc dword [esi + 0x4798]
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0xec]
je 0x10051399
push dword [ebp - 0xe4]
mov edx, eax
mov ecx, edi
call fcn.10050f20
mov eax, dword [ebp - 0xc0]
add esp, 4
mov dword [edi + 0x304], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xb4], eax
mov eax, dword [0x101ad8fc]
mov ecx, dword [eax + 0x4760]
lea edx, [eax + 0x475c]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc8], edx
cmp dword [edx], ecx
jne 0x100513f3
test ecx, ecx
je 0x100513d8
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc8]
sar eax, 1
add eax, ecx
jmp 0x100513dd
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005e830
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0xb4]
mov dword [eax + ecx*4], esi
mov eax, esi
inc dword [edx]
test dword [ebp - 0xb0], 0x4000000
mov ecx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xc4]
mov dword [ecx + 0x467c], eax
mov eax, dword [esi + 0x467c]
mov dword [edi + 0x344], eax
mov dword [esi + 0x3e28], 0
je 0x10051510
mov eax, dword [esi + 0x478c]
lea edx, [esi + 0x478c]
mov dword [ebp - 0xd0], edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4788]
mov dword [ebp - 0xc8], eax
mov esi, eax
mov dword [ebp - 0xb4], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x144]
mov dword [esi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
cmp ecx, eax
jne 0x100514bf
inc ecx
test eax, eax
je 0x100514a7
cdq
sub eax, edx
lea edx, [esi + 0x478c]
sar eax, 1
add eax, dword [ebp - 0xb8]
jmp 0x100514ac
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005eed0
lea edx, [esi + 0x478c]
mov eax, dword [edx]
mov esi, dword [ebp - 0xb4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0xc8]
movups xmm0, xmmword [edx + esi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [edx + esi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [edx + esi*8 + 0x20]
mov edx, dword [ebp - 0xd0]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xc4]
inc dword [edx]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0xbc], eax
xor dl, dl
mov byte [ebp - 0xac], 0
test byte [esi + 0x46d8], 1
mov byte [ebp - 0xaa], dl
mov byte [ebp - 0xab], dl
je 0x100515d2
mov dl, byte [edi + 0xcc]
mov ecx, dword [esi + 0x46dc]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xac]
test ecx, eax
je 0x100515c1
movss xmm1, dword [esi + 0x46f4]
movss xmm0, dword [esi + 0x46f0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1017323c]
jbe 0x100515c1
mov eax, dword [esi + 0x46e8]
mov ecx, dword [esi + 0x46ec]
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xd0], eax
mov eax, dword [esi + 0x46f0]
mov ecx, dword [esi + 0x46f4]
mov dword [edi + 0xdc], ecx
mov dword [edi + 0xd8], eax
mov eax, dword [edi + 0xcc]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xcc], ecx
jmp 0x100515d2
push ecx
lea edx, [esi + 0x46e8]
mov ecx, edi
call fcn.10053f20
add esp, 4
test byte [esi + 0x46d8], 2
xorps xmm1, xmm1
je 0x10051640
movsx eax, byte [edi + 0xcd]
mov ecx, dword [esi + 0x46e0]
and eax, ecx
je 0x10051605
movss xmm0, dword [esi + 0x46f8]
comiss xmm0, xmm1
jbe 0x10051605
mov byte [ebp - 0xaa], 1
jmp 0x10051611
xor dl, dl
mov byte [ebp - 0xaa], dl
test eax, eax
je 0x10051625
movss xmm0, dword [esi + 0x46fc]
comiss xmm0, xmm1
mov byte [ebp - 0xab], 1
ja 0x1005162c
mov byte [ebp - 0xab], 0
push ecx
lea edx, [esi + 0x46f8]
mov ecx, edi
call fcn.10054080
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46d8], 0x80
je 0x10051687
movss xmm0, dword [esi + 0x4708]
comiss xmm0, xmm1
jb 0x10051668
movss dword [edi + 0x84], xmm0
mov dword [edi + 0x8c], 0
movss xmm0, dword [esi + 0x470c]
comiss xmm0, xmm1
jb 0x10051687
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
test byte [esi + 0x46d8], 4
je 0x100516a4
mov eax, dword [esi + 0x4700]
mov ecx, dword [esi + 0x4704]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
jmp 0x100516c0
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x100516c0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
test byte [esi + 0x46d8], 8
je 0x1005170d
mov ecx, dword [esi + 0x46e4]
mov dl, byte [esi + 0x4710]
test ecx, ecx
je 0x100516e4
movsx eax, byte [edi + 0xce]
test ecx, eax
je 0x1005170d
movzx ecx, byte [edi + 0xce]
mov eax, dword [edi + 0xcc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xa9], dl
mov dword [edi + 0xcc], ecx
test byte [esi + 0x46d8], 0x20
je 0x1005171d
mov ecx, edi
call fcn.100539d0
cmp byte [edi + 0xac], 0
je 0x1005173b
and byte [edi + 0xcc], 0xf7
and byte [edi + 0xcd], 0xf7
and byte [edi + 0xce], 0xf7
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x10053359
mov eax, dword [ebp - 0xb0]
and eax, 0x3000000
mov byte [edi + 0xa6], 1
cmp dword [ebp - 0xf8], 0
mov dword [ebp - 0xc8], eax
mov al, byte [edi + 0xc9]
mov byte [ebp - 0xd1], al
setne al
mov byte [edi + 0xb0], al
mov dword [edi + 0x20c], 0xff7fffff
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0x7f7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov eax, dword [edi + 0xe4]
cmp eax, 1
jge 0x100517e7
test eax, eax
je 0x100517ca
cdq
sub eax, edx
lea edx, [edi + 0xe0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100517d5
mov ecx, 8
lea edx, [edi + 0xe0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1005e830
mov dword [edi + 0xe0], 1
mov ecx, dword [edi + 0x260]
call fcn.100668d0
cmp byte [edi + 0x350], 0
mov dword [edi + 0x190], 0xffffffff
je 0x10051852
mov ecx, dword [edi + 0x260]
push dword [edi + 0x348]
add ecx, 0xc
mov byte [edi + 0x350], 0
call fcn.1005ed20
mov ecx, dword [edi + 0x260]
push dword [edi + 0x34c]
add ecx, 0x18
call fcn.1005eba0
mov dword [edi + 0x34c], 0
mov dword [edi + 0x348], 0
cmp dword [esi + 0x4908], 0
je 0x10051960
test dword [edi + 8], 0x80000
jne 0x10051960
cmp dword [ebp - 0xe0], 0
je 0x10051960
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xf4]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100518b0
test dl, dl
je 0x100518ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100518b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10051890
xor eax, eax
jmp 0x100518b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10051960
mov ecx, dword [ebp - 0xf4]
mov edx, dword [edi + 0x68]
mov dword [ebp - 0xcc], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100518d5
sub ecx, dword [ebp - 0xb8]
lea eax, [ecx + 1]
mov dword [ebp - 0xc0], eax
cmp edx, eax
mov eax, dword [ebp - 0xb4]
jae 0x1005193f
test eax, eax
je 0x10051909
mov ecx, dword [0x101ad8fc]
test ecx, ecx
je 0x10051909
dec dword [ecx + 0xb0]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x101ad8fc]
add esp, 4
test eax, eax
je 0x10051922
inc dword [eax + 0xb0]
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0xc0]
add esp, 4
mov dword [ebp - 0xcc], ecx
jmp 0x10051945
mov ecx, dword [ebp - 0xc0]
push ecx
push dword [ebp - 0xf4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x68], eax
lea eax, [edi + 0x30]
mov ecx, edi
push eax
lea edx, [edi + 0x28]
call fcn.1004f080
mov al, byte [edi + 0xc8]
add esp, 4
test al, al
jle 0x10051983
dec al
mov byte [edi + 0xc8], al
mov al, byte [edi + 0xc9]
test al, al
jle 0x10051995
dec al
mov byte [edi + 0xc9], al
mov al, byte [edi + 0xca]
test al, al
jle 0x100519a7
dec al
mov byte [edi + 0xca], al
cmp dword [ebp - 0xe0], 0
mov al, byte [ebp - 0xaa]
mov cl, byte [ebp - 0xab]
jne 0x100519cb
test al, al
je 0x100519c4
test cl, cl
jne 0x100519cb
mov byte [edi + 0xc9], 1
cmp byte [ebp - 0xb9], 0
mov edx, dword [ebp - 0xb0]
je 0x10051a2e
test edx, 0x6000000
je 0x10051a2e
mov byte [edi + 0xc9], 1
test dl, 0x40
je 0x10051a2e
test al, al
jne 0x10051a00
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
test cl, cl
jne 0x10051a12
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [0x101ad8fc]
mov dword [ebp - 0xb4], ecx
mov eax, dword [ecx + 0x47a4]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov dword [ebp - 0xd0], eax
mov dword [ecx + 0x3e28], edi
mov eax, dword [edi + 0x190]
cmp eax, 0xffffffff
je 0x10051a6a
imul eax, eax, 0x1e0
add eax, dword [ecx + 0x49ec]
jmp 0x10051a6c
xor eax, eax
movss xmm0, dword [ecx + 0x3bb8]
mov dword [ecx + 0x49d0], eax
mov eax, dword [edi + 0x300]
mulss xmm0, dword [edi + 0x258]
test eax, eax
je 0x10051a94
mulss xmm0, dword [eax + 0x258]
movss dword [ecx + 0x3bc8], xmm0
movss dword [ecx + 0x3bb4], xmm0
test edx, 0x1000000
je 0x10051ab6
movss xmm0, dword [esi + 0x37c8]
jmp 0x10051ad8
test edx, 0x6000000
je 0x10051ad0
test edx, 0x8000000
jne 0x10051ad0
movss xmm0, dword [esi + 0x37d0]
jmp 0x10051ad8
movss xmm0, dword [esi + 0x37ac]
movss dword [edi + 0x4c], xmm0
xorps xmm2, xmm2
mov eax, dword [esi + 0x37a0]
mov ecx, dword [esi + 0x37a4]
mov dword [edi + 0x40], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x44], ecx
cmp eax, 0x1000000
jne 0x10051b2a
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10051b2a
test edx, 0x400
je 0x10051b1b
movss xmm0, dword [esi + 0x37a4]
jmp 0x10051b1e
xorps xmm0, xmm0
mov dword [edi + 0x40], 0
movss dword [edi + 0x44], xmm0
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [esi + 0x37e4]
maxss xmm0, dword [esi + 0x4730]
movss dword [edi + 0x150], xmm0
mov eax, dword [esi + 0x4734]
mov dword [edi + 0x154], eax
mov al, byte [ebp - 0xa9]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb4]
test dl, 0x21
jne 0x10051cc7
test byte [edi + 8], 1
je 0x10051b79
xorps xmm3, xmm3
jmp 0x10051bab
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x300]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x10051b9b
mulss xmm0, dword [ecx + 0x258]
movss xmm3, dword [eax + 0x37d8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0x10]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x14]
addss xmm4, dword [edi + 0x20]
addss xmm3, dword [edi + 0x14]
cmp dword [esi + 0x3e2c], edi
jne 0x10051c69
cmp dword [esi + 0x3e60], 0
jne 0x10051c69
cmp dword [esi + 0x3e64], 0
jne 0x10051c69
mov eax, dword [eax + 0x3e28]
maxss xmm5, dword [eax + 0x20c]
maxss xmm6, dword [eax + 0x210]
minss xmm4, dword [eax + 0x214]
minss xmm3, dword [eax + 0x218]
mov eax, dword [ebp - 0xb4]
movss xmm1, dword [eax + 0x37fc]
movss xmm0, dword [eax + 0x3800]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [eax + 0xdb8]
addss xmm3, xmm0
subss xmm6, xmm0
comiss xmm1, xmm5
jb 0x10051c69
movss xmm0, dword [eax + 0xdbc]
comiss xmm0, xmm6
jb 0x10051c69
comiss xmm4, xmm1
jbe 0x10051c69
comiss xmm3, xmm0
jbe 0x10051c69
cmp word [esi + 0x3702], 2
jne 0x10051c69
mov byte [edi + 0xaa], 1
cmp byte [edi + 0xaa], 0
je 0x10051cce
mov cl, byte [edi + 0xa9]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xa9], al
mov ecx, 1
mov eax, dword [ebp - 0xc0]
movzx eax, al
cmovne eax, ecx
test dword [edi + 8], 0x100
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb4]
jne 0x10051cce
comiss xmm2, dword [eax + 0x59f0]
jb 0x10051cce
mov ecx, dword [ebp - 0xb4]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x59f0], eax
mov eax, ecx
jmp 0x10051cce
mov byte [edi + 0xa9], 0
movss xmm0, dword [edi + 0x9c]
mov edx, dword [edi + 8]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [edi + 0xa0]
mov byte [edi + 0xaa], 0
movss dword [ebp - 0xf0], xmm0
mov dword [edi + 0x50], 0
mov dword [edi + 0x58], 0
test dl, 1
je 0x10051d10
xorps xmm1, xmm1
jmp 0x10051d42
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x300]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x10051d32
mulss xmm0, dword [ecx + 0x258]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x10051d84
movss xmm2, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x300]
mulss xmm2, dword [edi + 0x258]
test ecx, ecx
je 0x10051d6c
mulss xmm2, dword [ecx + 0x258]
movss xmm0, dword [eax + 0x37d8]
addss xmm2, dword [edi + 0x154]
addss xmm0, xmm0
addss xmm2, xmm0
addss xmm2, xmm1
mov dword [edi + 0x5c], 0
lea eax, [edi + 0x30]
mov dword [edi + 0x9c], 0
push eax
mov edx, edi
mov dword [edi + 0xa0], 0
lea ecx, [ebp - 0x38]
movss dword [edi + 0x54], xmm2
call fcn.1004f1b0
add esp, 4
test byte [ebp - 0xb0], 0x40
je 0x10051e0c
cmp byte [edi + 0xa9], 0
jne 0x10051e0c
cmp byte [ebp - 0xaa], 0
jne 0x10051de5
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0xa9], 1
cmp byte [ebp - 0xab], 0
jne 0x10051ebc
movss xmm0, dword [ebp - 0x34]
mov eax, 1
movss dword [edi + 0x24], xmm0
mov dword [ebp - 0xc0], eax
jmp 0x10051ebc
mov al, byte [edi + 0xc0]
test al, al
jg 0x10051e23
cmp byte [edi + 0xc1], 0
jle 0x10051ebc
cmp byte [ebp - 0xaa], 0
jne 0x10051e56
test al, al
jle 0x10051e56
cmp byte [edi + 0xc3], 0
je 0x10051e45
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x38]
jmp 0x10051e4a
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0xa9], 1
cmp byte [ebp - 0xab], 0
jne 0x10051e8f
cmp byte [edi + 0xc1], 0
jle 0x10051e8f
cmp byte [edi + 0xc3], 0
je 0x10051e7d
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x34]
jmp 0x10051e82
movss xmm0, dword [ebp - 0x34]
mov al, 1
movss dword [edi + 0x24], xmm0
mov dword [ebp - 0xc0], eax
cmp byte [edi + 0xa9], 0
jne 0x10051ebc
test dword [edi + 8], 0x100
mov ecx, dword [0x101ad8fc]
jne 0x10051ebc
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x59f0]
jb 0x10051ebc
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x59f0], eax
lea esi, [edi + 0x20]
mov edx, edi
push esi
lea ecx, [ebp - 0x120]
call fcn.1004ee60
mov edx, dword [ebp - 0xb0]
add esp, 4
cmp byte [edi + 0xa9], 0
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi], xmm3
movss dword [esi + 4], xmm1
je 0x10051f55
test edx, 0x1000000
jne 0x10051f55
test byte [edi + 8], 1
je 0x10051f04
xorps xmm1, xmm1
jmp 0x10051f3b
mov eax, dword [0x101ad8fc]
mov ecx, dword [edi + 0x300]
movss xmm0, dword [eax + 0x3bb8]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x10051f2b
mulss xmm0, dword [ecx + 0x258]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x10]
addss xmm1, dword [edi + 0x14]
addss xmm2, xmm3
subss xmm1, dword [edi + 0x14]
subss xmm2, dword [edi + 0x10]
jmp 0x10051f58
movaps xmm2, xmm3
cmp byte [ebp - 0xb9], 0
mov esi, dword [ebp - 0xc4]
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm1
je 0x10051fb7
mov eax, edx
mov dword [edi + 0xc4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10051fb7
cmp byte [ebp - 0xac], 0
jne 0x10051fb7
mov eax, dword [esi + 0x478c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4794]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
test edx, 0x1000000
je 0x1005206d
mov ecx, dword [ebp - 0xe4]
add ecx, 0x17c
mov dword [ebp - 0xb4], ecx
mov ax, word [ecx]
mov word [edi + 0xb6], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x1005201f
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xb8], edx
test eax, eax
je 0x10052003
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10052008
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005e830
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc8]
inc dword [eax]
mov al, byte [ebp - 0xac]
test edx, 0x4000000
jne 0x10052079
test al, al
jne 0x10052079
cmp ecx, 0x3000000
je 0x10052079
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 0xec]
mov ecx, dword [ecx + 0xf0]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0xc8]
mov al, byte [ebp - 0xac]
movss xmm1, dword [edi + 0xd0]
ucomiss xmm1, dword [0x10173550]
lahf
test ah, 0x44
jnp 0x100520e5
cmp byte [edi + 0xc9], 0
jne 0x100520e5
movss xmm0, dword [edi + 0x18]
lea edx, [ebp - 0x118]
mulss xmm0, dword [edi + 0xd8]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd4]
movss dword [ebp - 0x118], xmm1
movss xmm1, dword [edi + 0x1c]
mulss xmm1, dword [edi + 0xdc]
subss xmm0, xmm1
movss dword [ebp - 0x114], xmm0
call fcn.10053f20
add esp, 4
jmp 0x10052135
test edx, 0x10000000
jne 0x10052115
test edx, 0x4000000
je 0x10052101
test al, al
jne 0x10052101
cmp byte [ebp - 0xd1], al
jg 0x10052115
test edx, 0x2000000
je 0x1005213b
test al, al
jne 0x1005213b
cmp ecx, 0x3000000
je 0x1005213b
mov edx, edi
lea ecx, [ebp - 0x110]
call fcn.10058250
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
mov edx, dword [ebp - 0xb0]
cmp byte [ebp - 0xac], 0
mov eax, dword [ebp - 0xd0]
movss xmm3, dword [esi + 0x3844]
movss xmm2, dword [esi + 0x3840]
maxss xmm3, dword [esi + 0x384c]
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 + 0x3848]
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [ebp - 0x30], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x2c], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x28], xmm5
addss xmm2, dword [eax + 0x14]
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x44], xmm7
movss dword [ebp - 0x4c], xmm2
jne 0x10052278
test edx, 0x1000000
jne 0x10052278
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10052278
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x10052278
mov eax, dword [0x101ad8fc]
movss xmm1, dword [edi + 0x1c]
cmp byte [eax + 0x67], 0
je 0x10052243
test byte [edi + 8], 1
jne 0x10052243
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x300]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x10052233
mulss xmm0, dword [ecx + 0x258]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x18]
comiss xmm3, xmm0
ja 0x1005225d
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
comiss xmm2, xmm0
ja 0x1005226e
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x14], xmm3
cvttss2si eax, dword [edi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm0
test edx, 0x1000000
je 0x100522ac
movss xmm0, dword [esi + 0x37c4]
jmp 0x100522cc
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100522c4
movss xmm0, dword [esi + 0x37cc]
jmp 0x100522cc
movss xmm0, dword [esi + 0x37a8]
xor al, al
movss dword [edi + 0x48], xmm0
mov dword [ebp - 0xb4], eax
cmp byte [ebp - 0xb9], al
je 0x10052350
test edx, 0x1000
jne 0x10052350
test edx, 0x4000000
je 0x100522fa
mov byte [ebp - 0xb4], 1
jmp 0x10052311
test edx, 0x3000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [ebp - 0xb4], eax
call fcn.10057570
test eax, eax
je 0x10052350
mov ecx, edi
cmp dword [edi + 0x308], eax
je 0x10052350
cmp ecx, eax
je 0x10052350
mov ecx, dword [ecx + 0x304]
test ecx, ecx
jne 0x10052324
mov byte [ebp - 0xb4], cl
cmp edi, dword [edi + 0x308]
jne 0x10052350
mov ecx, edi
call fcn.10050fc0
mov edx, eax
mov ecx, edi
call fcn.10053910
movss xmm2, dword [esi + 0x3bb4]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x20], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x48]
xor eax, eax
addss xmm0, dword [0x101732f8]
mulss xmm2, dword [0x10173284]
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x101732fc]
setne al
mov dword [ebp - 0x3c], 0xffffffff
addss xmm0, xmm2
inc eax
cmp byte [edi + 0xa9], 0
mov dword [ebp - 0x114], eax
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x100523ce
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea edx, [ebp - 0x38]
call fcn.1004f4e0
add esp, 0x10
test al, al
je 0x100523ce
mov cl, 1
mov dl, cl
jmp 0x100523da
mov dl, byte [ebp - 0xa9]
mov ecx, dword [ebp - 0xc0]
cmp byte [edi + 0xa9], 0
mov al, byte [ebp - 0x3c]
mov byte [edi + 0xb1], al
jne 0x1005254c
cmp dword [ebp - 0xe0], 0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
movss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x1d8]
subss xmm3, dword [edi + 0x1cc]
subss xmm4, dword [edi + 0x1d0]
movss xmm5, dword [edi + 0x24]
movss xmm6, dword [edi + 0x20]
subss xmm5, xmm0
xorps xmm0, xmm0
addss xmm3, dword [ebp - 0xcc]
addss xmm4, dword [ebp - 0xf0]
jne 0x1005244c
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x10052468
movss xmm2, dword [edi + 0x40]
movss xmm1, dword [edi + 0x44]
addss xmm2, xmm2
addss xmm1, xmm1
addss xmm2, dword [edi + 0x28]
addss xmm1, dword [edi + 0x2c]
test dl, dl
jne 0x1005246f
movaps xmm6, xmm3
test cl, cl
jne 0x10052476
movaps xmm5, xmm4
mov ecx, dword [ebp - 0xb0]
test ecx, 0x4000
jne 0x10052492
comiss xmm1, xmm5
jbe 0x1005248e
test cl, 8
je 0x10052492
xor al, al
jmp 0x10052494
mov al, 1
mov byte [ebp - 0xa9], al
mov byte [edi + 0xa5], al
test ecx, 0x8000
jne 0x100524e8
mov edx, dword [ebp - 0xc4]
test al, al
je 0x100524bc
movss xmm3, dword [edx + 0x380c]
jmp 0x100524bf
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x100524dc
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0xa9]
je 0x100524e8
mov byte [edi + 0xa4], 0
xorps xmm1, xmm1
jmp 0x10052517
mov byte [edi + 0xa4], 1
test al, al
jne 0x10052509
comiss xmm1, xmm5
jbe 0x10052501
test cl, 8
jne 0x10052501
mov al, 1
jmp 0x10052503
xor al, al
mov byte [edi + 0xa5], al
mov edx, dword [ebp - 0xc4]
movss xmm1, dword [edx + 0x380c]
test al, al
je 0x10052523
movss xmm0, dword [edx + 0x380c]
movss dword [edi + 0x9c], xmm0
addss xmm0, dword [edi + 0x58]
movss dword [edi + 0xa0], xmm1
movss dword [edi + 0x58], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x5c], xmm0
jmp 0x10052558
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005257f
cmp dword [ebp - 0xc8], 0x3000000
je 0x1005257f
mov eax, dword [ebp - 0xe4]
add eax, 0x20c
jmp 0x10052582
lea eax, [ebp - 0x30]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm7, dword [edi + 0x10]
movss xmm3, dword [edi + 0x14]
movaps xmm5, xmm7
addss xmm5, dword [edi + 0x18]
movaps xmm6, xmm3
addss xmm6, dword [edi + 0x1c]
movups xmmword [ebp - 0x140], xmm0
je 0x100525b1
xorps xmm2, xmm2
jmp 0x100525f9
cmp dword [edi + 0x300], 0
mov eax, dword [0x101ad8fc]
mov edx, dword [ebp - 0xc4]
movss xmm0, dword [eax + 0x3bb8]
mulss xmm0, dword [edi + 0x258]
je 0x100525e9
mov ecx, dword [edi + 0x300]
mulss xmm0, dword [ecx + 0x258]
mov ecx, dword [ebp - 0xb0]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
addss xmm2, xmm3
movss dword [ebp - 0x2c], xmm0
movaps xmm1, xmm7
addss xmm1, dword [edi + 0x20]
movss dword [ebp - 0x30], xmm7
and ecx, 0x401
xorps xmm4, xmm4
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [edi + 0x1bc], xmm7
movss dword [edi + 0x1c0], xmm3
movss dword [edi + 0x1c4], xmm5
movss dword [edi + 0x1c8], xmm6
movss xmm0, dword [edi + 0x1bc]
movss xmm5, dword [ebp - 0x140]
movss xmm6, dword [ebp - 0x13c]
maxss xmm0, xmm5
movss xmm2, dword [ebp - 0x134]
maxss xmm3, xmm6
movss dword [ebp - 0x110], xmm5
movss dword [ebp - 0x11c], xmm6
movss dword [ebp - 0xc0], xmm2
movss dword [edi + 0x1bc], xmm0
movss xmm0, dword [ebp - 0x138]
movss dword [edi + 0x1c0], xmm3
movss xmm1, dword [edi + 0x1c4]
movss dword [ebp - 0xe0], xmm0
minss xmm1, xmm0
movss xmm0, dword [edi + 0x1c8]
minss xmm0, xmm2
movss dword [edi + 0x1c4], xmm1
movss dword [edi + 0x1c8], xmm0
movss xmm7, dword [edi + 0x10]
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x50]
addss xmm7, dword [edi + 0x18]
movss dword [ebp - 0xf0], xmm0
movss dword [edi + 0x1cc], xmm0
movss xmm0, dword [edi + 0x14]
movaps xmm1, xmm0
addss xmm0, dword [edi + 0x1c]
addss xmm1, dword [edi + 0x54]
subss xmm7, dword [edi + 0x58]
subss xmm0, dword [edi + 0x5c]
movss dword [ebp - 0xb8], xmm1
movss dword [edi + 0x1d0], xmm1
movss dword [edi + 0x1d4], xmm7
movss dword [ebp - 0xd0], xmm0
movss dword [edi + 0x1d8], xmm0
cmp ecx, 1
jne 0x10052741
movss xmm0, dword [edi + 0x4c]
jmp 0x10052749
movss xmm0, dword [edx + 0x37e0]
movss xmm2, dword [0x101732a4]
movss dword [ebp - 0xcc], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x40]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xf0]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x4c]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1dc], xmm0
movss xmm0, dword [ebp - 0xb8]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xcc]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1e0], xmm0
movss xmm7, dword [ebp - 0xc0]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e4], xmm0
movss xmm0, dword [ebp - 0xd0]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x4c]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x1e0]
comiss xmm6, xmm0
jbe 0x10052815
movaps xmm1, xmm6
jmp 0x1005281c
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm3, dword [ebp - 0xe0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x10052835
movaps xmm0, xmm5
jmp 0x1005283c
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1dc], xmm0
movss dword [edi + 0x1e0], xmm1
movss xmm0, dword [edi + 0x1e8]
comiss xmm6, xmm0
ja 0x10052860
movaps xmm6, xmm7
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm5, xmm0
ja 0x10052874
movaps xmm5, xmm3
minss xmm5, xmm0
movss dword [edi + 0x1e4], xmm5
movss dword [edi + 0x1e8], xmm6
movss xmm0, dword [edi + 0x18]
comiss xmm0, xmm4
jbe 0x100528a4
test dword [ebp - 0xb0], 0x2000040
jne 0x100528a4
mulss xmm0, dword [0x101732b4]
jmp 0x100528b4
movss xmm0, dword [edx + 0x3bb4]
mulss xmm0, dword [0x1017342c]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0x138]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x23c], xmm0
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1d4]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1cc]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x44]
addss xmm1, xmm1
movss dword [edi + 0x7c], xmm0
movss xmm0, dword [edi + 0x1d8]
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x80], xmm0
call fcn.10056e80
mov ecx, dword [edi + 0x260]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xc4]
movss dword [edi + 0x74], xmm0
movss dword [edi + 0x78], xmm1
mov dword [edi + 0x84], 0x7f7fffff
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov eax, dword [eax + 0x3bb0]
mov dword [ebp - 0x134], ecx
add ecx, 0x48
mov dword [ebp - 0xcc], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd0], edx
mov edx, dword [ecx]
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x100529d8
inc edx
mov dword [ebp - 0xf0], edx
test eax, eax
je 0x100529c2
cdq
sub eax, edx
mov edx, dword [ebp - 0xf0]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100529c7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005f0c0
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0xd0]
mov dword [edx + eax*8], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [edx + eax*8 + 4], ecx
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x134]
inc dword [ecx]
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 0x70], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 0x74], ecx
mov ecx, eax
call fcn.10066d10
mov ecx, dword [0x101ad8fc]
movss xmm0, dword [ebp - 0x110]
movss xmm1, dword [ebp - 0x11c]
movss dword [ebp - 0x130], xmm0
mov eax, dword [ecx + 0x3e28]
maxss xmm0, dword [ebp - 0xe0]
movss dword [ebp - 0x12c], xmm1
maxss xmm1, dword [ebp - 0xc0]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
mov dword [ebp - 0xf0], eax
movss dword [ebp - 0x128], xmm0
movss dword [ebp - 0x124], xmm1
mov eax, dword [eax + 0x260]
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov dword [ebp - 0x134], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10c], ecx
cmp edx, eax
jne 0x10052ac6
inc edx
mov dword [ebp - 0x11c], edx
test eax, eax
je 0x10052ab0
cdq
sub eax, edx
mov edx, dword [ebp - 0x11c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10052ab5
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005f040
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x130]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x134]
movups xmmword [ecx + 0x60], xmm0
call fcn.10066c70
mov edx, dword [ebp - 0xf0]
mov byte [ebp - 0xaa], 0
mov eax, dword [edx + 0x260]
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 + 0x20c], eax
mov eax, dword [ebp - 0xb0]
movss dword [edx + 0x210], xmm0
and eax, 0x5000000
movss dword [edx + 0x214], xmm1
movss dword [edx + 0x218], xmm2
cmp eax, 0x1000000
jne 0x10052c10
cmp dword [ebp - 0xc8], 0x3000000
je 0x10052c10
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x17c]
cmp ecx, 2
jl 0x10052bca
mov eax, dword [eax + 0x184]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x10052bca
movss xmm5, dword [eax + 0x14]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x1c]
movss xmm6, dword [edi + 0x10]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x14]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x18]
addss xmm4, dword [edi + 0x18]
comiss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x1c]
jbe 0x10052bca
comiss xmm2, xmm5
jbe 0x10052bca
comiss xmm3, xmm6
jbe 0x10052bca
comiss xmm4, xmm7
mov byte [ebp - 0xa9], 1
ja 0x10052bd1
mov byte [ebp - 0xa9], 0
mov edx, dword [edi + 0x260]
mov eax, dword [edx]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
add ecx, ecx
cmp dword [eax + ecx*8 - 0x10], 0
jne 0x10052c10
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x18], 0
jle 0x10052c10
cmp byte [ebp - 0xa9], 0
jne 0x10052c10
mov byte [ebp - 0xaa], 1
mov dword [edi + 0x260], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x4900]
test ecx, ecx
jne 0x10052c26
mov ecx, dword [eax + 0x47a8]
cmp byte [ebp - 0xb4], 0
jne 0x10052c4a
test ecx, ecx
je 0x10052c41
mov eax, dword [edi + 0x310]
cmp eax, dword [ecx + 0x310]
je 0x10052c4a
mov byte [ebp - 0xb8], 0
jmp 0x10052c51
mov byte [ebp - 0xb8], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [ebp - 0x30]
movss dword [esp], xmm0
push eax
push dword [ebp - 0x114]
push ecx
push dword [ebp - 0xb8]
mov ecx, edi
call fcn.10050380
add esp, 0x14
cmp byte [ebp - 0xaa], 0
je 0x10052c91
lea eax, [edi + 0x268]
mov dword [edi + 0x260], eax
mov ecx, dword [ebp - 0xb0]
xorps xmm4, xmm4
movss xmm5, dword [edi + 0x38]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10052cbc
movss dword [ebp - 0xb8], xmm5
jmp 0x10052d00
movss xmm0, dword [edi + 0x40]
mov eax, ecx
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x50]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x10052cf1
movss xmm0, dword [edi + 0x28]
jmp 0x10052cf4
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0xb8], xmm0
movss xmm6, dword [edi + 0x3c]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x10052d13
movaps xmm7, xmm6
jmp 0x10052d45
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
test dl, dl
je 0x10052d3e
movss xmm7, dword [edi + 0x2c]
jmp 0x10052d41
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x40]
movss xmm2, dword [edi + 0x74]
movss xmm0, dword [edi + 0x1cc]
subss xmm0, xmm2
movss dword [ebp - 0x114], xmm1
maxss xmm1, dword [edi + 0x4c]
movss dword [ebp - 0xcc], xmm2
movss xmm3, dword [ebp - 0x114]
ucomiss xmm5, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x44]
movss dword [ebp - 0x11c], xmm0
maxss xmm0, dword [edi + 0x4c]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x78]
movss dword [ebp - 0xe0], xmm1
movss xmm1, dword [edi + 0x1d0]
subss xmm1, dword [ebp - 0xe0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x1ec], xmm2
addss xmm2, dword [ebp - 0xb8]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x1f0], xmm0
addss xmm0, xmm7
movss dword [edi + 0x1f4], xmm2
movss dword [edi + 0x1f8], xmm0
movups xmm0, xmmword [edi + 0x1ec]
movups xmmword [edi + 0x1fc], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0x50]
movss dword [ebp - 0x10c], xmm1
movss dword [ebp - 0xd0], xmm0
subss xmm1, dword [ebp - 0xcc]
addss xmm1, xmm3
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm1
movss xmm2, dword [edi + 0x14]
movss xmm0, dword [edi + 0x54]
movaps xmm7, xmm2
movss dword [ebp - 0x114], xmm2
movss xmm2, dword [ebp - 0x11c]
movss dword [ebp - 0xb8], xmm0
subss xmm7, dword [ebp - 0xe0]
addss xmm7, xmm2
addss xmm7, xmm0
movss dword [edi + 0x220], xmm7
test ah, 0x44
jp 0x10052e98
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm5, xmm0
movss xmm0, dword [ebp - 0xd0]
addss xmm0, dword [edi + 0x58]
subss xmm5, xmm0
ucomiss xmm6, xmm4
addss xmm1, xmm5
movss xmm5, dword [ebp - 0xb8]
lahf
movss dword [edi + 0x224], xmm1
test ah, 0x44
jp 0x10052ed1
movss xmm6, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm6, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x5c]
subss xmm6, xmm0
movss xmm1, dword [ebp - 0xd0]
addss xmm7, xmm6
movss xmm6, dword [ebp - 0xcc]
lea ecx, [edi + 0x158]
movaps xmm0, xmm1
mov esi, dword [ebp - 0xc4]
addss xmm0, xmm3
cvtps2pd xmm3, xmm3
movss dword [edi + 0x228], xmm7
subss xmm0, xmm6
cvtps2pd xmm2, xmm2
movss dword [edi + 0x130], xmm0
movss xmm0, dword [ebp - 0x10c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x138], 0
mov dword [edi + 0x134], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
movss xmm0, dword [ebp - 0x114]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x10173228]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xe0]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x100], xmm1
movss xmm0, dword [edi + 0xfc]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x13c], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x140], xmm0
movss xmm1, dword [edi + 0xfc]
movss xmm0, dword [edi + 0x100]
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xf0], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
movss dword [edi + 0x104], xmm1
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss dword [edi + 0x110], xmm0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x124], 0
mov word [edi + 0x12c], 0
mov dword [edi + 0x144], 0
mov ax, word [edi + 0x14a]
mov word [edi + 0x148], ax
xor eax, eax
mov word [edi + 0x14a], ax
mov byte [edi + 0x14c], al
movss xmm0, dword [edi + 0x80]
comiss xmm0, xmm4
seta al
cmp byte [ebp - 0xb9], 0
mov byte [edi + 0x14d], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x14e], 0
movss xmm1, dword [esi + 0x37e4]
mov dword [ebp - 0xb8], eax
je 0x100530b8
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x100530be
mov dword [ebp - 0xb8], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.10089190
mov eax, dword [ebp - 0xb8]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x15c]
mov dword [edi + 0x158], eax
lea eax, [edi + 0x17c]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10053133
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 + 0x17c]
call fcn.1005e830
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x240]
mov dword [edi + 0x188], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x18c], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x1005316b
mov eax, dword [eax + 0x194]
jmp 0x10053170
mov eax, 1
mov dword [edi + 0x198], eax
mov eax, dword [edi + 0x23c]
mov dword [edi + 0x19c], eax
lea eax, [edi + 0x1a4]
mov dword [edi + 0x1a0], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100531bb
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 + 0x1a4]
call fcn.1005e830
lea eax, [edi + 0x1a4]
mov dword [eax], 0
lea eax, [edi + 0x1b0]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100531f0
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 + 0x1b0]
call fcn.1005e830
lea eax, [edi + 0x1b0]
mov dword [eax], 0
mov al, byte [edi + 0xc0]
test al, al
jle 0x10053208
dec al
mov byte [edi + 0xc0], al
mov al, byte [edi + 0xc1]
test al, al
jle 0x1005321a
dec al
mov byte [edi + 0xc1], al
cmp byte [ebp - 0xb4], 0
je 0x10053233
mov ecx, edi
call fcn.100539d0
xor dl, dl
mov ecx, edi
call fcn.10059420
test byte [ebp - 0xb0], 1
movss xmm2, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
jne 0x100532b0
push dword [ebp - 0xf8]
movaps xmm0, xmm5
movss dword [ebp - 0x12c], xmm4
addss xmm0, dword [edi + 0x4c]
push dword [ebp - 0xf4]
lea edx, [ebp - 0x130]
movss dword [ebp - 0x124], xmm2
mov ecx, edi
movss dword [ebp - 0x130], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0x128], xmm0
call fcn.100509a0
movss xmm2, dword [ebp - 0x24]
add esp, 8
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
mov edx, dword [0x101ad8fc]
xor eax, eax
mov dword [edi + 0x22c], eax
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
subss xmm5, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm2, xmm0
subss xmm4, xmm0
comiss xmm1, xmm5
jb 0x1005330c
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm4
jb 0x1005330c
comiss xmm3, xmm1
jbe 0x1005330c
comiss xmm2, xmm0
mov dword [ebp - 0xf8], 1
ja 0x10053312
mov dword [ebp - 0xf8], eax
mov eax, dword [edi + 0x6c]
mov ecx, dword [esi + 0x4680]
movups xmm0, xmmword [ebp - 0x30]
mov dword [edx + 0x469c], eax
mov eax, dword [ebp - 0xf8]
mov dword [edx + 0x46a0], ecx
mov dword [edx + 0x46a4], eax
movups xmmword [edx + 0x46a8], xmm0
mov eax, dword [esi + 0x4684]
test eax, eax
je 0x100533b7
cmp dword [edi + 4], eax
je 0x10053352
cmp dword [edi + 0x6c], eax
jne 0x100533b7
call fcn.1005de40
jmp 0x100533b7
mov eax, dword [0x101ad8fc]
mov dword [eax + 0x3e28], edi
mov ecx, dword [edi + 0x190]
cmp ecx, 0xffffffff
je 0x1005337d
imul ecx, ecx, 0x1e0
add ecx, dword [eax + 0x49ec]
jmp 0x1005337f
xor ecx, ecx
movss xmm0, dword [eax + 0x3bb8]
mov dword [eax + 0x49d0], ecx
mov ecx, dword [edi + 0x300]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x100533a7
mulss xmm0, dword [ecx + 0x258]
movss dword [eax + 0x3bc8], xmm0
movss dword [eax + 0x3bb4], xmm0
mov ecx, dword [0x101ad8fc]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
movss xmm3, dword [edi + 0x1e4]
movss xmm2, dword [edi + 0x1e8]
mov dword [ebp - 0x134], eax
mov eax, dword [eax + 0x260]
mov dword [ebp - 0x10c], eax
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm1
movaps xmmword [ebp - 0x130], xmm4
jbe 0x10053424
movaps xmm1, xmm4
movss dword [ebp - 0x30], xmm1
movss xmm4, dword [ebp - 0x12c]
comiss xmm4, xmm0
jbe 0x10053439
movaps xmm0, xmm4
movss dword [ebp - 0x2c], xmm0
movss xmm4, dword [ebp - 0x128]
comiss xmm3, xmm4
jbe 0x10053449
movaps xmm3, xmm4
movss xmm4, dword [ebp - 0x124]
comiss xmm2, xmm4
jbe 0x10053459
movaps xmm2, xmm4
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
maxss xmm1, xmm3
mov dword [ebp - 0x11c], ecx
maxss xmm0, xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
cmp edx, eax
jne 0x100534af
inc edx
mov dword [ebp - 0x114], edx
test eax, eax
je 0x10053499
cdq
sub eax, edx
mov edx, dword [ebp - 0x114]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1005349e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005f040
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x30]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x10c]
movups xmmword [ecx + 0x60], xmm0
call fcn.10066c70
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x260]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [edx + 0x20c], eax
mov eax, dword [ebp - 0xe8]
movss dword [edx + 0x210], xmm0
movss dword [edx + 0x214], xmm1
movss dword [edx + 0x218], xmm2
mov byte [edi + 0xa8], 0
inc word [edi + 0xb2]
mov dword [esi + 0x46d8], 0
cmp eax, dword [ebp - 0xec]
je 0x100536a3
mov eax, dword [ebp - 0xb0]
test eax, 0x1000000
je 0x10053609
test al, 0x40
jne 0x100535cd
cmp byte [edi + 0xc0], 0
jg 0x100535cd
cmp byte [edi + 0xc1], 0
jg 0x100535cd
test eax, 0x800000
je 0x10053595
cmp byte [esi + 0x47e8], 0
je 0x10053595
mov eax, dword [esi + 0x47a8]
test eax, eax
je 0x10053595
mov eax, dword [eax + 0x314]
cmp eax, dword [edi + 0x314]
jne 0x10053595
mov al, 1
jmp 0x10053597
xor al, al
cmp byte [esi + 0x5a50], 0
jne 0x100535cd
test al, al
jne 0x100535cd
movss xmm0, dword [edi + 0x1bc]
comiss xmm0, dword [edi + 0x1c4]
jae 0x100535c6
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jb 0x100535cd
mov byte [edi + 0xc8], 1
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x10053609
cmp byte [eax + 0xa9], 0
jne 0x100535e9
cmp byte [eax + 0xc8], 0
jle 0x100535f0
mov byte [edi + 0xc8], 1
cmp byte [eax + 0xa9], 0
jne 0x10053602
cmp byte [eax + 0xc9], 0
jle 0x10053609
mov byte [edi + 0xc9], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3798]
jb 0x1005361c
mov byte [edi + 0xc8], 1
cmp byte [edi + 0xc8], 0
jg 0x1005363c
cmp byte [edi + 0xc9], 0
jg 0x1005363c
xor cl, cl
cmp byte [edi + 0xca], cl
jg 0x1005363e
xor al, al
jmp 0x10053640
mov cl, 1
mov al, 1
mov byte [edi + 0xad], al
mov al, byte [edi + 0xcb]
test al, al
jle 0x10053663
dec al
mov byte [edi + 0xcb], al
mov eax, dword [edi + 8]
or eax, 0xc0200
mov dword [edi + 8], eax
xor al, al
cmp byte [edi + 0xa9], al
jne 0x10053679
cmp byte [edi + 0xa6], al
je 0x10053679
test cl, cl
je 0x1005369d
cmp byte [edi + 0xc0], 0
jg 0x1005369d
cmp byte [edi + 0xc1], 0
jg 0x1005369d
cmp byte [edi + 0xc9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xab], al
cmp byte [edi + 0xab], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.100fe801
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret