Function at 0x100571c0
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, 0x158
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
xor edx, edx
push esi
mov esi, dword [0x1015d8a4]
push edi
push 0
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xe0], esi
call fcn.1004edc0
add esp, 4
mov ecx, eax
call fcn.10055100
mov edi, eax
mov dword [ebp - 0x108], eax
test edi, edi
sete byte [ebp - 0xb1]
test eax, eax
jne 0x1005723e
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x104]
call fcn.100553e0
mov edi, eax
mov edx, dword [ebp - 0xc4]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1005725d
or edx, 6
mov dword [ebp - 0xc4], edx
cmp dword [esi + 0x3e34], 0
mov ecx, dword [esi + 0x3dd8]
mov eax, dword [edi + 0x238]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], eax
jne 0x1005728b
cmp byte [esi + 0x3de5], 0
je 0x1005728b
mov al, 1
jmp 0x1005728d
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
cmp dword [ebp - 0xe8], eax
setl al
mov byte [ebp - 0xbb], al
test edx, 0x4000000
je 0x100572f7
mov ecx, dword [ebp - 0xe0]
mov eax, dword [esi + 0x47bc]
mov edx, dword [ecx + 0x47b8]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xc4]
setne al
or cl, al
mov al, byte [ebp - 0xbb]
or al, cl
mov ecx, dword [ebp - 0xec]
mov byte [ebp - 0xbb], al
mov byte [edi + 0xb0], al
test al, al
je 0x10057316
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
cmp dword [ebp - 0xe8], ecx
je 0x10057377
push edx
mov dl, byte [ebp - 0xb1]
mov ecx, edi
call fcn.10055160
mov eax, dword [ebp - 0xec]
add esp, 4
mov edx, dword [ebp - 0xc4]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3dd0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
movzx eax, word [esi + 0x3e4c]
inc dword [esi + 0x3e4c]
mov word [edi + 0xbc], ax
jmp 0x10057380
mov edx, dword [edi + 0xc]
mov dword [ebp - 0xc4], edx
mov eax, dword [esi + 0x3e34]
test eax, eax
jne 0x1005738e
xor ecx, ecx
jmp 0x1005739b
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e3c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xc0], ecx
cmp eax, dword [ebp - 0xec]
je 0x100573be
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x100573c4
mov eax, dword [edi + 0x2f8]
cmp dword [edi + 0xe4], 0
mov dword [ebp - 0xe4], eax
lea eax, [edi + 0xe4]
jne 0x100573ff
cmp dword [eax + 4], 0
jne 0x100573ee
push 8
mov ecx, eax
call fcn.10064380
lea eax, [edi + 0xe4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe4]
push 0x3c
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e58], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x4704]
lea edx, [esi + 0x3e34]
mov dword [ebp - 0x74], eax
xorps xmm0, xmm0
movzx eax, word [edi + 0xe4]
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
movzx eax, word [esi + 0x4768]
movups xmm0, xmmword [esi + 0x46cc]
mov ecx, dword [edx]
mov word [ebp - 0x6e], ax
movzx eax, word [esi + 0x4774]
mov word [ebp - 0x6c], ax
movzx eax, word [esi + 0x4780]
mov word [ebp - 0x6a], ax
movzx eax, word [esi + 0x478c]
mov word [ebp - 0x68], ax
movzx eax, word [esi + 0x47a4]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x66], ax
movups xmm0, xmmword [esi + 0x46dc]
movzx eax, word [esi + 0x4798]
mov word [ebp - 0x64], ax
movzx eax, word [esi + 0x47bc]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x46ec]
movzx eax, word [esi + 0x5a24]
mov word [ebp - 0x60], 0
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x60], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46fc]
mov dword [ebp - 0xb0], edi
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x34], eax
cmp ecx, eax
jne 0x1005750d
inc ecx
test eax, eax
je 0x100574f5
cdq
sub eax, edx
lea edx, [esi + 0x3e34]
sar eax, 1
add eax, dword [ebp - 0x34]
jmp 0x100574fa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10064880
lea edx, [esi + 0x3e34]
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
inc dword [edx]
mov ecx, dword [ebp - 0xc4]
test ecx, 0x10000000
je 0x1005755f
inc dword [esi + 0x47c8]
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x10057613
mov edx, dword [ebp - 0xe4]
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 0x100575e3
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x100575b3
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x100575c7
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x100575e3
test ecx, 0x5000000
je 0x100575e3
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x10057607
mov ecx, edi
nop
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x100575f0
mov eax, dword [ebp - 0xc0]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x1015d8a4]
mov ecx, dword [eax + 0x4790]
lea edx, [eax + 0x478c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xb8], edx
cmp dword [edx], ecx
jne 0x1005766a
test ecx, ecx
je 0x1005764f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
add eax, ecx
jmp 0x10057654
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10064380
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0xc8]
mov dword [eax + ecx*4], esi
mov eax, esi
inc dword [edx]
test dword [ebp - 0xc4], 0x4000000
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0xe0]
mov dword [ecx + 0x46ac], eax
mov eax, dword [esi + 0x46ac]
mov dword [edi + 0x34c], eax
mov dword [esi + 0x3e58], 0
je 0x100576f2
mov eax, dword [esi + 0x47bc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47b8]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xe0]
push esi
add ecx, 0x47bc
mov eax, dword [eax + 0x148]
mov dword [esi + 0xc], eax
call fcn.100640f0
mov eax, dword [esi]
mov esi, dword [ebp - 0xe0]
mov dword [edi + 0xc0], eax
xor dl, dl
mov byte [ebp - 0xba], 0
test byte [esi + 0x4708], 1
mov byte [ebp - 0xb2], dl
mov byte [ebp - 0xb9], dl
je 0x100577b4
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x470c]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xba]
test ecx, eax
je 0x100577a3
movss xmm1, dword [esi + 0x4724]
movss xmm0, dword [esi + 0x4720]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1013d688]
jbe 0x100577a3
mov eax, dword [esi + 0x4718]
mov ecx, dword [esi + 0x471c]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4720]
mov ecx, dword [esi + 0x4724]
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 0x100577b4
push ecx
lea edx, [esi + 0x4718]
mov ecx, edi
call fcn.1005a170
add esp, 4
test byte [esi + 0x4708], 2
xorps xmm1, xmm1
je 0x10057822
movsx eax, byte [edi + 0xd1]
mov ecx, dword [esi + 0x4710]
and eax, ecx
je 0x100577e7
movss xmm0, dword [esi + 0x4728]
comiss xmm0, xmm1
jbe 0x100577e7
mov byte [ebp - 0xb2], 1
jmp 0x100577f3
xor dl, dl
mov byte [ebp - 0xb2], dl
test eax, eax
je 0x10057807
movss xmm0, dword [esi + 0x472c]
comiss xmm0, xmm1
mov byte [ebp - 0xb9], 1
ja 0x1005780e
mov byte [ebp - 0xb9], 0
push ecx
lea edx, [esi + 0x4728]
mov ecx, edi
call fcn.1005a2d0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x4708], 0x80
je 0x10057869
movss xmm0, dword [esi + 0x4738]
comiss xmm0, xmm1
jb 0x1005784a
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x473c]
comiss xmm0, xmm1
jb 0x10057869
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x4708], 4
je 0x10057886
mov eax, dword [esi + 0x4730]
mov ecx, dword [esi + 0x4734]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x100578a2
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x100578a2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x4708], 8
je 0x100578ef
mov ecx, dword [esi + 0x4714]
mov dl, byte [esi + 0x4740]
test ecx, ecx
je 0x100578c6
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x100578ef
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 + 0x4708], 0x20
je 0x10057901
xor edx, edx
mov ecx, edi
call fcn.10059ab0
cmp byte [edi + 0xb0], 0
je 0x1005791f
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x100594a7
mov eax, dword [ebp - 0xc4]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
mov byte [edi + 0xb4], 0
mov dword [ebp - 0xdc], eax
mov al, byte [edi + 0xcd]
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov byte [ebp - 0xd1], al
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [edi + 0xe8]
cmp eax, 1
jge 0x100579c2
test eax, eax
je 0x100579a5
cdq
sub eax, edx
lea edx, [edi + 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100579b0
mov ecx, 8
lea edx, [edi + 0xe4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10064380
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.1006c640
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x10057a2d
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.100646c0
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.100644d0
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x494c], 0
je 0x10057b3c
test dword [edi + 0xc], 0x80000
jne 0x10057b3c
cmp dword [ebp - 0x108], 0
je 0x10057b3c
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x104]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057a85
test dl, dl
je 0x10057a81
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057a85
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057a65
xor eax, eax
jmp 0x10057a8a
sbb eax, eax
or eax, 1
test eax, eax
je 0x10057b3c
mov ecx, dword [ebp - 0x104]
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0xc8], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc0], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057ab0
sub ecx, dword [ebp - 0xc0]
lea eax, [ecx + 1]
mov dword [ebp - 0xc0], eax
cmp edx, eax
mov eax, dword [ebp - 0xb8]
jae 0x10057b1a
test eax, eax
je 0x10057ae4
mov ecx, dword [0x1015d8a4]
test ecx, ecx
je 0x10057ae4
dec dword [ecx + 0xac]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x1015d8a4]
add esp, 4
test eax, eax
je 0x10057afd
inc dword [eax + 0xac]
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 - 0xc8], ecx
jmp 0x10057b20
mov ecx, dword [ebp - 0xc0]
push ecx
push dword [ebp - 0x104]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
mov ecx, edi
push eax
lea edx, [edi + 0x2c]
call fcn.100557f0
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x10057b5f
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x10057b71
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x10057b83
dec al
mov byte [edi + 0xce], al
cmp dword [ebp - 0x108], 0
mov al, byte [ebp - 0xb2]
mov cl, byte [ebp - 0xb9]
jne 0x10057ba7
test al, al
je 0x10057ba0
test cl, cl
jne 0x10057ba7
mov byte [edi + 0xcd], 1
cmp byte [ebp - 0xbb], 0
mov edx, dword [ebp - 0xc4]
je 0x10057c0a
test edx, 0x6000000
je 0x10057c0a
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x10057c0a
test al, al
jne 0x10057bdc
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x10057bee
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [0x1015d8a4]
mov dword [ebp - 0xb8], ecx
mov eax, dword [ecx + 0x47d4]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [ebp - 0xcc], eax
mov dword [ecx + 0x3e58], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x10057c46
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a2c]
jmp 0x10057c48
xor eax, eax
mov dword [ecx + 0x4a10], eax
mov dword [ebp - 0xc0], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bc8]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x10057c78
mulss xmm0, dword [eax + 0x25c]
cmp dword [ebp - 0xc0], 0
movss dword [ecx + 0x3bd8], xmm0
movss dword [ecx + 0x3bc4], xmm0
jne 0x10057c9e
cmp dword [edi + 0x190], 0
jne 0x10057c9e
mov al, 1
jmp 0x10057ca0
xor al, al
mov byte [edi + 0x150], al
test edx, 0x1000000
je 0x10057cb8
movss xmm0, dword [esi + 0x37b0]
jmp 0x10057cda
test edx, 0x6000000
je 0x10057cd2
test edx, 0x8000000
jne 0x10057cd2
movss xmm0, dword [esi + 0x37b8]
jmp 0x10057cda
movss xmm0, dword [esi + 0x3794]
mov eax, edi
xorps xmm3, xmm3
movss dword [eax + 0x50], xmm0
mov eax, dword [esi + 0x3788]
mov ecx, dword [esi + 0x378c]
mov dword [edi + 0x44], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x48], ecx
cmp eax, 0x1000000
jne 0x10057d2e
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10057d2e
test edx, 0x400
je 0x10057d1f
movss xmm0, dword [esi + 0x378c]
jmp 0x10057d22
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [esi + 0x37cc]
maxss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x4760]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x4764]
mov dword [edi + 0x158], eax
mov al, byte [ebp - 0xb1]
mov dword [ebp - 0xc8], eax
test dl, 0x21
jne 0x10057ec1
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x10057d79
xorps xmm0, xmm0
jmp 0x10057dab
movss xmm1, dword [ecx + 0x3bc8]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x10057d9b
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c0]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [edi + 0x14]
movaps xmm4, xmm1
mov edx, dword [ebp - 0xb8]
addss xmm4, dword [edi + 0x24]
addss xmm0, dword [edi + 0x18]
cmp dword [esi + 0x3e5c], edi
jne 0x10057e71
cmp dword [esi + 0x3e90], 0
jne 0x10057e71
cmp dword [esi + 0x3e94], 0
jne 0x10057e71
mov eax, dword [edx + 0x3e58]
movss xmm2, dword [eax + 0x210]
minss xmm4, dword [eax + 0x218]
movss xmm5, dword [eax + 0x214]
maxss xmm2, xmm1
movss xmm1, dword [edx + 0x37e4]
movss xmm6, dword [eax + 0x21c]
maxss xmm5, dword [edi + 0x18]
minss xmm6, xmm0
movss xmm0, dword [edx + 0x37e8]
subss xmm2, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xdb8]
subss xmm5, xmm0
addss xmm6, xmm0
comiss xmm1, xmm2
jb 0x10057e71
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm5
jb 0x10057e71
comiss xmm4, xmm1
jbe 0x10057e71
comiss xmm6, xmm0
jbe 0x10057e71
cmp word [esi + 0x3702], 2
jne 0x10057e71
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x10057ec8
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 - 0xc8]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [ebp - 0xc8], eax
jne 0x10057ec8
comiss xmm3, dword [edx + 0x5a64]
jb 0x10057ec8
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a64], eax
jmp 0x10057ec8
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [ebp - 0xd0], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x10057f0c
xorps xmm2, xmm2
jmp 0x10057f41
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bc8]
test edx, edx
je 0x10057f2e
mulss xmm0, dword [edx + 0x25c]
movss xmm2, dword [ecx + 0x37c0]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x10057f85
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bc8]
test eax, eax
je 0x10057f6b
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c0]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10057f88
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.10055920
add esp, 4
test byte [ebp - 0xc4], 0x40
je 0x10058010
cmp byte [edi + 0xad], 0
jne 0x10058010
cmp byte [ebp - 0xb2], 0
jne 0x10057fe9
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xb9], 0
jne 0x100580c0
movss xmm0, dword [ebp - 0x38]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0xc8], eax
jmp 0x100580c0
mov al, byte [edi + 0xc4]
test al, al
jg 0x10058027
cmp byte [edi + 0xc5], 0
jle 0x100580c0
cmp byte [ebp - 0xb2], 0
jne 0x1005805a
test al, al
jle 0x1005805a
cmp byte [edi + 0xc7], 0
je 0x10058049
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x3c]
jmp 0x1005804e
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xb9], 0
jne 0x10058093
cmp byte [edi + 0xc5], 0
jle 0x10058093
cmp byte [edi + 0xc7], 0
je 0x10058081
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x38]
jmp 0x10058086
movss xmm0, dword [ebp - 0x38]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0xc8], eax
cmp byte [edi + 0xad], 0
jne 0x100580c0
test dword [edi + 0xc], 0x100
mov ecx, dword [0x1015d8a4]
jne 0x100580c0
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a64]
jb 0x100580c0
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a64], eax
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [ebp - 0x118]
call fcn.100555d0
mov edx, dword [ebp - 0xc4]
add esp, 4
cmp byte [edi + 0xad], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm0
je 0x10058163
test edx, 0x1000000
jne 0x10058163
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x1005810b
xorps xmm1, xmm1
jmp 0x1005813d
movss xmm0, dword [ecx + 0x3bc8]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x1005812d
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
subss xmm2, dword [edi + 0x14]
subss xmm1, dword [edi + 0x18]
movss dword [ebp - 0xf8], xmm2
movss dword [ebp - 0xf4], xmm1
jmp 0x10058175
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
cmp byte [ebp - 0xbb], 0
lea ecx, [ebp - 0xf8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x100581d5
mov eax, edx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100581d5
cmp byte [ebp - 0xba], 0
jne 0x100581d5
mov eax, dword [esi + 0x47bc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47c4]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
test edx, 0x1000000
je 0x1005828b
mov ecx, dword [ebp - 0xe4]
add ecx, 0x180
mov dword [ebp - 0xc0], ecx
mov ax, word [ecx]
mov word [edi + 0xba], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x1005823d
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xb8], edx
test eax, eax
je 0x10058221
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10058226
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10064380
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xdc]
inc dword [eax]
mov al, byte [ebp - 0xba]
test edx, 0x4000000
jne 0x10058297
test al, al
jne 0x10058297
cmp ecx, 0x3000000
je 0x10058297
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0xdc]
mov al, byte [ebp - 0xba]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x1013da70]
lahf
test ah, 0x44
jnp 0x10058303
cmp byte [edi + 0xcd], 0
jne 0x10058303
movss xmm0, dword [edi + 0x1c]
lea edx, [ebp - 0xf8]
mulss xmm0, dword [edi + 0xdc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [ebp - 0xf8], xmm1
movss xmm1, dword [edi + 0xe0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [ebp - 0xf4], xmm0
call fcn.1005a170
add esp, 4
jmp 0x10058353
test edx, 0x10000000
jne 0x10058333
test edx, 0x4000000
je 0x1005831f
test al, al
jne 0x1005831f
cmp byte [ebp - 0xd1], al
jg 0x10058333
test edx, 0x2000000
je 0x10058359
test al, al
jne 0x10058359
cmp ecx, 0x3000000
je 0x10058359
mov edx, edi
lea ecx, [ebp - 0xf8]
call fcn.1005e2d0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
mov edx, dword [ebp - 0xc4]
cmp byte [ebp - 0xba], 0
mov eax, dword [ebp - 0xcc]
movss xmm3, dword [esi + 0x3840]
movss xmm2, dword [esi + 0x383c]
maxss xmm3, dword [esi + 0x3848]
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 + 0x3844]
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 0x10058498
test edx, 0x1000000
jne 0x10058498
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10058498
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x10058498
mov eax, dword [0x1015d8a4]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x4b], 0
je 0x10058463
test byte [edi + 0xc], 1
jne 0x10058463
mov ecx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [ecx + 0x3bc8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x10058453
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c0]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x18]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x1005847d
movaps xmm3, xmm0
minss xmm3, xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x1005848e
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [edi + 0x14], xmm2
movss dword [edi + 0x18], xmm3
cvttss2si eax, dword [edi + 0x14]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm0
test edx, 0x1000000
je 0x100584cc
movss xmm0, dword [esi + 0x37ac]
jmp 0x100584ec
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100584e4
movss xmm0, dword [esi + 0x37b4]
jmp 0x100584ec
movss xmm0, dword [esi + 0x3790]
xor cl, cl
movss dword [edi + 0x4c], xmm0
mov dword [ebp - 0xc0], ecx
cmp byte [ebp - 0xbb], cl
je 0x10058531
test edx, 0x1000
jne 0x10058531
test edx, 0x4000000
je 0x1005851a
mov byte [ebp - 0xc0], 1
jmp 0x10058531
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0xc0], ecx
xor eax, eax
mov dword [ebp - 0x34], 0xffffffff
cmp byte [esi + 0x4a], al
xorps xmm0, xmm0
movaps xmmword [ebp - 0x20], xmm0
setne al
inc eax
cmp byte [edi + 0xad], 0
jne 0x1005857f
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.10055ba0
mov edx, dword [ebp - 0xc4]
add esp, 0x10
test al, al
je 0x1005857f
mov cl, 1
mov byte [ebp - 0xb1], cl
jmp 0x10058585
mov ecx, dword [ebp - 0xc8]
cmp byte [edi + 0xad], 0
mov al, byte [ebp - 0x34]
mov byte [edi + 0xb5], al
jne 0x100586dc
cmp dword [ebp - 0x108], 0
lea eax, [ebp - 0xf8]
movss xmm0, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
movss xmm3, dword [edi + 0x1dc]
addss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x1d0]
subss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x28]
movss xmm5, dword [edi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0xd8]
addss xmm3, dword [ebp - 0xd0]
jne 0x10058608
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
jmp 0x10058634
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 - 0xf8], xmm0
movss dword [ebp - 0xf4], xmm1
cmp byte [ebp - 0xb1], 0
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
jne 0x10058649
movaps xmm5, xmm2
test cl, cl
jne 0x10058650
movaps xmm4, xmm3
test edx, 0x4000
jne 0x10058666
comiss xmm1, xmm4
jbe 0x10058662
test dl, 8
je 0x10058666
xor cl, cl
jmp 0x10058668
mov cl, 1
mov byte [edi + 0xa9], cl
test edx, 0x8000
jne 0x100586a7
test cl, cl
je 0x10058684
movss xmm0, dword [esi + 0x37f4]
jmp 0x10058687
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1005869e
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x100586a7
mov byte [edi + 0xa8], 0
jmp 0x100586c8
mov byte [edi + 0xa8], 1
test cl, cl
jne 0x100586c8
comiss xmm1, xmm4
jbe 0x100586c0
test dl, 8
jne 0x100586c0
mov al, 1
jmp 0x100586c2
xor al, al
mov byte [edi + 0xa9], al
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10058703
cmp dword [ebp - 0xdc], 0x3000000
je 0x10058703
mov eax, dword [ebp - 0xe4]
add eax, 0x210
jmp 0x10058706
lea eax, [ebp - 0x30]
test byte [edi + 0xc], 1
movss xmm0, dword [edi + 0x14]
movups xmm4, xmmword [eax]
mov ecx, dword [edi]
movss xmm3, dword [edi + 0x18]
movaps xmm6, xmm0
addss xmm6, dword [edi + 0x1c]
movaps xmm7, xmm3
movaps xmmword [ebp - 0x100], xmm4
addss xmm7, dword [edi + 0x20]
movss dword [ebp - 0xb8], xmm0
je 0x1005873f
xorps xmm2, xmm2
jmp 0x10058779
movss xmm0, dword [ecx + 0x3bc8]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x10058761
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37c0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [ebp - 0xb8]
movaps xmm1, xmm0
movss dword [ebp - 0x30], xmm0
addss xmm1, dword [edi + 0x24]
movss xmm0, dword [edi + 0x18]
addss xmm2, xmm3
movss dword [ebp - 0x2c], xmm0
mov eax, edx
movss xmm0, dword [ebp - 0xb8]
and eax, 0x401
xorps xmm5, xmm5
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm2
movss dword [edi + 0x1c0], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1c4], xmm3
movss dword [edi + 0x1c8], xmm6
movaps xmm6, xmm4
movss dword [edi + 0x1cc], xmm7
shufps xmm6, xmm4, 0x55
maxss xmm3, xmm6
maxss xmm0, dword [edi + 0x1c0]
movups xmmword [ebp - 0x150], xmm6
movss dword [edi + 0x1c4], xmm3
movss dword [edi + 0x1c0], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
movaps xmm1, xmm0
minss xmm1, dword [edi + 0x1c8]
movups xmmword [ebp - 0x140], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xff
movups xmmword [ebp - 0x130], xmm0
minss xmm0, dword [edi + 0x1cc]
movss dword [edi + 0x1c8], xmm1
movss dword [edi + 0x1cc], xmm0
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x54]
addss xmm7, dword [edi + 0x1c]
movss dword [ebp - 0xd0], xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm1, xmm0
addss xmm0, dword [edi + 0x20]
addss xmm1, dword [edi + 0x58]
subss xmm7, dword [edi + 0x5c]
subss xmm0, dword [edi + 0x60]
movss dword [ebp - 0xd8], xmm1
movss dword [edi + 0x1d4], xmm1
movss dword [edi + 0x1d8], xmm7
movss dword [ebp - 0xcc], xmm0
movss dword [edi + 0x1dc], xmm0
cmp eax, 1
jne 0x100588ae
movss xmm0, dword [edi + 0x50]
jmp 0x100588b6
movss xmm0, dword [esi + 0x37c8]
movss xmm2, dword [0x1013d78c]
movss dword [ebp - 0xb8], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm2
movups xmm3, xmmword [ebp - 0x130]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xd0]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [ebp - 0xd8]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [ebp - 0xcc]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm6, xmm0
jbe 0x10058981
movaps xmm1, xmm6
jmp 0x10058988
movaps xmm1, xmm3
minss xmm1, xmm0
movups xmm7, xmmword [ebp - 0x140]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x100589a0
movaps xmm0, xmm4
jmp 0x100589a7
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
comiss xmm6, xmm0
ja 0x100589cb
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm4, xmm0
ja 0x100589df
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [edi + 0x1e8], xmm4
movss dword [edi + 0x1ec], xmm6
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm5
jbe 0x10058a0b
test edx, 0x2000040
jne 0x10058a0b
mulss xmm0, dword [0x1013d798]
jmp 0x10058a1b
movss xmm0, dword [esi + 0x3bc4]
mulss xmm0, dword [0x1013d918]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x240], xmm0
lea ecx, [ebp - 0x118]
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
maxss xmm1, xmm5
movss dword [edi + 0x80], xmm1
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1dc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
maxss xmm1, xmm5
movss dword [edi + 0x84], xmm1
call fcn.1005d1e0
mov ecx, dword [edi + 0x264]
mov dword [ebp - 0xcc], ecx
add ecx, 0x48
mov dword [ebp - 0xd8], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
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 [esi + 0x3bc0]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10058b2f
inc edx
mov dword [ebp - 0xd0], edx
test eax, eax
je 0x10058b19
cdq
sub eax, edx
mov edx, dword [ebp - 0xd0]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10058b1e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10064380
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [ebp - 0xb8]
mov dword [eax + edx*4], esi
mov eax, esi
inc dword [ecx]
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x70], eax
call fcn.1006ca50
mov ecx, dword [0x1015d8a4]
movaps xmm0, xmmword [ebp - 0x100]
comiss xmm0, dword [ebp - 0x140]
mov esi, dword [ebp - 0xe0]
mov eax, dword [ecx + 0x3e58]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e58]
mov dword [ebp - 0xb8], eax
movaps xmmword [ebp - 0x120], xmm0
mov edx, dword [eax + 0x264]
mov dword [ebp - 0xcc], edx
jb 0x10058bad
movss dword [ebp - 0x118], xmm0
movaps xmm0, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x100], xmm0
movups xmm0, xmmword [ebp - 0x150]
comiss xmm0, dword [ebp - 0x130]
jb 0x10058bd3
movss dword [ebp - 0x114], xmm0
movaps xmm0, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x100], xmm0
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [ebp - 0xd8], ecx
cmp dword [ecx], eax
jne 0x10058c1c
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xd0], edx
test eax, eax
je 0x10058c00
cdq
sub eax, edx
mov edx, dword [ebp - 0xd0]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10058c05
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10064a00
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x100]
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.1006c910
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
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
mov eax, dword [ebp - 0xc4]
movss dword [edx + 0x214], xmm0
and eax, 0x5000000
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
cmp eax, 0x1000000
jne 0x10058d60
cmp dword [ebp - 0xdc], 0x3000000
je 0x10058d60
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x10058d1c
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x10058d1c
movss xmm5, dword [eax + 0x18]
movss xmm7, dword [eax + 0x14]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x20]
movss xmm6, dword [edi + 0x14]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x18]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x1c]
addss xmm4, dword [edi + 0x1c]
comiss xmm0, dword [edi + 0x18]
addss xmm2, dword [edi + 0x20]
jbe 0x10058d1c
comiss xmm2, xmm5
jbe 0x10058d1c
comiss xmm3, xmm6
jbe 0x10058d1c
comiss xmm4, xmm7
mov byte [ebp - 0xb1], 1
ja 0x10058d23
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 0x10058d60
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x10058d60
cmp byte [ebp - 0xb1], 0
jne 0x10058d60
mov byte [ebp - 0xb2], 1
mov dword [edi + 0x264], eax
mov ecx, dword [esi + 0x4944]
test ecx, ecx
jne 0x10058d70
mov ecx, dword [esi + 0x47d8]
cmp byte [ebp - 0xc0], 0
jne 0x10058d94
test ecx, ecx
je 0x10058d8b
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x10058d94
mov byte [ebp - 0xb8], 0
jmp 0x10058d9b
mov byte [ebp - 0xb8], 1
sub esp, 0x10
lea edx, [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0xb8]
call fcn.10056760
add esp, 0x14
cmp byte [ebp - 0xb2], 0
je 0x10058dc6
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [ebp - 0xc4]
xorps xmm4, xmm4
movss xmm7, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jnp 0x10058dec
movaps xmm5, xmm7
jmp 0x10058e28
movss xmm0, dword [edi + 0x44]
mov eax, ecx
movss xmm5, dword [edi + 0x1c]
addss xmm0, xmm0
and eax, 0x808
subss xmm5, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm5, xmm0
cmp eax, 0x800
jne 0x10058e21
movss xmm0, dword [edi + 0x2c]
jmp 0x10058e24
xorps xmm0, xmm0
maxss xmm5, xmm0
movss xmm6, dword [edi + 0x40]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x10058e3b
movaps xmm3, xmm6
jmp 0x10058e6d
movss xmm0, dword [edi + 0x48]
movss xmm3, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm3, xmm0
test dl, dl
je 0x10058e66
movss xmm0, dword [edi + 0x30]
jmp 0x10058e69
xorps xmm0, xmm0
maxss xmm3, xmm0
movss xmm1, dword [edi + 0x44]
movss xmm4, dword [edi + 0x78]
movss xmm2, dword [edi + 0x50]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, xmm4
movss dword [ebp - 0xd0], xmm1
maxss xmm1, xmm2
movss dword [ebp - 0xd8], xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x48]
movss dword [ebp - 0xc8], xmm0
maxss xmm2, dword [ebp - 0xc8]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [edi + 0x1f0], xmm1
addss xmm5, xmm1
movss xmm0, dword [edi + 0x7c]
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [ebp - 0xe0]
addss xmm0, xmm2
movss xmm2, dword [ebp - 0xd0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm3, xmm0
movss dword [edi + 0x1f8], xmm5
movss dword [edi + 0x1fc], xmm3
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x14]
movss xmm3, dword [edi + 0x54]
movaps xmm1, xmm0
subss xmm1, xmm4
movss dword [ebp - 0xcc], xmm0
movss dword [ebp - 0xf4], xmm3
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x220], xmm1
movss xmm4, dword [edi + 0x18]
movss xmm0, dword [edi + 0x58]
movaps xmm5, xmm4
subss xmm5, dword [ebp - 0xe0]
movss dword [ebp - 0xd0], xmm4
movss dword [ebp - 0xdc], xmm0
movss dword [ebp - 0xb8], xmm5
movss xmm4, dword [ebp - 0xb8]
movss xmm5, dword [ebp - 0xc8]
addss xmm4, xmm5
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [ebp - 0xb8], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x224], xmm0
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jp 0x10058fdb
movss xmm7, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm7, xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x5c]
subss xmm7, xmm0
ucomiss xmm6, xmm4
addss xmm1, xmm7
lahf
movss dword [edi + 0x228], xmm1
movss xmm1, dword [ebp - 0xdc]
test ah, 0x44
jp 0x10059014
movss xmm6, dword [edi + 0x20]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
subss xmm6, xmm0
movss xmm0, dword [ebp - 0xb8]
lea ecx, [edi + 0x15c]
addss xmm0, xmm6
movss xmm6, dword [ebp - 0xd8]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movss xmm3, dword [ebp - 0xcc]
cvtps2pd xmm3, xmm3
subss xmm0, xmm6
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm2, dword [ebp - 0xd0]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
movss xmm0, dword [ebp - 0xf4]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xe0]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x144], xmm0
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [edi + 0x104]
movss dword [edi + 0xf0], xmm1
movss dword [edi + 0xf4], xmm0
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x110], xmm1
movss dword [edi + 0x114], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x128], 0
mov word [edi + 0x130], 0
mov dword [edi + 0x148], 0
mov ax, word [edi + 0x14e]
mov word [edi + 0x14c], ax
mov dword [edi + 0x14e], 0x10000
movss xmm0, dword [edi + 0x84]
comiss xmm0, xmm4
seta al
cmp byte [ebp - 0xbb], 0
mov byte [edi + 0x152], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x153], 0
movss xmm1, dword [esi + 0x37cc]
mov dword [ebp - 0xb8], eax
je 0x100591f0
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x100591f6
mov dword [ebp - 0xb8], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.10088200
mov eax, dword [ebp - 0xb8]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x160]
mov dword [edi + 0x15c], eax
lea eax, [edi + 0x180]
mov dword [edi + 0x160], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1005926a
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.10064380
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x100592a2
mov eax, dword [eax + 0x198]
jmp 0x100592a7
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 0x100592f2
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.10064380
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10059327
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.10064380
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x1005933f
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x10059351
dec al
mov byte [edi + 0xc5], al
cmp byte [ebp - 0xc0], 0
je 0x10059377
mov edx, 2
mov ecx, edi
call fcn.10059ab0
cmp edi, dword [esi + 0x47d8]
jne 0x10059377
xor dl, dl
mov ecx, edi
call fcn.1005f6c0
test byte [ebp - 0xc4], 1
movss xmm3, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
jne 0x100593ef
movaps xmm0, xmm5
movss dword [ebp - 0x11c], xmm4
addss xmm0, dword [edi + 0x50]
push ecx
push dword [ebp - 0x104]
lea edx, [ebp - 0x120]
movss dword [ebp - 0x114], xmm3
mov ecx, edi
movss dword [ebp - 0x120], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x50]
movss dword [ebp - 0x118], xmm0
call fcn.10056c50
movss xmm2, dword [ebp - 0x28]
add esp, 8
movss xmm3, dword [ebp - 0x24]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
mov edx, dword [0x1015d8a4]
xor eax, eax
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37e4]
movss xmm0, dword [edx + 0x37e8]
subss xmm5, xmm1
addss xmm2, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm3, xmm0
subss xmm4, xmm0
comiss xmm1, xmm5
jb 0x1005944b
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm4
jb 0x1005944b
comiss xmm2, xmm1
jbe 0x1005944b
comiss xmm3, xmm0
mov dword [ebp - 0xc0], 1
ja 0x10059451
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x46b0]
movaps xmm0, xmmword [ebp - 0x30]
mov dword [edx + 0x46cc], eax
mov eax, dword [ebp - 0xc0]
mov dword [edx + 0x46d0], ecx
mov dword [edx + 0x46d4], eax
movups xmmword [edx + 0x46e8], xmm0
movups xmmword [edx + 0x46d8], xmm0
mov eax, dword [esi + 0x46b4]
test eax, eax
je 0x10059520
cmp dword [edi + 8], eax
je 0x100594a0
cmp dword [edi + 0x70], eax
jne 0x10059520
call fcn.10063950
jmp 0x10059520
mov edx, dword [0x1015d8a4]
mov dword [edx + 0x3e58], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x100594cc
imul ecx, eax, 0x1e8
add ecx, dword [edx + 0x4a2c]
jmp 0x100594ce
xor ecx, ecx
mov dword [edx + 0x4a10], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bc8]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x100594f8
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3bd8], xmm0
movss dword [edx + 0x3bc4], xmm0
test ecx, ecx
jne 0x10059518
cmp dword [edi + 0x190], ecx
jne 0x10059518
mov al, 1
jmp 0x1005951a
xor al, al
mov byte [edi + 0x150], al
mov ecx, dword [0x1015d8a4]
mov eax, dword [ecx + 0x3e58]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e58]
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
movss xmm3, dword [edi + 0x1e8]
movss xmm2, dword [edi + 0x1ec]
mov dword [ebp - 0xcc], eax
mov eax, dword [eax + 0x264]
mov dword [ebp - 0xd8], eax
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
movups xmm4, xmmword [eax + 0x60]
movss dword [ebp - 0x28], xmm3
comiss xmm4, xmm1
movss dword [ebp - 0x24], xmm2
movaps xmmword [ebp - 0x130], xmm4
jbe 0x10059597
movaps xmm1, xmm4
movss dword [ebp - 0x30], xmm1
movss xmm4, dword [ebp - 0x12c]
comiss xmm4, xmm0
jbe 0x100595ac
movaps xmm0, xmm4
movss dword [ebp - 0x2c], xmm0
movss xmm4, dword [ebp - 0x128]
comiss xmm3, xmm4
jbe 0x100595c1
movaps xmm3, xmm4
movss dword [ebp - 0x28], xmm3
movss xmm4, dword [ebp - 0x124]
comiss xmm2, xmm4
jbe 0x100595d6
movaps xmm2, xmm4
movss dword [ebp - 0x24], xmm2
comiss xmm1, xmm3
jb 0x100595e0
movss dword [ebp - 0x28], xmm1
comiss xmm0, xmm2
jb 0x100595ea
movss dword [ebp - 0x24], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xd0], ecx
cmp edx, eax
jne 0x1005962e
inc edx
mov dword [ebp - 0xf4], edx
test eax, eax
je 0x10059618
cdq
sub eax, edx
mov edx, dword [ebp - 0xf4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1005961d
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10064a00
mov ecx, dword [ebp - 0xd0]
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 - 0xd8]
movups xmmword [ecx + 0x60], xmm0
call fcn.1006c910
mov edx, dword [ebp - 0xcc]
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 - 0xe8]
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 + 0x4708], 0
cmp eax, dword [ebp - 0xec]
je 0x10059822
mov eax, dword [ebp - 0xc4]
test eax, 0x1000000
je 0x10059788
test al, 0x40
jne 0x1005974c
cmp byte [edi + 0xc4], 0
jg 0x1005974c
cmp byte [edi + 0xc5], 0
jg 0x1005974c
test eax, 0x800000
je 0x10059714
cmp byte [esi + 0x4814], 0
je 0x10059714
mov eax, dword [esi + 0x47d8]
test eax, eax
je 0x10059714
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x10059714
mov al, 1
jmp 0x10059716
xor al, al
cmp byte [esi + 0x5ac8], 0
jne 0x1005974c
test al, al
jne 0x1005974c
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x10059745
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x1005974c
mov byte [edi + 0xcc], 1
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x10059788
cmp byte [eax + 0xad], 0
jne 0x10059768
cmp byte [eax + 0xcc], 0
jle 0x1005976f
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x10059781
cmp byte [eax + 0xcd], 0
jle 0x10059788
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3780]
jb 0x1005979b
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x100597bb
cmp byte [edi + 0xcd], 0
jg 0x100597bb
xor cl, cl
cmp byte [edi + 0xce], cl
jg 0x100597bd
xor al, al
jmp 0x100597bf
mov cl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x100597e2
dec al
mov byte [edi + 0xcf], al
mov eax, dword [edi + 0xc]
or eax, 0xc0200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xad], al
jne 0x100597f8
cmp byte [edi + 0xaa], al
je 0x100597f8
test cl, cl
je 0x1005981c
cmp byte [edi + 0xc4], 0
jg 0x1005981c
cmp byte [edi + 0xc5], 0
jg 0x1005981c
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 0x10059888
cmp byte [esi + 0x64], 0
je 0x1005983a
cmp dword [ebp - 0x108], 0
je 0x1005984f
cmp byte [esi + 0x65], 0
je 0x10059888
movsx eax, byte [esi + 0x5b1e]
cmp eax, dword [esi + 0x3e34]
jne 0x10059888
mov al, byte [edi + 0xc4]
test al, al
jle 0x10059861
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x10059873
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123d6c
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.10123d6c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret