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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
mov ebx, dword [0x100e23dc]
mov eax, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], ebx
call fcn.1001ab0f
test eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], eax
mov edx, eax
sete byte [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov edi, eax
test eax, eax
jne 0x1001ca54
mov ecx, dword [esp + 0x58]
mov edx, esi
call fcn.1001ad41
mov edx, eax
mov dword [esp + 0xc], edx
mov edi, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov eax, esi
mov ecx, esi
and eax, 0xc0200
or ecx, 6
cmp eax, 0xc0200
mov eax, dword [edx + 0x238]
mov dword [esp + 0x54], eax
cmovne ecx, esi
mov esi, dword [ebx + 0x3dc8]
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], esi
cmp dword [ebx + 0x3e24], eax
jne 0x1001ca9f
mov edi, dword [esp + 0x1c]
cmp byte [ebx + 0x3dd5], al
je 0x1001ca9f
inc eax
mov dl, al
mov eax, dword [esp + 0x28]
jmp 0x1001caa3
mov dl, al
mov eax, edi
mov byte [eax + 0xb2], dl
lea eax, [esi - 1]
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x238], eax
setl al
mov byte [esp + 0x28], al
test ecx, 0x4000000
je 0x1001caef
imul edx, dword [ebx + 0x47ac], 0x28
mov eax, dword [esi + 0xc0]
add edx, dword [ebx + 0x47a8]
cmp esi, dword [edx + 4]
setne cl
cmp eax, dword [edx]
setne al
or cl, al
mov al, byte [esp + 0x28]
or al, cl
mov byte [esp + 0x28], al
mov byte [esi + 0xb0], al
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xb0], 0
je 0x1001cb15
xor eax, eax
mov ecx, esi
inc eax
push eax
push 8
pop edx
call fcn.1001aa60
mov esi, dword [esp + 0x10]
pop ecx
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x34]
je 0x1001cb8a
mov edi, dword [esp + 0x14]
mov ecx, esi
mov dl, byte [esp + 0x10]
push edi
call fcn.1001ab84
mov eax, dword [esp + 0x10]
mov edx, edi
pop ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x238], ecx
xor ecx, ecx
movsd xmm0, qword [ebx + 0x3dc0]
mov eax, dword [esp + 0xc]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x23c], xmm0
mov eax, dword [esp + 0xc]
mov word [eax + 0xba], cx
mov eax, dword [esp + 0xc]
mov cx, word [ebx + 0x3e3c]
mov word [eax + 0xbc], cx
inc dword [ebx + 0x3e3c]
mov esi, dword [esp + 0xc]
jmp 0x1001cb91
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x3e24]
test eax, eax
jne 0x1001cb9f
xor ecx, ecx
jmp 0x1001cbac
imul ecx, eax, 0x54
mov eax, dword [ebx + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x34]
je 0x1001cbc9
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1001cbcf
mov eax, dword [esi + 0x300]
lea ecx, [esi + 0xe4]
mov dword [esp + 0x38], eax
cmp dword [ecx], 0
jne 0x1001cbeb
lea eax, [esi + 8]
push eax
call fcn.100260bc
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xc4]
mov dword [ebx + 0x3e48], esi
call fcn.10015839
push 0x12
lea eax, [esp + 0x104]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [esp + 0x18]
lea esi, [ebx + 0x46bc]
mov dword [esp + 0xcc], eax
lea edi, [esp + 0xd0]
mov eax, dword [ebx + 0x3e48]
add esp, 0xc
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ax, word [eax + 0xe4]
lea edi, [ebx + 0x3e24]
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov word [esp + 0x100], ax
mov ax, word [ebx + 0x4758]
mov word [esp + 0x102], ax
mov ax, word [ebx + 0x4764]
mov word [esp + 0x104], ax
mov ax, word [ebx + 0x4770]
mov word [esp + 0x106], ax
mov ax, word [ebx + 0x477c]
mov word [esp + 0x108], ax
mov ax, word [ebx + 0x4794]
mov word [esp + 0x10a], ax
mov ax, word [ebx + 0x4788]
mov word [esp + 0x10c], ax
mov ax, word [ebx + 0x47ac]
mov word [esp + 0x10e], ax
mov ax, word [ebx + 0x59ec]
mov word [esp + 0x110], ax
cmp ecx, esi
jne 0x1001cceb
inc ecx
test esi, esi
je 0x1001ccdb
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1001ccde
push 8
pop eax
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100263a0
push 0x54
lea eax, [esp + 0xc4]
push eax
imul eax, dword [edi], 0x54
add eax, dword [edi + 8]
push eax
mov eax, dword [sym.imp.msvcrt.dll_memcpy]
mov dword [esp + 0x2c], eax
call eax
mov eax, dword [esp + 0x20]
add esp, 0xc
inc dword [edi]
mov ecx, eax
and ecx, 0x10000000
mov dword [esp + 0x5c], ecx
je 0x1001cd24
inc dword [ebx + 0x47b8]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x54], ecx
je 0x1001cd4c
push dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.1001c8d1
mov eax, dword [esp + 0x10]
pop ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x304], ecx
mov eax, dword [esp + 0xc]
mov esi, dword [0x100e23dc]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x477c]
lea eax, [esp + 0x18]
push eax
call fcn.100260bc
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x469c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x469c]
mov dword [eax + 0x344], ecx
xor eax, eax
mov ecx, edi
mov dword [ebx + 0x3e48], eax
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x1001cdd8
mov eax, dword [esp + 0xc]
lea ecx, [ebx + 0x47ac]
imul esi, dword [ecx], 0x28
add esi, dword [ebx + 0x47a8]
push esi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x148]
mov dword [esi + 0xc], eax
call fcn.10025d1c
mov eax, dword [esp + 0xc]
mov ecx, dword [esi]
mov dword [eax + 0xc0], ecx
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x13], al
inc ecx
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
test byte [ebx + 0x46f8], cl
je 0x1001ce9f
mov esi, dword [esp + 0xc]
mov ecx, dword [ebx + 0x46fc]
movsx eax, byte [esi + 0xd0]
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x1001ce8e
movss xmm1, dword [ebx + 0x4714]
movss xmm0, dword [ebx + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100ae9ec]
jbe 0x1001ce8e
mov eax, dword [ebx + 0x4708]
mov ecx, dword [ebx + 0x470c]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x4710]
mov edx, dword [ebx + 0x4714]
mov dword [eax + 0xdc], ecx
mov dword [eax + 0xe0], edx
mov edx, dword [esp + 0xc]
movzx ecx, byte [edx + 0xd0]
mov eax, dword [edx + 0xd0]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edx + 0xd0], ecx
jmp 0x1001ce9d
push ecx
lea edx, [ebx + 0x4708]
mov ecx, esi
call fcn.1001ee26
pop ecx
xor eax, eax
test byte [ebx + 0x46f8], 2
xorps xmm1, xmm1
je 0x1001cf06
mov ecx, dword [esp + 0xc]
lea edx, [ebx + 0x4718]
mov esi, dword [ebx + 0x4700]
movsx ecx, byte [ecx + 0xd1]
and ecx, esi
je 0x1001ced8
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1001ced8
xor ecx, ecx
inc ecx
mov byte [esp + 0x11], cl
jmp 0x1001cee3
mov byte [esp + 0x11], al
test ecx, ecx
je 0x1001cef4
xor ecx, ecx
inc ecx
movss xmm0, dword [ebx + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], cl
ja 0x1001cef8
mov byte [esp + 0x12], al
mov ecx, dword [esp + 0xc]
push esi
call fcn.1001ef68
pop ecx
xorps xmm1, xmm1
test byte [ebx + 0x46f8], 0x80
je 0x1001cf57
movss xmm0, dword [ebx + 0x4728]
comiss xmm0, xmm1
jb 0x1001cf33
mov eax, dword [esp + 0xc]
movss dword [eax + 0x88], xmm0
mov eax, dword [esp + 0xc]
and dword [eax + 0x90], 0
movss xmm0, dword [ebx + 0x472c]
comiss xmm0, xmm1
jb 0x1001cf57
mov eax, dword [esp + 0xc]
movss dword [eax + 0x8c], xmm0
mov eax, dword [esp + 0xc]
and dword [eax + 0x94], 0
test byte [ebx + 0x46f8], 4
mov esi, dword [esp + 0x34]
je 0x1001cf7c
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x4720]
mov edx, dword [ebx + 0x4724]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
jmp 0x1001cf94
cmp dword [esp + 0x54], esi
je 0x1001cf94
mov eax, dword [esp + 0xc]
movss dword [eax + 0x3c], xmm1
mov eax, dword [esp + 0xc]
movss dword [eax + 0x40], xmm1
test byte [ebx + 0x46f8], 8
je 0x1001cfb3
push dword [ebx + 0x4704]
mov dl, byte [ebx + 0x4730]
mov ecx, dword [esp + 0x10]
call fcn.1001f035
pop ecx
test byte [ebx + 0x46f8], 0x20
je 0x1001cfc5
mov ecx, dword [esp + 0xc]
call fcn.1001ec1c
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xb0], 0
je 0x1001cfe1
push 0
push 8
pop edx
call fcn.1001aa60
pop ecx
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x54], esi
je 0x1001e797
mov eax, edi
xor edx, edx
and eax, 0x3000000
inc edx
mov dword [esp + 0x18], eax
mov al, byte [ecx + 0xcd]
mov byte [ecx + 0xaa], dl
mov byte [esp + 0x27], al
mov eax, dword [esp + 0xc]
push edx
mov byte [eax + 0xb4], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x210], 0xff7fffff
mov dword [eax + 0x214], 0xff7fffff
mov dword [eax + 0x218], 0x7f7fffff
mov dword [eax + 0x21c], 0x7f7fffff
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + 0xe4]
call fcn.10026071
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x264]
call fcn.1002bdec
mov eax, dword [esp + 0xc]
or dword [eax + 0x194], 0xffffffff
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x350], 0
je 0x1001d080
call fcn.10018932
mov ecx, dword [esp + 0xc]
cmp dword [ebx + 0x4924], 0
mov esi, dword [esp + 0x4c]
je 0x1001d108
test dword [ecx + 0xc], 0x80000
jne 0x1001d108
test esi, esi
je 0x1001d108
push dword [ecx + 4]
push dword [esp + 0x5c]
call dword [sym.imp.msvcrt.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1001d104
mov eax, dword [esp + 0xc]
push dword [esp + 0x58]
mov edi, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
lea esi, [eax + 1]
cmp edi, esi
jae 0x1001d0e1
mov ecx, dword [esp + 0x1c]
call fcn.10018d31
mov ecx, esi
call fcn.10018d19
mov edi, esi
jmp 0x1001d0e5
mov eax, dword [esp + 0x1c]
push esi
push dword [esp + 0x5c]
push eax
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov esi, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x6c], edi
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x34]
push eax
lea edx, [ecx + 0x2c]
call fcn.1001afb5
pop ecx
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0xcc]
test al, al
jle 0x1001d12b
dec al
mov byte [ecx + 0xcc], al
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0xcd]
test al, al
jle 0x1001d141
dec al
mov byte [ecx + 0xcd], al
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0xce]
test al, al
jle 0x1001d157
dec al
mov byte [ecx + 0xce], al
mov dl, byte [esp + 0x11]
mov dh, byte [esp + 0x12]
test esi, esi
jne 0x1001d178
test dl, dl
je 0x1001d16b
test dh, dh
jne 0x1001d178
mov eax, dword [esp + 0xc]
xor ecx, ecx
inc ecx
mov byte [eax + 0xcd], cl
cmp byte [esp + 0x28], 0
mov edi, 0x6000000
je 0x1001d1eb
mov ecx, dword [esp + 0x14]
test edi, ecx
je 0x1001d1eb
mov eax, dword [esp + 0xc]
mov byte [eax + 0xcd], 1
test cl, 0x40
je 0x1001d1eb
test dl, dl
jne 0x1001d1b0
mov eax, dword [esp + 0xc]
and dword [eax + 0x24], 0
mov eax, dword [esp + 0xc]
and dword [eax + 0x1c], 0
test dh, dh
jne 0x1001d1c4
mov eax, dword [esp + 0xc]
and dword [eax + 0x28], 0
mov eax, dword [esp + 0xc]
and dword [eax + 0x20], 0
mov eax, dword [esp + 0xc]
xorps xmm7, xmm7
movss dword [eax + 0x34], xmm7
mov eax, dword [esp + 0xc]
movss dword [eax + 0x38], xmm7
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], ecx
jmp 0x1001d1ee
xorps xmm7, xmm7
mov eax, dword [0x100e23dc]
mov eax, dword [eax + 0x47c4]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xc]
call fcn.10018874
mov eax, dword [esp + 0x14]
mov esi, eax
and esi, 0x1000000
mov dword [esp + 0x30], esi
je 0x1001d230
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x37b8]
mov dword [eax + 0x50], ecx
jmp 0x1001d256
test edi, eax
je 0x1001d245
test eax, 0x8000000
jne 0x1001d245
movss xmm0, dword [ebx + 0x37c0]
jmp 0x1001d24d
movss xmm0, dword [ebx + 0x379c]
mov eax, dword [esp + 0xc]
movss dword [eax + 0x50], xmm0
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 0x3794]
mov ecx, dword [ebx + 0x3790]
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], edx
mov edx, dword [esp + 0x14]
test esi, esi
je 0x1001d2b1
test edx, 0x4010000
jne 0x1001d2b1
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x50]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1001d2b5
test edx, 0x400
je 0x1001d2a0
movss xmm0, dword [ebx + 0x3794]
jmp 0x1001d2a3
xorps xmm0, xmm0
movss dword [ecx + 0x44], xmm7
mov eax, dword [esp + 0xc]
movss dword [eax + 0x48], xmm0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x44]
maxss xmm0, dword [ebx + 0x37d4]
push 2
pop edi
maxss xmm0, dword [ebx + 0x4750]
movss dword [ecx + 0x154], xmm0
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x4754]
mov dword [eax + 0x158], ecx
mov al, byte [esp + 0x10]
mov dword [esp + 0x20], eax
test dl, 0x21
jne 0x1001d388
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call fcn.100164e5
cmp dword [ebx + 0x3e4c], esi
jne 0x1001d34c
xor eax, eax
cmp dword [ebx + 0x3e80], eax
jne 0x1001d34c
cmp dword [ebx + 0x3e84], eax
jne 0x1001d34c
inc eax
lea edx, [esp + 0x70]
push eax
lea ecx, [esp + 0x6c]
call fcn.1001f6dd
xor edx, edx
inc edx
pop ecx
test al, al
je 0x1001d34f
cmp word [ebx + 0x370a], di
jne 0x1001d34f
mov byte [esi + 0xae], dl
mov esi, dword [esp + 0xc]
jmp 0x1001d34f
xor edx, edx
inc edx
cmp byte [esi + 0xae], 0
je 0x1001d397
cmp byte [esi + 0xad], 0
sete al
mov byte [esi + 0xad], al
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
movzx eax, al
cmp byte [ecx + 0xad], 0
cmove eax, edx
mov dword [esp + 0x20], eax
call fcn.100252a9
jmp 0x1001d393
mov eax, dword [esp + 0xc]
mov byte [eax + 0xad], 0
mov esi, dword [esp + 0xc]
mov byte [esi + 0xae], 0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0xa0]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 0xa4]
and dword [eax + 0x54], 0
mov eax, dword [esp + 0xc]
movss dword [esp + 0x90], xmm0
and dword [eax + 0x5c], 0
xor eax, eax
mov ecx, dword [esp + 0xc]
inc eax
test byte [ecx + 0xc], al
je 0x1001d3e1
xorps xmm2, xmm2
jmp 0x1001d3fb
mov eax, dword [ecx]
movss xmm1, dword [eax + 0x37c8]
call fcn.100164c0
addss xmm1, xmm1
movaps xmm2, xmm0
addss xmm2, xmm1
call fcn.10016537
addss xmm0, xmm2
movss dword [ecx + 0x58], xmm0
lea ecx, [esp + 0x60]
mov eax, dword [esp + 0xc]
and dword [eax + 0x60], 0
mov eax, dword [esp + 0xc]
movss dword [eax + 0xa0], xmm7
mov eax, dword [esp + 0xc]
movss dword [eax + 0xa4], xmm7
mov edx, dword [esp + 0xc]
lea eax, [edx + 0x34]
push eax
call fcn.1001b0de
mov edi, dword [esp + 0x18]
mov eax, edi
pop ecx
mov ecx, dword [esp + 0xc]
and eax, 0x40
mov dword [esp + 0x94], eax
je 0x1001d496
cmp byte [ecx + 0xad], 0
jne 0x1001d496
xor eax, eax
inc eax
cmp byte [esp + 0x11], 0
jne 0x1001d477
movss xmm0, dword [esp + 0x60]
movss dword [ecx + 0x24], xmm0
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x10], al
cmp byte [esp + 0x12], 0
jne 0x1001d534
movss xmm0, dword [esp + 0x64]
movss dword [ecx + 0x28], xmm0
mov dword [esp + 0x20], eax
jmp 0x1001d530
mov al, byte [ecx + 0xc4]
test al, al
jg 0x1001d4ad
cmp byte [ecx + 0xc5], 0
jle 0x1001d534
cmp byte [esp + 0x11], 0
jne 0x1001d4e6
test al, al
jle 0x1001d4e6
cmp byte [ecx + 0xc7], 0
je 0x1001d4ce
movss xmm0, dword [ecx + 0x24]
maxss xmm0, dword [esp + 0x60]
jmp 0x1001d4d4
movss xmm0, dword [esp + 0x60]
xor eax, eax
movss dword [ecx + 0x24], xmm0
mov ecx, dword [esp + 0xc]
inc eax
mov byte [esp + 0x10], al
jmp 0x1001d4e9
xor eax, eax
inc eax
cmp byte [esp + 0x12], 0
jne 0x1001d522
cmp byte [ecx + 0xc5], 0
jle 0x1001d522
cmp byte [ecx + 0xc7], 0
je 0x1001d50f
movss xmm0, dword [ecx + 0x28]
maxss xmm0, dword [esp + 0x64]
jmp 0x1001d515
movss xmm0, dword [esp + 0x64]
movss dword [ecx + 0x28], xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
cmp byte [ecx + 0xad], 0
jne 0x1001d534
call fcn.100252a9
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x24]
mov edx, ecx
push eax
lea ecx, [esp + 0xac]
call fcn.1001ae1d
pop ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xad], 0
je 0x1001d59a
cmp dword [esp + 0x30], 0
jne 0x1001d59a
lea eax, [esp + 0x118]
mov ecx, esi
push eax
call fcn.100164e5
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x40], xmm0
jmp 0x1001d5a8
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x28], 0
lea ecx, [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
je 0x1001d5fd
mov eax, dword [esp + 0xc]
or dword [eax + 0xc8], 0xffffffff
cmp dword [esp + 0x50], 0
je 0x1001d5fd
test edi, 0x8000000
jne 0x1001d5fd
cmp byte [esp + 0x13], 0
jne 0x1001d5fd
lea eax, [ebx + 0x47ac]
imul edx, dword [eax], 0x28
mov eax, dword [eax + 8]
mov ecx, dword [eax + edx - 0x10]
mov edx, dword [eax + edx - 0xc]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1001d665
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
lea ecx, [esi + 0x180]
mov dx, word [ecx]
mov word [eax + 0xba], dx
lea eax, [esp + 0xc]
push eax
call fcn.10025f0c
mov edx, dword [esp + 0x50]
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x18]
test edx, edx
jne 0x1001d65f
test al, al
jne 0x1001d65f
cmp edi, 0x3000000
je 0x1001d65f
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xf0]
mov edx, dword [esi + 0xf4]
mov esi, dword [esp + 0x30]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
jmp 0x1001d669
mov esi, dword [esp + 0x30]
jmp 0x1001d671
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + 0xd4]
ucomiss xmm1, dword [0x100aeb04]
lahf
test ah, 0x44
jnp 0x1001d6d7
cmp byte [ecx + 0xcd], 0
jne 0x1001d6d7
movss xmm0, dword [ecx + 0x1c]
lea edx, [esp + 0x3c]
mulss xmm0, dword [ecx + 0xdc]
push 0
subss xmm1, xmm0
movss xmm0, dword [ecx + 0xd8]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [ecx + 0x20]
mulss xmm1, dword [ecx + 0xe0]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
call fcn.1001ee26
pop ecx
jmp 0x1001d71e
cmp dword [esp + 0x5c], 0
jne 0x1001d704
test edx, edx
je 0x1001d6ec
test al, al
jne 0x1001d6ec
cmp byte [esp + 0x27], al
jg 0x1001d704
mov edx, dword [esp + 0x14]
test edx, 0x2000000
je 0x1001d726
test al, al
jne 0x1001d726
cmp edi, 0x3000000
je 0x1001d726
mov edx, ecx
lea ecx, [esp + 0x3c]
call fcn.10021d9d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x1c]
movss xmm3, dword [ebx + 0x3848]
movss xmm2, dword [ebx + 0x3844]
maxss xmm3, dword [ebx + 0x3850]
movss xmm6, dword [eax + 0x14]
movss xmm5, dword [eax + 0x18]
addss xmm6, dword [eax + 0x1c]
addss xmm5, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm7, dword [eax + 8]
movaps xmm4, xmm0
maxss xmm2, dword [ebx + 0x384c]
addss xmm4, dword [eax + 0xc]
movaps xmm1, xmm7
movss dword [esp + 0x68], xmm0
addss xmm1, dword [eax + 0x10]
subss xmm5, xmm3
movss dword [esp + 0x6c], xmm7
addss xmm3, dword [eax + 0x18]
subss xmm6, xmm2
movss dword [esp + 0x70], xmm4
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x74], xmm1
movss dword [esp + 0xa4], xmm5
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xa0], xmm6
movss dword [esp + 0x98], xmm2
jne 0x1001d848
test esi, esi
jne 0x1001d848
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x1001d848
subss xmm1, xmm7
comiss xmm1, xmm0
jbe 0x1001d848
mov eax, dword [0x100e23dc]
movss xmm0, dword [ecx + 0x20]
cmp byte [eax + 0x67], 0
je 0x1001d815
xor eax, eax
inc eax
test byte [ecx + 0xc], al
jne 0x1001d815
mov eax, dword [ecx]
movss xmm1, dword [eax + 0x37c8]
call fcn.100164c0
addss xmm1, xmm1
addss xmm0, xmm1
subss xmm2, dword [ecx + 0x1c]
subss xmm3, xmm0
comiss xmm3, dword [ecx + 0x18]
ja 0x1001d82c
movaps xmm3, xmm5
minss xmm3, dword [ecx + 0x18]
comiss xmm2, dword [ecx + 0x14]
ja 0x1001d83a
movaps xmm2, xmm6
minss xmm2, dword [ecx + 0x14]
movss dword [ecx + 0x14], xmm2
movss dword [ecx + 0x18], xmm3
mov ecx, dword [esp + 0xc]
cvttss2si eax, dword [ecx + 0x14]
movd xmm1, eax
cvttss2si eax, dword [ecx + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [ecx + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x18], xmm0
test esi, esi
je 0x1001d878
movss xmm0, dword [ebx + 0x37b4]
jmp 0x1001d898
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001d890
movss xmm0, dword [ebx + 0x37bc]
jmp 0x1001d898
movss xmm0, dword [ebx + 0x3798]
mov eax, dword [esp + 0xc]
movss dword [eax + 0x4c], xmm0
xor al, al
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x28], al
je 0x1001d90a
test edx, 0x1000
jne 0x1001d90a
cmp dword [esp + 0x50], 0
je 0x1001d8c5
xor eax, eax
inc eax
mov byte [esp + 0x1c], al
jmp 0x1001d8d4
push 1
test edi, edi
movzx eax, al
pop ecx
cmove eax, ecx
mov dword [esp + 0x1c], eax
call fcn.10021937
test eax, eax
je 0x1001d90a
mov esi, dword [esp + 0xc]
mov edx, eax
mov ecx, esi
call fcn.1001edea
test al, al
jne 0x1001d90e
mov byte [esp + 0x1c], al
cmp esi, dword [esi + 0x308]
jne 0x1001d90e
mov ecx, esi
call fcn.1001c961
mov edx, eax
mov ecx, esi
call fcn.1001eb64
mov esi, dword [esp + 0xc]
or dword [esp + 0x78], 0xffffffff
lea edi, [esp + 0xb0]
movss xmm2, dword [ebx + 0x3bb8]
xor eax, eax
stosd dword es:[edi], eax
movaps xmm1, xmm2
mulss xmm2, dword [0x100aea08]
mulss xmm1, dword [0x100aea58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
movss xmm0, dword [esi + 0x4c]
addss xmm0, dword [0x100aea54]
cmp byte [ebx + 0x66], al
setne al
inc eax
cmp byte [esi + 0xad], 0
addss xmm0, xmm2
mov dword [esp + 0x5c], eax
maxss xmm1, xmm0
cvttss2si ebx, xmm1
jne 0x1001d9a4
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0xb4]
push ecx
push eax
lea eax, [esp + 0x84]
mov ecx, esi
push eax
lea edx, [esp + 0x70]
call fcn.1001b3b4
mov esi, dword [esp + 0x1c]
add esp, 0x10
test al, al
je 0x1001d9a4
xor eax, eax
inc eax
mov dl, al
mov byte [esp + 0x10], al
jmp 0x1001d9a8
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x78]
mov byte [esi + 0xb5], al
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
cmp byte [ecx + 0xad], 0
jne 0x1001db9a
cmp dword [esp + 0x4c], 0
lea eax, [esp + 0x3c]
movss xmm0, dword [ecx + 0x60]
movss xmm2, dword [ecx + 0x1d8]
movss xmm3, dword [ecx + 0x1dc]
addss xmm0, dword [ecx + 0x58]
subss xmm2, dword [ecx + 0x1d0]
subss xmm3, dword [ecx + 0x1d4]
movss xmm4, dword [ecx + 0x28]
movss xmm5, dword [ecx + 0x24]
subss xmm4, xmm0
addss xmm2, dword [esp + 0x8c]
addss xmm3, dword [esp + 0x90]
jne 0x1001da28
and dword [esp + 0x3c], 0
and dword [esp + 0x40], 0
jmp 0x1001da50
movss xmm0, dword [ecx + 0x44]
movss xmm1, dword [ecx + 0x48]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [ecx + 0x2c]
addss xmm1, dword [ecx + 0x30]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
cmp byte [esp + 0x10], 0
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
jne 0x1001da63
movaps xmm5, xmm2
test dl, dl
jne 0x1001da6a
movaps xmm4, xmm3
mov eax, dword [esp + 0x14]
test eax, 0x4000
jne 0x1001da8a
comiss xmm1, xmm4
jbe 0x1001da7e
test al, 8
je 0x1001da8a
mov ecx, dword [esp + 0x20]
xor edx, edx
mov byte [esp + 0x10], dl
jmp 0x1001da93
xor edx, edx
inc edx
mov byte [esp + 0x10], dl
xor edx, edx
mov al, byte [esp + 0x10]
mov byte [ecx + 0xa9], al
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
test eax, 0x8000
jne 0x1001dae5
cmp byte [esi + 0xa9], 0
je 0x1001dac3
mov ecx, dword [esp + 0x2c]
movss xmm0, dword [ecx + 0x37fc]
jmp 0x1001dac6
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1001dadf
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x14]
je 0x1001dae5
mov byte [esp + 0x10], dl
jmp 0x1001daec
xor ecx, ecx
inc ecx
mov byte [esp + 0x10], cl
mov cl, byte [esp + 0x10]
mov byte [esi + 0xa8], cl
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
cmp byte [esi + 0xa8], 0
je 0x1001db3b
cmp byte [esi + 0xa9], 0
jne 0x1001db28
comiss xmm1, xmm4
jbe 0x1001db1e
test al, 8
jne 0x1001db1e
xor eax, eax
inc eax
mov dl, al
mov byte [esi + 0xa9], dl
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xa8], 0
je 0x1001db3b
movss xmm1, dword [ecx + 0x37fc]
jmp 0x1001db3e
xorps xmm1, xmm1
cmp byte [esi + 0xa9], 0
xorps xmm0, xmm0
je 0x1001db52
movss xmm0, dword [ecx + 0x37fc]
movss dword [esi + 0xa0], xmm0
mov eax, dword [esp + 0xc]
movss dword [eax + 0xa4], xmm1
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0xa0]
addss xmm0, dword [eax + 0x5c]
movss dword [eax + 0x5c], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0xa4]
addss xmm0, dword [eax + 0x60]
movss dword [eax + 0x60], xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x14]
and edi, 0x5000000
cmp edi, 0x1000000
jne 0x1001dbc2
cmp dword [esp + 0x18], 0x3000000
je 0x1001dbc2
mov esi, dword [esp + 0x38]
add esi, 0x210
jmp 0x1001dbc6
lea esi, [esp + 0x68]
movss xmm4, dword [ecx + 0x14]
lea edi, [esp + 0x3c]
movss xmm5, dword [ecx + 0x18]
lea eax, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
movaps xmm3, xmm4
addss xmm3, dword [ecx + 0x1c]
movaps xmm2, xmm5
addss xmm2, dword [ecx + 0x20]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100164e5
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov edx, dword [esp + 0x14]
inc ecx
mov edi, dword [esp + 0x2c]
movss dword [eax + 0x1c0], xmm4
movss dword [eax + 0x1c4], xmm5
movss dword [eax + 0x1c8], xmm3
movss dword [eax + 0x1cc], xmm2
mov eax, dword [esp + 0xc]
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x40]
movss xmm1, dword [eax + 0x1c0]
movss xmm0, dword [eax + 0x1c4]
maxss xmm1, xmm3
maxss xmm0, xmm4
movss dword [eax + 0x1c0], xmm1
movss dword [eax + 0x1c4], xmm0
movss xmm0, dword [eax + 0x1cc]
movss xmm1, dword [eax + 0x1c8]
minss xmm0, dword [esp + 0x48]
minss xmm1, dword [esp + 0x44]
movss dword [eax + 0x1cc], xmm0
movss dword [eax + 0x1c8], xmm1
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x54]
addss xmm0, dword [eax + 0x14]
movss dword [eax + 0x1d0], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x58]
addss xmm0, dword [eax + 0x18]
movss dword [eax + 0x1d4], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x5c]
movss dword [eax + 0x1d8], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x60]
movss dword [eax + 0x1dc], xmm0
mov eax, edx
and eax, 0x401
cmp eax, ecx
mov ecx, dword [esp + 0xc]
jne 0x1001dcfd
movss xmm5, dword [ecx + 0x50]
jmp 0x1001dd05
movss xmm5, dword [edi + 0x37d0]
movss xmm0, dword [ecx + 0x44]
movss xmm2, dword [0x100aea20]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0x1d0]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [ecx + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1e0], xmm0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x1d4]
addss xmm0, xmm2
addss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1e4], xmm0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x44]
movss xmm1, dword [ecx + 0x1d8]
mulss xmm0, xmm2
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [ecx + 0x50]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1e8], xmm0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x1dc]
addss xmm0, xmm2
subss xmm0, dword [ecx + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1ec], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x1e4]
comiss xmm4, xmm0
jbe 0x1001ddee
movaps xmm1, xmm4
jmp 0x1001ddf8
movss xmm1, dword [esp + 0x48]
minss xmm1, xmm0
movss xmm2, dword [eax + 0x1e0]
comiss xmm3, xmm2
jbe 0x1001de0a
movaps xmm0, xmm3
jmp 0x1001de14
movss xmm0, dword [esp + 0x44]
minss xmm0, xmm2
movss dword [eax + 0x1e0], xmm0
movss dword [eax + 0x1e4], xmm1
movss xmm0, dword [eax + 0x1ec]
comiss xmm4, xmm0
ja 0x1001de3b
movss xmm4, dword [esp + 0x48]
minss xmm4, xmm0
movss xmm0, dword [eax + 0x1e8]
comiss xmm3, xmm0
ja 0x1001de52
movss xmm3, dword [esp + 0x44]
minss xmm3, xmm0
movss dword [eax + 0x1e8], xmm3
xorps xmm2, xmm2
movss dword [eax + 0x1ec], xmm4
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x1c]
comiss xmm0, xmm2
jbe 0x1001de85
test edx, 0x2000040
jne 0x1001de85
mulss xmm0, dword [0x100aea28]
jmp 0x1001de95
movss xmm0, dword [edi + 0x3bb8]
mulss xmm0, dword [0x100aeaac]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x240], xmm0
lea ecx, [esp + 0xa8]
mov eax, dword [esp + 0xc]
movss xmm1, dword [eax + 0x44]
movss xmm0, dword [eax + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1d0]
addss xmm1, dword [eax + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [eax + 0x80], xmm0
mov eax, dword [esp + 0xc]
movss xmm1, dword [eax + 0x48]
movss xmm0, dword [eax + 0x1dc]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1d4]
addss xmm1, dword [eax + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [eax + 0x84], xmm0
mov esi, dword [esp + 0xc]
mov edx, esi
call fcn.100212a0
movss xmm0, dword [0x100aeb04]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0xc]
movss dword [eax + 0x88], xmm0
mov eax, dword [esp + 0xc]
movss dword [eax + 0x8c], xmm0
mov eax, dword [esp + 0xc]
and dword [eax + 0x68], 0
mov eax, dword [esp + 0xc]
and dword [eax + 0x64], 0
mov eax, dword [edi + 0x3bb4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + 0x264]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.1002c2b9
push 0
lea edx, [esp + 0x48]
lea ecx, [esp + 0x40]
call fcn.10019e1b
xor edx, edx
pop ecx
mov byte [esp + 0x11], dl
cmp dword [esp + 0x30], edx
je 0x1001e063
cmp dword [esp + 0x50], edx
jne 0x1001e063
cmp dword [esp + 0x18], 0x3000000
je 0x1001e063
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x180], 2
jl 0x1001e02b
mov edi, dword [esi + 0x180]
mov eax, dword [esi + 0x188]
mov eax, dword [eax + edi*4 - 8]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x1001e02b
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x20]
movss xmm3, dword [ecx + 0x14]
movss xmm1, dword [ecx + 0x18]
movss xmm2, dword [eax + 0x14]
addss xmm3, dword [ecx + 0x1c]
comiss xmm0, dword [ecx + 0x18]
addss xmm1, dword [ecx + 0x20]
addss xmm2, dword [eax + 0x1c]
jbe 0x1001e02b
comiss xmm1, dword [eax + 0x18]
jbe 0x1001e02b
comiss xmm2, dword [ecx + 0x14]
jbe 0x1001e02b
comiss xmm3, dword [eax + 0x14]
jbe 0x1001e02b
xor eax, eax
inc eax
mov byte [esp + 0x10], al
jmp 0x1001e02f
mov byte [esp + 0x10], dl
mov eax, dword [ecx + 0x264]
imul ecx, dword [eax], 0x30
mov eax, dword [eax + 8]
cmp dword [ecx + eax - 0x10], edx
jne 0x1001e069
mov eax, dword [esi + 0x264]
cmp dword [eax + 0x18], edx
jle 0x1001e069
cmp byte [esp + 0x10], dl
jne 0x1001e069
xor ecx, ecx
inc ecx
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x264], eax
mov ecx, dword [esp + 0xc]
jmp 0x1001e06d
mov ecx, dword [esp + 0x18]
mov esi, dword [edi + 0x491c]
test esi, esi
jne 0x1001e07d
mov esi, dword [edi + 0x47c8]
cmp byte [esp + 0x1c], dl
jne 0x1001e09b
test esi, esi
je 0x1001e095
mov eax, dword [ecx + 0x310]
cmp eax, dword [esi + 0x310]
je 0x1001e09b
mov byte [esp + 0x18], dl
jmp 0x1001e0a2
xor eax, eax
inc eax
mov byte [esp + 0x18], al
movd xmm0, ebx
lea eax, [esp + 0xb0]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x80]
movss dword [esp], xmm0
push eax
push dword [esp + 0x64]
push ecx
push dword [esp + 0x28]
call fcn.1001c07f
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x1001e0e6
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x268]
mov dword [ecx + 0x264], eax
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0xc]
mov ebx, ecx
shr ebx, 3
inc eax
not bl
xorps xmm4, xmm4
and bl, al
movss xmm3, dword [edx + 0x3c]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x1001e147
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x1001e120
movss xmm3, dword [edx + 0x2c]
jmp 0x1001e123
xorps xmm3, xmm3
movss xmm0, dword [edx + 0x44]
movss xmm1, dword [edx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edx + 0x5c]
addss xmm0, dword [edx + 0x54]
subss xmm1, xmm0
maxss xmm3, xmm1
movss xmm2, dword [edx + 0x40]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1001e187
test bl, bl
je 0x1001e160
movss xmm2, dword [edx + 0x30]
jmp 0x1001e163
xorps xmm2, xmm2
movss xmm0, dword [edx + 0x48]
movss xmm1, dword [edx + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edx + 0x60]
addss xmm0, dword [edx + 0x58]
subss xmm1, xmm0
maxss xmm2, xmm1
movss xmm1, dword [edx + 0x44]
maxss xmm1, dword [edx + 0x50]
movss xmm0, dword [edx + 0x1d0]
subss xmm0, dword [edx + 0x78]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x1f0], xmm0
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + 0x48]
movss xmm0, dword [ecx + 0x1d4]
subss xmm0, dword [ecx + 0x7c]
maxss xmm1, dword [ecx + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1f4], xmm0
mov eax, dword [esp + 0xc]
addss xmm3, dword [eax + 0x1f0]
movss dword [eax + 0x1f8], xmm3
mov eax, dword [esp + 0xc]
addss xmm2, dword [eax + 0x1f4]
movss dword [eax + 0x1fc], xmm2
mov eax, dword [esp + 0xc]
lea esi, [eax + 0x1f0]
lea edi, [eax + 0x200]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
addss xmm0, dword [eax + 0x44]
addss xmm0, dword [eax + 0x54]
movss dword [eax + 0x220], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x7c]
addss xmm0, dword [eax + 0x48]
addss xmm0, dword [eax + 0x58]
movss dword [eax + 0x224], xmm0
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1001e295
movss xmm0, dword [ecx + 0x44]
movss xmm1, dword [ecx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x5c]
addss xmm0, dword [ecx + 0x54]
subss xmm1, xmm0
addss xmm1, dword [ecx + 0x220]
movss dword [ecx + 0x228], xmm1
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1001e2d7
movss xmm0, dword [ecx + 0x48]
movss xmm1, dword [ecx + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x60]
addss xmm0, dword [ecx + 0x58]
subss xmm1, xmm0
addss xmm1, dword [ecx + 0x224]
movss dword [ecx + 0x22c], xmm1
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x54]
addss xmm0, dword [eax + 0x44]
subss xmm0, dword [eax + 0x78]
movss dword [eax + 0x134], xmm0
mov eax, dword [esp + 0xc]
and dword [eax + 0x13c], 0
mov eax, dword [esp + 0xc]
and dword [eax + 0x138], 0
mov eax, dword [esp + 0xc]
movss xmm3, dword [eax + 0x44]
movss xmm0, dword [eax + 0x14]
cvtps2pd xmm0, xmm0
movss xmm2, dword [eax + 0x48]
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x78]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [eax + 0x54]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x138]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x18]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
movss xmm0, dword [eax + 0x7c]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [eax + 0x58]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [eax + 0x100], xmm0
mov eax, dword [esp + 0xc]
movss dword [eax + 0x104], xmm1
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [eax + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [eax + 0x140], xmm1
mov eax, dword [esp + 0xc]
cvtpd2ps xmm0, xmm2
movss dword [eax + 0x144], xmm0
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x100]
mov ecx, dword [edx + 0x104]
mov dword [edx + 0xf0], eax
mov dword [edx + 0xf4], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xf0]
mov ecx, dword [edx + 0xf4]
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x100]
mov ecx, dword [edx + 0x104]
mov dword [edx + 0x108], eax
mov dword [edx + 0x10c], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x100]
mov ecx, dword [edx + 0x104]
mov dword [edx + 0x110], eax
mov dword [edx + 0x114], ecx
mov eax, dword [esp + 0xc]
movss dword [eax + 0x120], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + 0x124], xmm4
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x120]
mov ecx, dword [edx + 0x124]
mov dword [edx + 0x118], eax
mov dword [edx + 0x11c], ecx
xor edx, edx
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
push dword [esp + 0x28]
and dword [eax + 0x12c], 0
mov eax, dword [esp + 0x10]
and dword [eax + 0x128], 0
mov eax, dword [esp + 0x10]
mov byte [eax + 0x131], dl
mov eax, dword [esp + 0x10]
mov byte [eax + 0x130], dl
mov eax, dword [esp + 0x10]
mov dword [eax + 0x148], edx
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + 0x14e]
mov word [ecx + 0x14c], ax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov word [eax + 0x14e], cx
mov eax, dword [esp + 0x10]
mov byte [eax + 0x150], dl
mov ecx, dword [esp + 0x10]
movss xmm0, dword [ecx + 0x84]
comiss xmm0, xmm4
seta al
mov byte [ecx + 0x151], al
mov eax, dword [esp + 0x10]
mov byte [eax + 0x152], dl
mov ecx, dword [esp + 0x10]
movss xmm1, dword [ebx + 0x37d4]
lea ecx, [ecx + 0x15c]
call fcn.10033e2f
mov eax, dword [esp + 0xc]
xor edx, edx
mov dword [eax + 0x178], edx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x17c], edx
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x184], edx
jge 0x1001e55d
push edx
lea ecx, [esi + 0x180]
call fcn.100137d1
push eax
lea ecx, [esi + 0x180]
call fcn.10025f46
xor edx, edx
mov dword [esi + 0x180], edx
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x244]
mov dword [ecx + 0x18c], eax
xor ecx, ecx
mov eax, dword [esp + 0xc]
inc ecx
mov dword [eax + 0x190], edx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x198], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1001e598
mov ecx, dword [eax + 0x198]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x19c], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x240]
mov dword [ecx + 0x1a0], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x1a4], 0xbf800000
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x1ac], edx
jge 0x1001e5e6
push edx
lea ecx, [esi + 0x1a8]
call fcn.100137d1
push eax
lea ecx, [esi + 0x1a8]
call fcn.10025f46
xor edx, edx
mov dword [esi + 0x1a8], edx
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x1b8], edx
jge 0x1001e612
push edx
lea ecx, [esi + 0x1b4]
call fcn.100137d1
push eax
lea ecx, [esi + 0x1b4]
call fcn.10025f46
xor edx, edx
mov dword [esi + 0x1b4], edx
mov eax, dword [esp + 0xc]
mov cl, byte [eax + 0xc4]
test cl, cl
jle 0x1001e632
dec cl
mov byte [eax + 0xc4], cl
mov eax, dword [esp + 0xc]
mov cl, byte [eax + 0xc5]
test cl, cl
jle 0x1001e648
dec cl
mov byte [eax + 0xc5], cl
mov eax, dword [esp + 0xc]
cmp byte [esp + 0x1c], 0
je 0x1001e665
mov ecx, eax
call fcn.1001ec1c
mov ecx, dword [esp + 0xc]
xor dl, dl
call fcn.10022c2c
mov eax, dword [esp + 0xc]
xor ecx, ecx
inc ecx
test byte [esp + 0x14], cl
jne 0x1001e6c7
movss xmm0, dword [esp + 0x7c]
lea edx, [esp + 0x68]
addss xmm0, dword [eax + 0x50]
push ecx
push dword [esp + 0x5c]
mov ecx, eax
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x8c]
subss xmm0, dword [eax + 0x50]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x7c], xmm0
call fcn.1001c578
mov eax, dword [esp + 0x14]
pop ecx
pop ecx
mov edx, dword [0x100e23dc]
xor ecx, ecx
mov word [eax + 0x232], cx
mov eax, dword [esp + 0xc]
mov word [eax + 0x230], cx
movss xmm0, dword [edx + 0x37f0]
movss xmm4, dword [esp + 0x88]
movss xmm2, dword [esp + 0x80]
addss xmm4, xmm0
movss xmm1, dword [edx + 0x37ec]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x7c]
movss xmm5, dword [edx + 0xdc0]
subss xmm0, xmm1
movss xmm3, dword [esp + 0x84]
addss xmm3, xmm1
comiss xmm5, xmm0
jb 0x1001e74d
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm2
jb 0x1001e74d
comiss xmm3, xmm5
jbe 0x1001e74d
comiss xmm4, xmm0
jbe 0x1001e74d
xor eax, eax
lea esi, [eax + 1]
jmp 0x1001e74f
xor esi, esi
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x46a0]
mov eax, dword [eax + 0x70]
mov dword [edx + 0x46c4], esi
lea esi, [esp + 0x7c]
mov dword [edx + 0x46bc], eax
lea eax, [edx + 0x46d8]
mov edi, eax
mov dword [edx + 0x46c0], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [edx + 0x46c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x94]
jmp 0x1001e7ad
call fcn.10018874
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
and esi, 0x1000000
and edi, 0x40
xor eax, eax
inc eax
push eax
mov eax, dword [esp + 0x10]
lea edx, [eax + 0x1e8]
lea ecx, [eax + 0x1e0]
call fcn.10019e1b
mov eax, dword [esp + 0x10]
pop ecx
xor ecx, ecx
mov byte [eax + 0xac], cl
mov eax, dword [esp + 0xc]
inc word [eax + 0xb6]
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x46f8], ecx
cmp eax, dword [esp + 0x34]
je 0x1001e965
mov edx, dword [esp + 0xc]
test esi, esi
je 0x1001e8c0
test edi, edi
jne 0x1001e87e
cmp byte [edx + 0xc4], cl
jg 0x1001e87e
cmp byte [edx + 0xc5], cl
jg 0x1001e87e
test dword [esp + 0x14], 0x800000
je 0x1001e841
cmp byte [ebx + 0x4804], cl
je 0x1001e841
mov eax, dword [ebx + 0x47c8]
test eax, eax
je 0x1001e841
mov eax, dword [eax + 0x314]
cmp eax, dword [edx + 0x314]
jne 0x1001e841
xor eax, eax
inc eax
jmp 0x1001e843
mov al, cl
cmp byte [ebx + 0x5a8c], cl
jne 0x1001e87e
test al, al
jne 0x1001e87e
movss xmm0, dword [edx + 0x1c0]
comiss xmm0, dword [edx + 0x1c8]
jae 0x1001e871
movss xmm0, dword [edx + 0x1c4]
comiss xmm0, dword [edx + 0x1cc]
jb 0x1001e87e
xor eax, eax
inc eax
mov byte [edx + 0xcc], al
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1001e8c0
cmp byte [eax + 0xad], cl
jne 0x1001e896
cmp byte [eax + 0xcc], cl
jle 0x1001e8a1
mov byte [edx + 0xcc], 1
mov edx, dword [esp + 0xc]
cmp byte [eax + 0xad], cl
jne 0x1001e8b1
cmp byte [eax + 0xcd], cl
jle 0x1001e8c0
xor eax, eax
inc eax
mov byte [edx + 0xcd], al
mov edx, dword [esp + 0xc]
jmp 0x1001e8c3
xor eax, eax
inc eax
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x3788]
jb 0x1001e8d9
mov byte [edx + 0xcc], al
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xcc], cl
jg 0x1001e8f9
cmp byte [edx + 0xcd], cl
jg 0x1001e8f9
mov byte [esp + 0x10], cl
cmp byte [edx + 0xce], cl
jg 0x1001e8fd
mov al, cl
jmp 0x1001e8fd
mov byte [esp + 0x10], al
mov byte [edx + 0xb1], al
mov edx, dword [esp + 0xc]
mov al, byte [edx + 0xcf]
test al, al
jle 0x1001e928
dec al
mov byte [edx + 0xcf], al
mov eax, dword [esp + 0xc]
or dword [eax + 0xc], 0xc0200
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xad], cl
jne 0x1001e93e
cmp byte [edx + 0xaa], cl
je 0x1001e93e
cmp byte [esp + 0x10], cl
je 0x1001e95f
cmp byte [edx + 0xc4], cl
jg 0x1001e95f
cmp byte [edx + 0xc5], cl
jg 0x1001e95f
cmp byte [edx + 0xcd], cl
movzx eax, cl
push 1
pop ecx
cmovle eax, ecx
mov cl, al
mov byte [edx + 0xaf], cl
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xb2], 0
jne 0x1001e9c0
cmp byte [ebx + 0x6c], 0
je 0x1001e97f
cmp dword [esp + 0x4c], 0
je 0x1001e994
cmp byte [ebx + 0x6d], 0
je 0x1001e9c0
movsx eax, byte [ebx + 0x5ae2]
cmp eax, dword [ebx + 0x3e24]
jne 0x1001e9c0
mov al, byte [ecx + 0xc4]
test al, al
jle 0x1001e9aa
inc al
mov byte [ecx + 0xc4], al
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0xc5]
test al, al
jle 0x1001e9bc
inc al
mov byte [ecx + 0xc5], al
xor al, al
jmp 0x1001e9ca
cmp byte [ecx + 0xaf], 0
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret