Function at 0x1004a830
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, 0x168
mov eax, dword [0x100ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x100cef00]
push edi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd0], esi
call fcn.10048460
mov edi, eax
mov dword [ebp - 0x110], eax
test edi, edi
sete byte [ebp - 0xb1]
test eax, eax
jne 0x1004a8a0
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x10c]
call fcn.10048720
mov edi, eax
mov eax, dword [ebp - 0xc4]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3de0]
cmovne edx, eax
mov dword [ebp - 0x108], ecx
cmp dword [esi + 0x3e1c], 0
mov eax, dword [edi + 0x238]
mov dword [ebp - 0x104], eax
lea eax, [esi + 0x3e1c]
mov dword [ebp - 0xc0], edx
jne 0x1004a8f6
cmp byte [esi + 0x3ded], 0
je 0x1004a8f6
mov al, 1
jmp 0x1004a8f8
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x104]
cmp ecx, eax
setl ch
mov byte [ebp - 0xc5], ch
test edx, 0x4000000
je 0x1004a958
mov eax, dword [esi + 0x47a4]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x47a0]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc0]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xc5], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x1004a977
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x108]
je 0x1004a9de
push edx
mov dl, byte [ebp - 0xb1]
mov ecx, edi
call fcn.100484b0
mov eax, dword [ebp - 0x108]
add esp, 4
mov edx, dword [ebp - 0xc0]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3dd8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
movzx eax, word [esi + 0x3e34]
inc dword [esi + 0x3e34]
mov word [edi + 0xbc], ax
jmp 0x1004a9e7
mov edx, dword [edi + 0xc]
mov dword [ebp - 0xc0], edx
mov eax, dword [esi + 0x3e1c]
test eax, eax
je 0x1004a9fe
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e24]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xc4], eax
cmp ecx, dword [ebp - 0x108]
je 0x1004aa28
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xe8], ecx
jmp 0x1004aa34
mov eax, dword [edi + 0x2f8]
mov dword [ebp - 0xe8], eax
cmp dword [edi + 0xe4], 0
lea eax, [edi + 0xe4]
jne 0x1004aa69
cmp dword [eax + 4], 0
jne 0x1004aa58
push 8
mov ecx, eax
call fcn.100570f0
lea eax, [edi + 0xe4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe4]
push 0x4e
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e40], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x46ec]
lea edx, [esi + 0x3e1c]
movups xmm0, xmmword [esi + 0x46b4]
mov dword [ebp - 0x74], eax
add esp, 0xc
movzx eax, word [edi + 0xe4]
mov word [ebp - 0x70], ax
movzx eax, word [esi + 0x4750]
mov word [ebp - 0x6e], ax
movzx eax, word [esi + 0x475c]
mov ecx, dword [edx]
mov word [ebp - 0x6c], ax
movzx eax, word [esi + 0x4768]
mov word [ebp - 0x6a], ax
movzx eax, word [esi + 0x4774]
mov word [ebp - 0x68], ax
movzx eax, word [esi + 0x478c]
mov word [ebp - 0x66], ax
movzx eax, word [esi + 0x4780]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x64], ax
lea eax, [esi + 0x47a4]
movups xmm0, xmmword [esi + 0x46c4]
mov dword [ebp - 0xdc], eax
movzx eax, word [eax]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x46d4]
movzx eax, word [esi + 0x59e4]
mov word [ebp - 0x60], ax
mov eax, dword [edx + 4]
mov dword [ebp - 0xb0], edi
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [esi + 0x46e4]
movq qword [ebp - 0x7c], xmm0
cmp ecx, eax
jne 0x1004ab6f
inc ecx
test eax, eax
je 0x1004ab57
cdq
sub eax, edx
lea edx, [esi + 0x3e1c]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x1004ab5c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10057840
lea edx, [esi + 0x3e1c]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0xb0]
mov eax, dword [ebp - 0x60]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
inc dword [edx]
and eax, 0x10000000
mov dword [ebp - 0xd4], eax
je 0x1004abc8
inc dword [esi + 0x47b0]
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x108]
je 0x1004ac83
mov edx, dword [ebp - 0xe8]
mov dword [edi + 0x2f8], edx
mov dword [edi + 0x30c], edi
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test edx, edx
je 0x1004ac4c
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1004ac1c
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x1004ac30
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x1004ac4c
test ecx, 0x5000000
je 0x1004ac4c
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x1004ac77
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x1004ac60
mov eax, dword [ebp - 0xc4]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x100], eax
mov eax, dword [0x100cef00]
mov ecx, dword [eax + 0x4778]
lea edx, [eax + 0x4774]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xcc], edx
cmp dword [edx], ecx
jne 0x1004acda
test ecx, ecx
je 0x1004acbf
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xcc]
sar eax, 1
add eax, ecx
jmp 0x1004acc4
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100570f0
mov edx, dword [ebp - 0xcc]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x100]
mov dword [eax + ecx*4], esi
mov ecx, esi
mov eax, dword [ebp - 0x34]
inc dword [edx]
mov esi, dword [ebp - 0xd0]
mov dword [eax + 0x4694], ecx
mov eax, dword [esi + 0x4694]
mov dword [edi + 0x33c], eax
mov eax, dword [ebp - 0xc0]
and eax, 0x4000000
mov dword [esi + 0x3e40], 0
mov dword [ebp - 0xd8], eax
je 0x1004addf
mov eax, dword [esi + 0x47a4]
mov ecx, dword [esi + 0x47a0]
mov dword [ebp - 0xcc], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx + edx*8 + 4], edi
mov dword [ebp - 0x34], edx
mov eax, dword [eax + 0x148]
mov dword [ecx + edx*8 + 0xc], eax
mov eax, dword [esi + 0x47a8]
mov ecx, dword [esi + 0x47a4]
cmp ecx, eax
jne 0x1004ad94
inc ecx
test eax, eax
je 0x1004ad79
cdq
sub eax, edx
lea edx, [esi + 0x47a4]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x1004ad84
mov eax, 8
lea edx, [esi + 0x47a4]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100577c0
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0xdc]
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0xcc]
movups xmm0, xmmword [esi + edx*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edx*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edx*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, dword [ebp - 0xdc]
inc dword [eax]
mov eax, esi
mov esi, dword [ebp - 0xd0]
mov eax, dword [eax + edx*8]
mov dword [edi + 0xc0], eax
test byte [esi + 0x46f0], 1
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xb2], 0
mov byte [ebp - 0xba], 0
je 0x1004aea1
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46f4]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xb9]
test ecx, eax
je 0x1004ae90
movss xmm1, dword [esi + 0x470c]
movss xmm0, dword [esi + 0x4708]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100c702c]
jbe 0x1004ae90
mov eax, dword [esi + 0x4700]
mov ecx, dword [esi + 0x4704]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4708]
mov ecx, dword [esi + 0x470c]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0xd0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd0], ecx
jmp 0x1004aea1
push ecx
lea edx, [esi + 0x4700]
mov ecx, edi
call fcn.1004d760
add esp, 4
test byte [esi + 0x46f0], 2
xorps xmm1, xmm1
je 0x1004af0a
movsx eax, byte [edi + 0xd1]
lea edx, [esi + 0x4710]
mov ecx, dword [esi + 0x46f8]
and eax, ecx
je 0x1004aed6
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1004aed6
mov byte [ebp - 0xb2], 1
jmp 0x1004aee1
mov byte [ebp - 0xb2], 0
test eax, eax
je 0x1004aef5
movss xmm0, dword [esi + 0x4714]
comiss xmm0, xmm1
mov byte [ebp - 0xba], 1
ja 0x1004aefc
mov byte [ebp - 0xba], 0
push ecx
mov ecx, edi
call fcn.1004d8c0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46f0], 0x80
je 0x1004af51
movss xmm0, dword [esi + 0x4720]
comiss xmm0, xmm1
jb 0x1004af32
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x4724]
comiss xmm0, xmm1
jb 0x1004af51
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f0], 4
je 0x1004af6e
mov eax, dword [esi + 0x4718]
mov ecx, dword [esi + 0x471c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x1004af8a
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x108]
je 0x1004af8a
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f0], 8
je 0x1004afd7
mov ecx, dword [esi + 0x46fc]
mov dl, byte [esi + 0x4728]
test ecx, ecx
je 0x1004afae
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x1004afd7
movzx ecx, byte [edi + 0xd2]
mov eax, dword [edi + 0xd0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xad], dl
mov dword [edi + 0xd0], ecx
test byte [esi + 0x46f0], 0x20
je 0x1004afe7
mov ecx, edi
call fcn.1004d430
cmp byte [edi + 0xb0], 0
je 0x1004b005
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x108]
je 0x1004ce73
mov eax, dword [ebp - 0xc0]
lea ecx, [edi + 0xe4]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
mov byte [edi + 0xb4], 0
mov dword [ebp - 0x100], eax
mov al, byte [edi + 0xcd]
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov byte [ebp - 0xdd], al
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], eax
cmp eax, 1
jge 0x1004b0ac
test eax, eax
je 0x1004b091
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0xb8]
jmp 0x1004b096
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.100570f0
lea ecx, [edi + 0xe4]
mov dword [ecx], 1
mov ecx, dword [edi + 0x264]
call fcn.1005ed60
cmp byte [edi + 0x348], 0
mov dword [edi + 0x194], 0xffffffff
je 0x1004b113
mov ecx, dword [edi + 0x264]
push dword [edi + 0x340]
add ecx, 0xc
mov byte [edi + 0x348], 0
call fcn.10036e50
mov ecx, dword [edi + 0x264]
push dword [edi + 0x344]
add ecx, 0x18
call fcn.10057510
mov dword [edi + 0x344], 0
mov dword [edi + 0x340], 0
cmp dword [esi + 0x491c], 0
je 0x1004b21a
test dword [edi + 0xc], 0x80000
jne 0x1004b21a
cmp dword [ebp - 0x110], 0
je 0x1004b21a
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x10c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004b170
test dl, dl
je 0x1004b16c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004b170
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004b150
xor eax, eax
jmp 0x1004b175
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004b21a
mov ecx, dword [ebp - 0x10c]
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0xdc], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b195
sub ecx, dword [ebp - 0xb8]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
cmp edx, eax
jae 0x1004b1fe
test ecx, ecx
je 0x1004b1c8
mov eax, dword [0x100cef00]
test eax, eax
je 0x1004b1c8
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x100cef00]
add esp, 4
test eax, eax
je 0x1004b1e1
inc dword [eax + 0xb4]
push dword [ebp - 0xc4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], eax
push eax
push dword [ebp - 0x10c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
mov ecx, edi
lea edx, [edi + 0x2c]
push eax
call fcn.10048b20
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x1004b23d
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x1004b24f
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x1004b261
dec al
mov byte [edi + 0xce], al
cmp dword [ebp - 0x110], 0
mov al, byte [ebp - 0xb2]
mov cl, byte [ebp - 0xba]
jne 0x1004b285
test al, al
je 0x1004b27e
test cl, cl
jne 0x1004b285
mov byte [edi + 0xcd], 1
cmp byte [ebp - 0xc5], 0
je 0x1004b2e8
mov edx, dword [ebp - 0xc0]
test edx, 0x6000000
je 0x1004b2e8
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x1004b2e8
test al, al
jne 0x1004b2ba
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x1004b2cc
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov edx, dword [0x100cef00]
mov eax, dword [edx + 0x47bc]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [ebp - 0xb8], eax
mov dword [edx + 0x3e40], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x1004b31e
imul eax, eax, 0x1e8
add eax, dword [edx + 0x4a00]
jmp 0x1004b320
xor eax, eax
mov dword [edx + 0x49e4], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004b34a
mulss xmm0, dword [eax + 0x25c]
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
and eax, 0x1000000
movss dword [edx + 0x3be4], xmm0
movss dword [edx + 0x3bd0], xmm0
mov dword [ebp - 0xcc], eax
je 0x1004b379
movss xmm0, dword [esi + 0x37d0]
jmp 0x1004b39b
test ecx, 0x6000000
je 0x1004b393
test ecx, 0x8000000
jne 0x1004b393
movss xmm0, dword [esi + 0x37d8]
jmp 0x1004b39b
movss xmm0, dword [esi + 0x37b4]
movss dword [edi + 0x50], xmm0
xorps xmm7, xmm7
mov eax, dword [esi + 0x37a8]
mov ecx, dword [esi + 0x37ac]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x1004b3f3
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1004b3f3
test ecx, 0x400
je 0x1004b3e4
movss xmm0, dword [esi + 0x37ac]
jmp 0x1004b3e7
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x37ec]
maxss xmm0, dword [esi + 0x4748]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x474c]
mov dword [edi + 0x158], eax
mov al, byte [ebp - 0xb1]
mov dword [ebp - 0xdc], eax
test cl, 0x21
jne 0x1004b57e
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x1004b43e
xorps xmm2, xmm2
jmp 0x1004b470
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004b460
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37e0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm3, dword [edi + 0x14]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x18]
addss xmm0, dword [edi + 0x24]
addss xmm2, dword [edi + 0x18]
cmp dword [esi + 0x3e44], edi
jne 0x1004b52e
cmp dword [esi + 0x3e78], 0
jne 0x1004b52e
cmp dword [esi + 0x3e7c], 0
jne 0x1004b52e
mov eax, dword [edx + 0x3e40]
movss xmm1, dword [edx + 0x3804]
movaps xmm5, xmm1
maxss xmm3, dword [eax + 0x210]
minss xmm0, dword [eax + 0x218]
maxss xmm4, dword [eax + 0x214]
minss xmm2, dword [eax + 0x21c]
subss xmm3, xmm1
movss xmm1, dword [edx + 0xdc0]
addss xmm5, xmm0
movss xmm0, dword [edx + 0x3808]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x1004b52e
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm4
jb 0x1004b52e
comiss xmm5, xmm1
jbe 0x1004b52e
comiss xmm6, xmm0
jbe 0x1004b52e
cmp word [esi + 0x370a], 2
jne 0x1004b52e
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x1004b585
mov cl, byte [edi + 0xad]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [ebp - 0xdc]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [ebp - 0xdc], eax
jne 0x1004b585
comiss xmm7, dword [edx + 0x5a24]
jb 0x1004b585
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a24], eax
jmp 0x1004b585
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [ebp - 0xf8], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x1004b5c9
xorps xmm2, xmm2
jmp 0x1004b5fe
movss xmm0, dword [ecx + 0x3bd4]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test edx, edx
je 0x1004b5eb
mulss xmm0, dword [edx + 0x25c]
movss xmm2, dword [ecx + 0x37e0]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1004b642
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004b628
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37e0]
addss xmm0, dword [edi + 0x158]
addss xmm1, xmm1
addss xmm1, xmm0
jmp 0x1004b645
xorps xmm1, xmm1
addss xmm1, xmm2
mov dword [edi + 0x60], 0
lea eax, [edi + 0x34]
mov dword [edi + 0xa0], 0
push eax
mov edx, edi
mov dword [edi + 0xa4], 0
lea ecx, [ebp - 0x3c]
movss dword [edi + 0x58], xmm1
call fcn.10048c50
add esp, 4
lea eax, [edi + 0xad]
test byte [ebp - 0xc0], 0x40
je 0x1004b6d2
cmp byte [eax], 0
mov dword [ebp - 0xf4], eax
jne 0x1004b6d2
cmp byte [ebp - 0xb2], 0
jne 0x1004b6ae
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xba], 0
jne 0x1004b79e
movss xmm0, dword [ebp - 0x38]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0xdc], eax
jmp 0x1004b79e
mov ecx, eax
mov al, byte [edi + 0xc4]
test al, al
jg 0x1004b6f1
cmp byte [edi + 0xc5], 0
mov dword [ebp - 0xf4], ecx
jle 0x1004b79e
cmp byte [ebp - 0xb2], 0
jne 0x1004b724
test al, al
jle 0x1004b724
cmp byte [edi + 0xc7], 0
je 0x1004b713
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x3c]
jmp 0x1004b718
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xba], 0
jne 0x1004b75d
cmp byte [edi + 0xc5], 0
jle 0x1004b75d
cmp byte [edi + 0xc7], 0
je 0x1004b74b
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x38]
jmp 0x1004b750
movss xmm0, dword [ebp - 0x38]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0xdc], eax
cmp byte [ecx], 0
mov dword [ebp - 0xf4], ecx
jne 0x1004b79e
test dword [edi + 0xc], 0x100
mov edx, dword [0x100cef00]
mov dword [ebp - 0xf4], ecx
jne 0x1004b79e
xorps xmm0, xmm0
mov dword [ebp - 0xf4], ecx
comiss xmm0, dword [edx + 0x5a24]
jb 0x1004b79e
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a24], eax
mov dword [ebp - 0xf4], ecx
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [ebp - 0x138]
call fcn.10048910
add esp, 4
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
mov eax, dword [ebp - 0xf4]
movss dword [edi + 0x24], xmm3
movss dword [edi + 0x28], xmm0
cmp byte [eax], 0
je 0x1004b842
cmp dword [ebp - 0xcc], 0
jne 0x1004b842
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x1004b7e6
xorps xmm2, xmm2
jmp 0x1004b818
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004b808
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37e0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x18]
subss xmm0, dword [edi + 0x14]
movss dword [ebp - 0xec], xmm2
movss dword [ebp - 0xf0], xmm0
jmp 0x1004b854
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], ecx
cmp byte [ebp - 0xc5], 0
lea ecx, [ebp - 0xf0]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x1004b8c0
mov eax, dword [ebp - 0xc0]
and eax, 0xc000000
mov dword [edi + 0xc8], 0xffffffff
cmp eax, 0x4000000
jne 0x1004b8c0
cmp byte [ebp - 0xb9], 0
jne 0x1004b8c0
mov eax, dword [esi + 0x47a4]
mov edx, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47ac]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
mov eax, 0x14
movss dword [eax + edx], xmm0
movss dword [eax + edx + 4], xmm1
cmp dword [ebp - 0xcc], 0
je 0x1004b978
mov edx, dword [ebp - 0xe8]
add edx, 0x180
mov dword [ebp - 0xc4], edx
mov ax, word [edx]
mov word [edi + 0xba], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1004b926
test ecx, ecx
je 0x1004b905
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc4]
sar eax, 1
add eax, ecx
jmp 0x1004b90a
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100570f0
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0xd8]
mov al, byte [ebp - 0xb9]
test ecx, ecx
jne 0x1004b984
test al, al
jne 0x1004b984
cmp dword [ebp - 0x100], 0x3000000
je 0x1004b984
mov ecx, dword [ebp - 0xe8]
mov esi, 0x14
mov edx, edi
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [esi + edx], eax
mov eax, esi
mov esi, dword [ebp - 0xd0]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 0xd8]
mov al, byte [ebp - 0xb9]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x100c717c]
lahf
test ah, 0x44
jnp 0x1004b9f6
cmp byte [edi + 0xcd], 0
jne 0x1004b9f6
movss xmm0, dword [edi + 0xdc]
lea edx, [ebp - 0xf0]
mulss xmm0, dword [edi + 0x1c]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [ebp - 0xf0], xmm1
movss xmm1, dword [edi + 0x20]
mulss xmm1, dword [edi + 0xe0]
subss xmm0, xmm1
movss dword [ebp - 0xec], xmm0
call fcn.1004d760
mov edx, dword [ebp - 0xc0]
add esp, 4
jmp 0x1004ba5d
cmp dword [ebp - 0xd4], 0
jne 0x1004ba0f
test ecx, ecx
je 0x1004ba3f
test al, al
jne 0x1004ba3f
cmp byte [ebp - 0xdd], al
jle 0x1004ba3f
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10051260
mov edx, dword [ebp - 0xc0]
mov ecx, edi
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, 0x14
movss dword [eax + ecx], xmm0
movss dword [eax + ecx + 4], xmm1
jmp 0x1004ba5f
mov edx, dword [ebp - 0xc0]
test edx, 0x2000000
je 0x1004ba5d
test al, al
jne 0x1004ba5d
cmp dword [ebp - 0x100], 0x3000000
jne 0x1004ba0f
mov ecx, edi
cmp byte [ebp - 0xb9], 0
mov eax, dword [ebp - 0xb8]
movss xmm3, dword [esi + 0x3860]
movss xmm2, dword [esi + 0x385c]
maxss xmm3, dword [esi + 0x3868]
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 xmm4, xmm0
maxss xmm2, dword [esi + 0x3864]
addss xmm4, dword [eax + 0xc]
movaps xmm5, xmm1
movss dword [ebp - 0x30], xmm0
addss xmm5, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x2c], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x28], xmm4
addss xmm2, dword [eax + 0x14]
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x44], xmm7
movss dword [ebp - 0x4c], xmm2
jne 0x1004bbae
cmp dword [ebp - 0xcc], 0
jne 0x1004bbae
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x1004bbae
subss xmm5, xmm1
comiss xmm5, xmm0
jbe 0x1004bbae
mov eax, dword [0x100cef00]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x1004bb70
test byte [edi + 0xc], 1
jne 0x1004bb70
mov ecx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [ecx + 0x3bd4]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004bb5e
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37e0]
mov ecx, edi
addss xmm1, xmm1
addss xmm1, xmm0
subss xmm2, dword [edi + 0x1c]
mov eax, 0x14
subss xmm3, xmm1
movss xmm0, dword [eax + ecx + 4]
comiss xmm3, xmm0
ja 0x1004bb90
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [eax + ecx]
comiss xmm2, xmm0
ja 0x1004bba1
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [eax + ecx], xmm2
movss dword [eax + ecx + 4], xmm3
jmp 0x1004bbb3
mov eax, 0x14
cmp dword [ebp - 0xcc], 0
cvttss2si eax, dword [eax + ecx]
movd xmm1, eax
mov eax, 0x14
cvtdq2ps xmm1, xmm1
cvttss2si eax, dword [eax + ecx + 4]
movd xmm0, eax
mov eax, 0x14
cvtdq2ps xmm0, xmm0
movss dword [eax + ecx], xmm1
movss dword [eax + ecx + 4], xmm0
je 0x1004bbf4
movss xmm0, dword [esi + 0x37cc]
jmp 0x1004bc14
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004bc0c
movss xmm0, dword [esi + 0x37d4]
jmp 0x1004bc14
movss xmm0, dword [esi + 0x37b0]
xor al, al
movss dword [edi + 0x4c], xmm0
mov dword [ebp - 0xcc], eax
cmp byte [ebp - 0xc5], al
je 0x1004be7d
test edx, 0x1000
jne 0x1004be7d
cmp dword [ebp - 0xd8], 0
je 0x1004bc4b
mov byte [ebp - 0xcc], 1
jmp 0x1004bc63
cmp dword [ebp - 0x100], 0
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0xcc], eax
call fcn.10050a20
test eax, eax
je 0x1004be7d
mov edx, dword [edi + 0x300]
mov ecx, edi
mov dword [ebp - 0xd8], edx
cmp edx, eax
je 0x1004be7d
cmp ecx, eax
je 0x1004be7d
mov ecx, dword [ecx + 0x2fc]
test ecx, ecx
jne 0x1004bc86
mov byte [ebp - 0xcc], cl
cmp edi, edx
jne 0x1004be7d
mov edx, dword [0x100cef00]
mov eax, dword [edx + 0x4798]
test eax, eax
jle 0x1004bd82
add eax, 0xffffffff
mov dword [ebp - 0xc4], eax
js 0x1004bd82
mov edx, dword [edx + 0x47a0]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0xb8], edx
nop
mov edx, dword [edx]
test edx, edx
je 0x1004bd64
test dword [edx + 0xc], 0x8000000
je 0x1004bd64
cmp byte [edx + 0xaa], 0
jne 0x1004bd01
cmp byte [edx + 0xab], 0
je 0x1004bd64
mov eax, edi
cmp dword [ebp - 0xd8], edx
je 0x1004bd82
nop dword [eax + eax]
cmp eax, edx
je 0x1004bd82
mov eax, dword [eax + 0x2fc]
test eax, eax
jne 0x1004bd10
mov eax, dword [edx + 0x2fc]
mov ecx, dword [eax + 0x300]
test ecx, ecx
je 0x1004bd5e
nop
mov eax, edi
cmp dword [ebp - 0xd8], ecx
je 0x1004bd84
nop word [eax + eax]
cmp eax, ecx
je 0x1004bd84
mov eax, dword [eax + 0x2fc]
test eax, eax
jne 0x1004bd40
mov eax, dword [ecx + 0x2fc]
mov ecx, dword [eax + 0x300]
test ecx, ecx
jne 0x1004bd30
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xb8]
dec eax
sub edx, 0x28
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb8], edx
test eax, eax
jns 0x1004bce0
xor edx, edx
mov eax, dword [edx + 0x300]
mov dword [ebp - 0xd4], eax
mov eax, dword [0x100cef00]
mov ecx, dword [eax + 0x3e00]
mov edx, ecx
mov eax, dword [eax + 0x3df8]
lea ecx, [ecx + eax*4]
cmp edx, ecx
jae 0x1004bdbb
mov eax, dword [ebp - 0xd8]
cmp dword [edx], eax
je 0x1004bdbb
add edx, 4
cmp edx, ecx
jb 0x1004bdb0
mov esi, dword [0x100cef00]
mov eax, dword [esi + 0x3e00]
sub edx, eax
sar edx, 2
cmp eax, ecx
jae 0x1004bde1
mov esi, dword [ebp - 0xd4]
cmp dword [eax], esi
je 0x1004bde1
add eax, 4
cmp eax, ecx
jb 0x1004bdd6
mov esi, dword [0x100cef00]
sub eax, dword [esi + 0x3e00]
sar eax, 2
mov dword [ebp - 0xd4], eax
lea ecx, [eax*4]
mov dword [ebp - 0xb8], ecx
cmp edx, eax
jge 0x1004be3e
mov ecx, dword [esi + 0x3e00]
sub eax, edx
lea eax, [eax*4 - 4]
lea ecx, [ecx + edx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0xb8]
mov eax, esi
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + 0x3e00]
mov dword [edx + eax - 4], ecx
jmp 0x1004be74
sub edx, dword [ebp - 0xd4]
mov eax, dword [esi + 0x3e00]
shl edx, 2
add eax, ecx
push edx
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [0x100cef00]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + 0x3e00]
mov dword [edx + eax], ecx
mov esi, dword [ebp - 0xd0]
add esp, 0xc
movss xmm2, dword [esi + 0x3bd0]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xf4]
movaps xmm1, xmm2
mulss xmm2, dword [0x100c704c]
xor eax, eax
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x100c70ac]
setne al
mov dword [ebp - 0x34], 0xffffffff
movaps xmmword [ebp - 0x20], xmm0
inc eax
cmp byte [ecx], 0
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [0x100c70a8]
mov dword [ebp - 0xec], eax
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si esi, xmm1
jne 0x1004befd
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea edx, [ebp - 0x3c]
call fcn.10048f80
add esp, 0x10
test al, al
je 0x1004befd
mov cl, 1
mov dl, cl
jmp 0x1004bf09
mov dl, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0xdc]
mov al, byte [ebp - 0x34]
mov byte [edi + 0xb5], al
mov eax, dword [ebp - 0xf4]
cmp byte [eax], 0
jne 0x1004c096
cmp dword [ebp - 0x110], 0
lea eax, [ebp - 0xfc]
movss xmm6, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
movaps xmm0, xmm6
movss xmm3, dword [edi + 0x1dc]
addss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x1d0]
subss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x28]
movss xmm5, dword [edi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0xe4]
addss xmm3, dword [ebp - 0xf8]
jne 0x1004bf91
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
jmp 0x1004bfbd
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x2c]
addss xmm1, dword [edi + 0x30]
movss dword [ebp - 0xfc], xmm0
movss dword [ebp - 0xf8], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x1004bfcd
movaps xmm5, xmm2
test cl, cl
jne 0x1004bfd4
movaps xmm4, xmm3
mov eax, dword [ebp - 0xc0]
test eax, 0x4000
jne 0x1004bfee
comiss xmm1, xmm4
jbe 0x1004bfea
test al, 8
je 0x1004bfee
xor cl, cl
jmp 0x1004bff0
mov cl, 1
mov edx, dword [ebp - 0xd0]
add edx, 0x3814
mov byte [edi + 0xa9], cl
test eax, 0x8000
jne 0x1004c03d
test cl, cl
je 0x1004c013
movss xmm0, dword [edx]
jmp 0x1004c016
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x1004c031
mov eax, dword [ebp - 0xc0]
and eax, 0x808
cmp eax, 0x800
je 0x1004c03d
mov byte [edi + 0xa8], 0
xorps xmm1, xmm1
jmp 0x1004c066
mov byte [edi + 0xa8], 1
test cl, cl
jne 0x1004c062
comiss xmm1, xmm4
jbe 0x1004c05a
test byte [ebp - 0xc0], 8
jne 0x1004c05a
mov cl, 1
jmp 0x1004c05c
xor cl, cl
mov byte [edi + 0xa9], cl
movss xmm1, dword [edx]
test cl, cl
je 0x1004c070
movss xmm0, dword [edx]
jmp 0x1004c073
xorps xmm0, xmm0
movss dword [edi + 0xa0], xmm0
addss xmm6, xmm1
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0xa4], xmm1
movss dword [edi + 0x60], xmm6
movss dword [edi + 0x5c], xmm0
mov edx, dword [ebp - 0xc0]
mov eax, edx
and eax, 0x5000000
mov dword [ebp - 0xd8], eax
cmp eax, 0x1000000
jne 0x1004c0c9
cmp dword [ebp - 0x100], 0x3000000
je 0x1004c0c9
mov eax, dword [ebp - 0xe8]
add eax, 0x210
jmp 0x1004c0cc
lea eax, [ebp - 0x30]
test byte [edi + 0xc], 1
mov ecx, 0x14
movups xmm4, xmmword [eax]
mov eax, edi
movss xmm7, dword [edi + 0x18]
movaps xmm6, xmm7
movaps xmmword [ebp - 0x120], xmm4
addss xmm6, dword [edi + 0x20]
movss xmm0, dword [ecx + eax]
mov ecx, dword [edi]
movaps xmm5, xmm0
addss xmm5, dword [edi + 0x1c]
movss dword [ebp - 0xb8], xmm0
je 0x1004c10c
xorps xmm3, xmm3
jmp 0x1004c148
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004c12e
mulss xmm0, dword [eax + 0x25c]
movss xmm3, dword [ecx + 0x37e0]
mov eax, edi
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xb8]
movaps xmm2, xmm0
movss dword [ebp - 0x30], xmm0
addss xmm2, dword [edi + 0x24]
movaps xmm1, xmm7
mov ecx, 0x14
addss xmm1, xmm3
movss xmm0, dword [ecx + eax + 4]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0xb8]
movss dword [ebp - 0x28], xmm2
movaps xmm2, xmm4
movss dword [ebp - 0x24], xmm1
movss dword [edi + 0x1c0], xmm0
movss dword [edi + 0x1c4], xmm7
movss dword [edi + 0x1c8], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1cc], xmm6
movss xmm0, dword [edi + 0x1c0]
maxss xmm0, xmm4
shufps xmm5, xmm4, 0x55
maxss xmm7, xmm5
shufps xmm2, xmm4, 0xff
movups xmmword [ebp - 0x160], xmm5
movups xmmword [ebp - 0x130], xmm2
movss dword [edi + 0x1c0], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1c4], xmm7
movss xmm1, dword [edi + 0x1c8]
shufps xmm0, xmm4, 0xaa
minss xmm1, xmm0
movups xmmword [ebp - 0x150], xmm0
movss xmm0, dword [edi + 0x1cc]
minss xmm0, xmm2
movss dword [edi + 0x1c8], xmm1
movss dword [edi + 0x1cc], xmm0
movss xmm6, dword [ecx + eax]
mov eax, edx
movss xmm7, dword [edi + 0x18]
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x54]
addss xmm6, dword [edi + 0x1c]
mov edx, dword [ebp - 0xd0]
and eax, 0x401
movss dword [ebp - 0xf8], xmm0
movss dword [edi + 0x1d0], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x20]
addss xmm0, dword [edi + 0x58]
subss xmm6, dword [edi + 0x5c]
subss xmm7, dword [edi + 0x60]
movss dword [ebp - 0xe4], xmm0
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm7
cmp eax, 1
jne 0x1004c287
movss xmm0, dword [edi + 0x50]
jmp 0x1004c28f
movss xmm0, dword [edx + 0x37e8]
movss xmm2, dword [0x100c7064]
movss dword [ebp - 0xb8], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x44]
addss xmm7, xmm2
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xf8]
addss xmm0, xmm2
subss xmm7, dword [edi + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [ebp - 0xe4]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movups xmm6, xmmword [ebp - 0x130]
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm5, xmm0
jbe 0x1004c352
movaps xmm1, xmm5
jmp 0x1004c359
movaps xmm1, xmm6
minss xmm1, xmm0
movups xmm3, xmmword [ebp - 0x150]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x1004c371
movaps xmm0, xmm4
jmp 0x1004c378
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
comiss xmm5, xmm0
jbe 0x1004c39a
movaps xmm1, xmm5
jmp 0x1004c3a1
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1e8]
comiss xmm4, xmm2
jbe 0x1004c3b3
movaps xmm0, xmm4
jmp 0x1004c3ba
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1e8], xmm0
xorps xmm2, xmm2
movss dword [edi + 0x1ec], xmm1
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm2
jbe 0x1004c3ed
test dword [ebp - 0xc0], 0x2000040
jne 0x1004c3ed
mulss xmm0, dword [0x100c706c]
jmp 0x1004c3fd
movss xmm0, dword [edx + 0x3bd0]
mulss xmm0, dword [0x100c7124]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0x138]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x240], xmm0
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x48]
addss xmm1, xmm1
movss dword [edi + 0x80], xmm0
movss xmm0, dword [edi + 0x1dc]
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x84], xmm0
call fcn.10050300
mov ecx, dword [edi + 0x264]
mov dword [ebp - 0xe4], ecx
add ecx, 0x48
mov dword [ebp - 0xb8], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xd0]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov eax, dword [eax + 0x3bcc]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004c51b
inc edx
mov dword [ebp - 0xf8], edx
test eax, eax
je 0x1004c505
cdq
sub eax, edx
mov edx, dword [ebp - 0xf8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004c50a
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100570f0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc4]
inc dword [ecx]
mov ecx, dword [ebp - 0xe4]
mov dword [ecx + 0x70], eax
call fcn.1005f5f0
mov ecx, dword [0x100cef00]
movaps xmm0, xmmword [ebp - 0x120]
comiss xmm0, dword [ebp - 0x150]
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e40]
mov dword [ebp - 0xb8], eax
movaps xmmword [ebp - 0x140], xmm0
mov eax, dword [eax + 0x264]
mov dword [ebp - 0xd4], eax
jb 0x1004c59d
movss dword [ebp - 0x138], xmm0
movaps xmm0, xmmword [ebp - 0x140]
movaps xmmword [ebp - 0x120], xmm0
movups xmm0, xmmword [ebp - 0x160]
comiss xmm0, dword [ebp - 0x130]
jb 0x1004c5c3
movss dword [ebp - 0x134], xmm0
movaps xmm0, xmmword [ebp - 0x140]
movaps xmmword [ebp - 0x120], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe4], ecx
cmp edx, eax
jne 0x1004c607
inc edx
mov dword [ebp - 0xf8], edx
test eax, eax
je 0x1004c5f1
cdq
sub eax, edx
mov edx, dword [ebp - 0xf8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004c5f6
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10066330
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x120]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xd4]
movups xmmword [ecx + 0x60], xmm0
call fcn.1005f550
mov edx, dword [ebp - 0xb8]
mov byte [ebp - 0xb2], 0
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0xd8], 0x1000000
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 + 0x210], eax
movss dword [edx + 0x214], xmm0
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
jne 0x1004c750
cmp dword [ebp - 0x100], 0x3000000
je 0x1004c750
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x1004c70c
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1004c70c
movss xmm5, dword [eax + 0x18]
mov ecx, edi
movss xmm7, dword [eax + 0x14]
mov edx, 0x14
movss xmm2, dword [edi + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x20]
addss xmm2, dword [edi + 0x20]
movss xmm6, dword [edx + ecx]
movaps xmm3, xmm7
addss xmm3, dword [eax + 0x1c]
movaps xmm4, xmm6
comiss xmm0, dword [edi + 0x18]
addss xmm4, dword [edi + 0x1c]
jbe 0x1004c70c
comiss xmm2, xmm5
jbe 0x1004c70c
comiss xmm3, xmm6
jbe 0x1004c70c
comiss xmm4, xmm7
mov byte [ebp - 0xb1], 1
ja 0x1004c713
mov byte [ebp - 0xb1], 0
mov edx, dword [edi + 0x264]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1004c750
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
jle 0x1004c750
cmp byte [ebp - 0xb1], 0
jne 0x1004c750
mov byte [ebp - 0xb2], 1
mov dword [edi + 0x264], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x4914]
test ecx, ecx
jne 0x1004c766
mov ecx, dword [eax + 0x47c0]
cmp byte [ebp - 0xcc], 0
jne 0x1004c78a
test ecx, ecx
je 0x1004c781
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x1004c78a
mov byte [ebp - 0xb8], 0
jmp 0x1004c791
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 - 0xec]
push ecx
push dword [ebp - 0xb8]
mov ecx, edi
call fcn.10049d80
add esp, 0x14
cmp byte [ebp - 0xb2], 0
je 0x1004c7d1
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov edx, dword [ebp - 0xc0]
xorps xmm2, xmm2
movss xmm4, dword [edi + 0x3c]
mov ecx, edx
shr ecx, 3
not cl
and cl, 1
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1004c7f7
movaps xmm7, xmm4
jmp 0x1004c833
movss xmm0, dword [edi + 0x44]
mov eax, edx
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x1004c82c
movss xmm7, dword [edi + 0x2c]
jmp 0x1004c82f
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x1004c846
movaps xmm6, xmm5
jmp 0x1004c878
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x60]
subss xmm1, xmm0
test cl, cl
je 0x1004c871
movss xmm6, dword [edi + 0x30]
jmp 0x1004c874
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x44]
mov ecx, 0x14
movss xmm2, dword [edi + 0x78]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, xmm2
movss dword [ebp - 0xec], xmm1
maxss xmm1, dword [edi + 0x50]
movss dword [ebp - 0xb8], xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1f0], xmm2
addss xmm7, xmm2
movss xmm0, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x48]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [ebp - 0xc4]
movss dword [ebp - 0xf8], xmm1
maxss xmm1, dword [edi + 0x50]
movss xmm2, dword [ebp - 0xec]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0xf8]
movd xmm0, eax
mov eax, edi
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm6, xmm0
movss dword [edi + 0x1f8], xmm7
movss dword [edi + 0x1fc], xmm6
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [ecx + eax]
movss xmm6, dword [edi + 0x54]
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0xb8]
movss dword [ebp - 0xe4], xmm0
addss xmm3, xmm2
addss xmm3, xmm6
movss dword [edi + 0x220], xmm3
movss xmm0, dword [edi + 0x18]
movss xmm7, dword [edi + 0x58]
movss dword [ebp - 0xd4], xmm0
subss xmm0, dword [ebp - 0xc4]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [ebp - 0xec], xmm0
movss dword [edi + 0x224], xmm0
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x1004c9c7
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x5c]
subss xmm4, xmm0
xorps xmm0, xmm0
ucomiss xmm5, xmm0
addss xmm4, xmm3
lahf
movss dword [edi + 0x228], xmm4
test ah, 0x44
jp 0x1004c9f8
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x60]
subss xmm5, xmm0
movss xmm0, dword [ebp - 0xec]
lea ecx, [edi + 0x15c]
movss xmm4, dword [ebp - 0xb8]
addss xmm0, xmm5
movss xmm3, dword [ebp - 0xe4]
cvtps2pd xmm3, xmm3
mov esi, dword [ebp - 0xd0]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
subss xmm0, xmm4
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm2, dword [ebp - 0xd4]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm4
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, qword [0x100c7020]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xc4]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm7
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x144], xmm0
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [edi + 0x104]
movss dword [edi + 0xf0], xmm1
movss dword [edi + 0xf4], xmm0
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x110], xmm1
movss dword [edi + 0x114], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x128], 0
mov word [edi + 0x130], 0
mov dword [edi + 0x148], 0
mov ax, word [edi + 0x14e]
mov word [edi + 0x14c], ax
xor eax, eax
mov word [edi + 0x14e], ax
mov byte [edi + 0x150], al
movss xmm0, dword [edi + 0x84]
comiss xmm0, dword [0x100c7018]
seta al
cmp byte [ebp - 0xc5], 0
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
movss xmm1, dword [esi + 0x37ec]
je 0x1004cbd9
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.1006a710
xorps xmm0, xmm0
movq qword [edi + 0x16e], xmm0
mov eax, dword [edi + 0x160]
mov dword [edi + 0x15c], eax
lea eax, [edi + 0x180]
mov dword [edi + 0x160], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004cc4b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x180]
call fcn.100570f0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x1004cc83
mov eax, dword [eax + 0x198]
jmp 0x1004cc88
mov eax, 1
mov dword [edi + 0x19c], eax
mov eax, dword [edi + 0x240]
mov dword [edi + 0x1a0], eax
lea eax, [edi + 0x1a8]
mov dword [edi + 0x1a4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004ccd3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1a8]
call fcn.100570f0
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004cd08
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1b4]
call fcn.100570f0
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x1004cd20
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x1004cd32
dec al
mov byte [edi + 0xc5], al
cmp byte [ebp - 0xcc], 0
je 0x1004cd4b
mov ecx, edi
call fcn.1004d430
xor dl, dl
mov ecx, edi
call fcn.10052590
test byte [ebp - 0xc0], 1
movss xmm4, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
jne 0x1004cdc3
movaps xmm0, xmm5
movss dword [ebp - 0x11c], xmm2
addss xmm0, dword [edi + 0x50]
push ecx
push dword [ebp - 0x10c]
lea edx, [ebp - 0x120]
movss dword [ebp - 0x114], xmm4
mov ecx, edi
movss dword [ebp - 0x120], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x50]
movss dword [ebp - 0x118], xmm0
call fcn.1004a3a0
movss xmm2, dword [ebp - 0x2c]
add esp, 8
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x24]
movss xmm5, dword [ebp - 0x30]
mov edx, dword [0x100cef00]
xor eax, eax
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x3804]
movss xmm0, dword [edx + 0x3808]
subss xmm5, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdc0]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm1, xmm5
jb 0x1004ce1f
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm2
jb 0x1004ce1f
comiss xmm3, xmm1
jbe 0x1004ce1f
comiss xmm4, xmm0
mov dword [ebp - 0xb8], 1
ja 0x1004ce25
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x4698]
movaps xmm0, xmmword [ebp - 0x30]
mov dword [edx + 0x46b4], eax
mov eax, dword [ebp - 0xb8]
mov dword [edx + 0x46b8], ecx
mov dword [edx + 0x46bc], eax
movups xmmword [edx + 0x46d0], xmm0
movups xmmword [edx + 0x46c0], xmm0
mov eax, dword [esi + 0x469c]
test eax, eax
je 0x1004ced4
cmp dword [edi + 8], eax
je 0x1004ce6c
cmp dword [edi + 0x70], eax
jne 0x1004ced4
call fcn.100565d0
jmp 0x1004ced4
mov ecx, dword [0x100cef00]
mov dword [ecx + 0x3e40], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x1004ce98
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a00]
jmp 0x1004ce9a
xor eax, eax
mov dword [ecx + 0x49e4], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1004cec4
mulss xmm0, dword [eax + 0x25c]
movss dword [ecx + 0x3be4], xmm0
movss dword [ecx + 0x3bd0], xmm0
mov ecx, dword [0x100cef00]
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e40]
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
movss xmm2, dword [edi + 0x1e8]
mov edx, dword [eax + 0x264]
movss xmm3, dword [edi + 0x1ec]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe4], edx
movups xmm4, xmmword [edx + 0x60]
movss dword [ebp - 0x30], xmm1
comiss xmm4, xmm1
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
movaps xmmword [ebp - 0x130], xmm4
jbe 0x1004cf4b
movaps xmm1, xmm4
movss dword [ebp - 0x30], xmm1
movss xmm4, dword [ebp - 0x12c]
comiss xmm4, xmm0
jbe 0x1004cf60
movaps xmm0, xmm4
movss dword [ebp - 0x2c], xmm0
movss xmm4, dword [ebp - 0x128]
comiss xmm2, xmm4
jbe 0x1004cf75
movaps xmm2, xmm4
movss dword [ebp - 0x28], xmm2
movss xmm4, dword [ebp - 0x124]
comiss xmm3, xmm4
jbe 0x1004cf8a
movaps xmm3, xmm4
movss dword [ebp - 0x24], xmm3
comiss xmm1, xmm2
jb 0x1004cf94
movss dword [ebp - 0x28], xmm1
comiss xmm0, xmm3
jb 0x1004cf9e
movss dword [ebp - 0x24], xmm0
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [ebp - 0xf8], ecx
cmp dword [ecx], eax
jne 0x1004cfe7
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x1004cfcb
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004cfd0
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10066330
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x30]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.1005f550
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x210], eax
mov eax, dword [ebp - 0x104]
movss dword [edx + 0x214], xmm0
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
mov byte [edi + 0xac], 0
inc word [edi + 0xb6]
mov dword [esi + 0x46f0], 0
cmp eax, dword [ebp - 0x108]
je 0x1004d1d3
mov eax, dword [ebp - 0xc0]
test eax, 0x1000000
je 0x1004d13d
test al, 0x40
jne 0x1004d101
cmp byte [edi + 0xc4], 0
jg 0x1004d101
cmp byte [edi + 0xc5], 0
jg 0x1004d101
test eax, 0x800000
je 0x1004d0c9
cmp byte [esi + 0x47fc], 0
je 0x1004d0c9
mov eax, dword [esi + 0x47c0]
test eax, eax
je 0x1004d0c9
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x1004d0c9
mov al, 1
jmp 0x1004d0cb
xor al, al
cmp byte [esi + 0x5a84], 0
jne 0x1004d101
test al, al
jne 0x1004d101
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x1004d0fa
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x1004d101
mov byte [edi + 0xcc], 1
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x1004d13d
cmp byte [eax + 0xad], 0
jne 0x1004d11d
cmp byte [eax + 0xcc], 0
jle 0x1004d124
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x1004d136
cmp byte [eax + 0xcd], 0
jle 0x1004d13d
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x37a0]
jb 0x1004d150
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x1004d170
cmp byte [edi + 0xcd], 0
jg 0x1004d170
xor cl, cl
cmp byte [edi + 0xce], cl
jg 0x1004d172
xor al, al
jmp 0x1004d174
mov cl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x1004d193
dec al
mov byte [edi + 0xcf], al
or dword [edi + 0xc], 0xc0200
xor al, al
cmp byte [edi + 0xad], al
jne 0x1004d1a9
cmp byte [edi + 0xaa], al
je 0x1004d1a9
test cl, cl
je 0x1004d1cd
cmp byte [edi + 0xc4], 0
jg 0x1004d1cd
cmp byte [edi + 0xc5], 0
jg 0x1004d1cd
cmp byte [edi + 0xcd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x1004d239
cmp byte [esi + 0x6c], 0
je 0x1004d1eb
cmp dword [ebp - 0x110], 0
je 0x1004d200
cmp byte [esi + 0x6d], 0
je 0x1004d239
movsx eax, byte [esi + 0x5ada]
cmp eax, dword [esi + 0x3e1c]
jne 0x1004d239
mov al, byte [edi + 0xc4]
test al, al
jle 0x1004d212
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x1004d224
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10093402
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0xaf], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.10093402
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret