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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rsi, qword [0x1401cfbd0]
mov r14d, r9d
mov r15, qword [rbp + 0x150]
mov r12d, edx
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x3c], edx
mov rax, qword [rsi + 0x12b8]
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x60], r15
mov qword [rbp - 0x58], rsi
mov byte [rax + 0xc0], 1
mov r13, qword [rsi + 0x12b8]
cmp byte [r13 + 0xc3], 0
je 0x14003fb27
xor al, al
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x240], rbx
lea rcx, [rbp - 0x68]
movaps xmmword [rsp + 0x1d0], xmm7
mov ebx, r14d
and ebx, 0x3000000
movaps xmmword [rsp + 0x1b0], xmm9
mov dword [rsp + 0x5c], ebx
call fcn.14000fed0
movss xmm7, dword [0x140152640]
xorps xmm9, xmm9
test ebx, ebx
je 0x14003fb71
movss xmm3, dword [rbp - 0x64]
maxss xmm3, xmm7
jmp 0x14003fb74
xorps xmm3, xmm3
movss xmm2, dword [rbp - 0x68]
lea rcx, [rbp - 0x60]
movss xmm1, dword [r15 + 4]
maxss xmm2, xmm7
movss xmm0, dword [r15]
unpcklps xmm0, xmm1
movq rdx, xmm0
mov qword [rsp + 0x1f0], rdi
call fcn.14000a6b0
movss xmm0, dword [r13 + 0x110]
movss xmm2, dword [rbp - 0x60]
movss xmm1, dword [rbp - 0x5c]
addss xmm2, xmm0
addss xmm1, dword [r13 + 0x114]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [r13 + 0x114]
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm1
cmp byte [r13 + 0xdc], 0
jg 0x14003fbfb
cmp byte [r13 + 0xdd], 0
jg 0x14003fbfb
xor dil, dil
jmp 0x14003fbfe
mov dil, 1
mov byte [rsp + 0x30], dil
test ebx, ebx
je 0x14003fc59
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400156c0
test al, al
je 0x14003fc59
test dil, dil
jne 0x14003fc59
movss xmm1, dword [rsp + 0x54]
lea rcx, [rsp + 0x60]
subss xmm1, dword [rsp + 0x4c]
movss xmm0, dword [rsp + 0x50]
subss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x64], xmm1
movss xmm1, dword [0x1401526ac]
movss dword [rsp + 0x60], xmm0
call fcn.140017020
xor al, al
jmp 0x140040c8f
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1c0], xmm8
cmp dword [rsi + 0x20d0], r12d
jne 0x14003fc74
int3
lea rcx, [rsi + 0x20f8]
mov r8d, 0xffffffff
mov edx, r12d
call fcn.140010910
mov rdx, rax
movsxd rcx, dword [rax]
cmp ecx, 0xffffffff
je 0x14003fca4
imul rbx, rcx, 0x250
add rbx, qword [rsi + 0x20f0]
jmp 0x14003fcbb
mov eax, dword [rsi + 0x2108]
lea rcx, [rsi + 0x20e8]
mov dword [rdx], eax
call fcn.14003f030
mov rbx, rax
mov eax, dword [rbx + 4]
mov rcx, rbx
sub rcx, qword [rsi + 0x20f0]
mov r10d, 8
mov edi, dword [rsi + 0x20d4]
mov dword [rsp + 0x58], eax
inc edi
movabs rax, 0x3759f22983759f23
mov qword [rbp - 0x78], rbx
imul rcx
mov dword [rsi + 0x20d4], edi
mov r12, rdx
sar r12, 7
mov rcx, r12
shr rcx, 0x3f
add r12, rcx
mov qword [rsp + 0x78], r12
cmp edi, dword [rsi + 0x20d8]
jle 0x14003fe67
mov ecx, dword [rsi + 0x20dc]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0xa0], rax
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x34], 0xbf800000
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
cmp edi, ecx
jle 0x14003fdc4
test ecx, ecx
je 0x14003fd61
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003fd64
mov eax, r10d
cmp eax, edi
mov r15d, edi
cmovg r15d, eax
cmp r15d, ecx
jle 0x14003fdbf
movsxd rax, r15d
imul rcx, rax, 0x78
call fcn.140018010
mov rdx, qword [rsi + 0x20e0]
mov r12, rax
test rdx, rdx
je 0x14003fdac
movsxd rcx, dword [rsi + 0x20d8]
imul r8, rcx, 0x78
mov rcx, rax
call fcn.14013f318
mov rcx, qword [rsi + 0x20e0]
call fcn.140018020
mov qword [rsi + 0x20e0], r12
mov r12, qword [rsp + 0x78]
mov dword [rsi + 0x20dc], r15d
mov r15, qword [rsp + 0x60]
movsxd rax, dword [rsi + 0x20d8]
cmp edi, eax
jle 0x14003fe44
movsxd rdx, edi
cmp rax, rdx
jge 0x14003fe44
imul rcx, rax, 0x78
sub rdx, rax
nop
mov rax, qword [rsi + 0x20e0]
lea rcx, [rcx + 0x78]
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rcx + rax - 0x78], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [rcx + rax - 0x68], xmm1
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rcx + rax - 0x58], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rcx + rax - 0x48], xmm1
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [rcx + rax - 0x38], xmm0
movups xmm1, xmmword [rbp + 0x80]
movups xmmword [rcx + rax - 0x28], xmm1
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rcx + rax - 0x18], xmm0
movsd xmm1, qword [rbp + 0xa0]
movsd qword [rcx + rax - 8], xmm1
sub rdx, 1
jne 0x14003fde0
lea rcx, [rbp + 0x48]
mov dword [rsi + 0x20d8], edi
call fcn.1400335f0
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14003fe61
call fcn.140018020
mov r10d, 8
movsxd rax, dword [rsi + 0x20d4]
xor edi, edi
mov r9, qword [rsi + 0x20e0]
imul rcx, rax, 0x78
add r9, 0xffffffffffffff88
add r9, rcx
mov qword [rbx + 0x10], r9
mov qword [rbp - 0x80], r9
mov dword [r9], r12d
mov rax, qword [rbx + 0x10]
add rax, 0x18
mov qword [rbx + 0x1a0], rax
test r14d, 0xe000
mov dword [rax], edi
mov dword [rax + 4], 1
sete al
mov byte [rbx + 0x243], al
test r14d, 0xe000
jne 0x14003fed9
bt r14d, 0x18
jb 0x14003fed1
test byte [r13 + 0x14], 0x40
mov eax, 0x8000
je 0x14003fed6
mov eax, 0x2000
or r14d, eax
mov eax, r14d
mov ecx, r14d
bts ecx, 0x12
and eax, 0xe000
cmp eax, 0x4000
mov rax, qword [r13 + 0x388]
cmovne ecx, r14d
mov edx, ecx
bts edx, 9
test cl, 1
cmove edx, ecx
mov ecx, edx
and ecx, 0xfffcffff
test edx, 0x3000000
cmove ecx, edx
mov edx, ecx
btr edx, 0xb
bt ecx, 0xc
cmovae edx, ecx
mov r8d, edx
or r8d, 0x10
test dl, 0xf
cmovne r8d, edx
mov r14d, r8d
or r14d, 0x10
test dword [rax + 0x14], 0x100
mov eax, dword [rbx + 0x68]
cmove r14d, r8d
mov dword [rsp + 0x38], eax
cmp eax, dword [rsi + 0x1210]
je 0x14003ff56
mov r12d, edi
jmp 0x14003ff5e
movsx r12d, word [rbx + 0x78]
inc r12d
mov r8d, dword [rsp + 0x3c]
movss xmm6, dword [rbp + 0x158]
mov dword [rbx], r8d
mov dword [rbx + 4], r14d
mov eax, dword [rsi + 0x1210]
mov dword [rbx + 0x68], eax
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x6c], eax
movss dword [rbx + 0xcc], xmm6
mov qword [rbx + 0x188], r13
mov qword [rbx + 0x180], r13
mov byte [rbx + 0x236], dil
movsd xmm0, qword [r15]
movsd qword [r9 + 0xc], xmm0
mov word [rbx + 0x78], r12w
test r12d, r12d
jle 0x140040097
mov r15d, dword [rbx + 0x1c0]
cmp r15d, r12d
jge 0x14004007a
mov ecx, dword [rbx + 0x1c4]
cmp r15d, ecx
jne 0x140040050
inc r15d
test ecx, ecx
je 0x14003ffe5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003ffe8
mov eax, r10d
cmp eax, r15d
cmovg r15d, eax
cmp r15d, ecx
jle 0x140040050
movsxd rax, r15d
lea rcx, [rax + rax*2]
shl rcx, 3
call fcn.140018010
mov rdx, qword [rbx + 0x1c8]
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x14004003d
movsxd rcx, dword [rbx + 0x1c0]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 3
call fcn.14013f318
mov rcx, qword [rbx + 0x1c8]
call fcn.140018020
mov rax, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x3c]
mov qword [rbx + 0x1c8], rax
mov dword [rbx + 0x1c4], r15d
movsxd rax, dword [rbx + 0x1c0]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x1c8]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], 0xffffffffffffffff
inc dword [rbx + 0x1c0]
xor edx, edx
lea rcx, [0x140159620]
call fcn.140010870
mov edx, eax
mov ecx, r12d
call fcn.140010810
mov r15d, eax
jmp 0x14004009a
mov r15d, r8d
movsx eax, word [rbx + 0x78]
test eax, eax
jne 0x1400400ab
lea rax, [rbx + 0x1a8]
jmp 0x1400400bf
dec eax
movsxd rcx, eax
mov rax, qword [rbx + 0x1c8]
lea rdx, [rcx + rcx*2]
lea rax, [rax + rdx*8]
movss xmm8, dword [0x1401526a4]
mov dword [rax], r15d
cmp dword [rsp + 0x5c], edi
je 0x140040251
mov eax, r14d
movaps xmm1, xmm8
and eax, 0x3000000
movaps xmm0, xmm8
cmp eax, 0x1000000
jne 0x1400400f4
movss xmm0, dword [0x1401597a8]
bt r14d, 0x18
jae 0x14004011a
comiss xmm6, xmm9
jbe 0x14004011a
ucomiss xmm6, xmm8
movaps xmm1, xmm6
jp 0x14004010c
je 0x14004011a
ucomiss xmm0, xmm8
jp 0x140040122
jne 0x140040122
movaps xmm0, xmm9
jmp 0x140040122
ucomiss xmm0, xmm8
jp 0x140040122
je 0x140040144
ucomiss xmm1, xmm8
jp 0x14004012e
jne 0x14004012e
movaps xmm1, xmm9
lea rcx, [rsp + 0x70]
movss dword [rsp + 0x70], xmm1
movss dword [rsp + 0x74], xmm0
call fcn.140023e80
test dword [rsp + 0x58], 0x3000000
jne 0x14004015d
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rdi
call fcn.140023f10
movss xmm0, dword [rsp + 0x50]
lea r8, [rsp + 0x40]
movss xmm1, dword [rsp + 0x54]
mov eax, r14d
subss xmm0, dword [rsp + 0x48]
subss xmm1, dword [rsp + 0x4c]
mov rcx, qword [rbp - 0x70]
xor r9d, r9d
shr eax, 0xd
mov edx, r15d
and eax, 0x800
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
mov dword [rsp + 0x20], eax
call fcn.1400090a0
mov rcx, qword [rsi + 0x12b8]
mov qword [rbx + 0x188], rcx
movups xmm0, xmmword [rcx + 0x228]
movups xmmword [rbx + 0x110], xmm0
movss xmm3, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x30]
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm1
addss xmm2, dword [rcx + 0x34]
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm0
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rbx + 0xf0], xmm3
movups xmm0, xmmword [rcx + 0x208]
movups xmmword [rbx + 0x100], xmm0
cmp byte [rcx + 0xc3], dil
je 0x140040229
cmp byte [rsp + 0x30], dil
je 0x140040229
mov byte [rcx + 0xc3], dil
mov rcx, qword [rbx + 0x188]
test r12d, r12d
jne 0x140040242
movzx eax, byte [rbx + 0x246]
mov byte [rbx + 0x247], al
mov byte [rbx + 0x246], dil
movzx eax, byte [rcx + 0xbd]
or byte [rbx + 0x246], al
jmp 0x14004026b
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x100], xmm0
movups xmmword [rbx + 0xf0], xmm0
movups xmmword [rbx + 0x110], xmm0
mov ecx, dword [rsp + 0x3c]
call fcn.14001e460
movaps xmm6, xmmword [rsp + 0x1e0]
test r12d, r12d
jle 0x140040289
mov ecx, r15d
call fcn.14001e460
mov r12, qword [rbx + 0x188]
mov r15, qword [rbp - 0x80]
mov qword [rsp + 0x70], r12
mov eax, dword [r12 + 0x154]
lea r10, [r12 + 0x248]
mov dword [rbx + 0xb4], eax
movups xmm0, xmmword [r10]
movups xmmword [rbx + 0x160], xmm0
movzx eax, byte [r12 + 0xc3]
mov byte [rbx + 0x249], al
movups xmm0, xmmword [r12 + 0x228]
movups xmmword [r15 + 0x30], xmm0
movups xmm0, xmmword [r12 + 0x238]
movups xmmword [r15 + 0x40], xmm0
movss xmm1, dword [r13 + 0x158]
movss dword [r15 + 0x68], xmm1
movsd xmm0, qword [r12 + 0x140]
movsd qword [r15 + 0x50], xmm0
movsd xmm0, qword [r12 + 0x138]
movsd qword [r15 + 0x58], xmm0
movsd xmm1, qword [r12 + 0x128]
movsd qword [r15 + 0x60], xmm1
mov eax, dword [r13 + 0x1d0]
mov dword [r15 + 0x6c], eax
mov eax, dword [r13 + 0x1d8]
mov dword [r15 + 0x70], eax
mov qword [r12 + 0x138], rdi
mov qword [r12 + 0x140], rdi
cmp r12, r13
je 0x140040395
bt r14d, 0xa
jae 0x140040372
movss xmm0, dword [rbx + 0x160]
addss xmm0, xmm7
minss xmm0, dword [rbx + 0x168]
movss dword [rbx + 0x160], xmm0
bt r14d, 8
jae 0x140040395
movss xmm0, dword [rbx + 0x164]
addss xmm0, xmm7
minss xmm0, dword [rbx + 0x16c]
movss dword [rbx + 0x164], xmm0
bt r14d, 0x16
jae 0x1400403a0
xor dl, dl
jmp 0x1400403b4
bt r14d, 0x15
jae 0x1400403ab
mov dl, 1
jmp 0x1400403b4
mov edx, r14d
shr edx, 0xa
and dl, 1
mov ecx, r14d
mov r8d, r14d
shr ecx, 0x17
not cl
and cl, 1
and r8d, 0x200
je 0x1400403d0
movaps xmm3, xmm7
jmp 0x1400403d4
movaps xmm3, xmm9
test cl, cl
je 0x140040417
test r8d, r8d
jne 0x140040417
lea rax, [rsi + 0xbfc]
movss xmm1, dword [rax]
movaps xmm2, xmm9
movss dword [rbx + 0xc8], xmm1
movaps xmm0, xmm1
movss dword [rbx + 0xc0], xmm2
addss xmm0, xmm3
movss dword [rbx + 0xc4], xmm0
bt r14d, 0xa
jae 0x140040431
movaps xmm1, xmm7
jmp 0x140040435
lea rax, [rsi + 0xbfc]
movaps xmm1, xmm9
test cl, cl
je 0x1400403e8
test r8d, r8d
je 0x1400403e8
movss xmm2, dword [rax]
jmp 0x1400403ec
movaps xmm1, xmm9
test dl, dl
je 0x14004043f
movss xmm0, dword [rax]
jmp 0x140040443
movaps xmm0, xmm9
mov qword [rbx + 0x70], 0xffffffffffffffff
addss xmm0, xmm1
mov dword [rbx + 0x98], edi
lea rcx, [rbx + 0x120]
mov word [rbx + 0x96], di
lea rax, [rbx + 0x110]
cmp r12, r13
lea rdx, [rbx + 0x160]
subss xmm0, xmm2
cmovne rax, r10
movss dword [rbx + 0xbc], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movss xmm1, dword [rcx]
movss xmm0, dword [rcx + 4]
maxss xmm1, dword [rbx + 0x110]
maxss xmm0, dword [rbx + 0x114]
movss dword [rcx], xmm1
movss dword [rcx + 4], xmm0
movss xmm1, dword [rcx + 8]
movss xmm0, dword [rcx + 0xc]
minss xmm1, dword [rbx + 0x118]
minss xmm0, dword [rbx + 0x11c]
movss dword [rcx + 8], xmm1
movss dword [rcx + 0xc], xmm0
call fcn.14000bf00
bt r14d, 0x11
jae 0x1400404f0
movss xmm0, dword [rbx + 0x12c]
minss xmm0, dword [r12 + 0x234]
jmp 0x1400404fa
movss xmm0, dword [r12 + 0x254]
mov eax, dword [rsp + 0x38]
movss dword [rbx + 0x12c], xmm0
inc eax
movss xmm0, dword [rbx + 0x114]
movss dword [rbx + 0x80], xmm0
movss dword [rbx + 0x7c], xmm0
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x226], rdi
mov byte [rbx + 0x242], 1
mov dword [rbx + 0x206], edi
cmp eax, dword [rsi + 0x1210]
jge 0x140040547
mov byte [rbx + 0x245], dil
movaps xmm1, xmm7
mov dword [r15 + 8], edi
mov ecx, 0x2b
call fcn.14000fe10
movaps xmm1, xmm7
mov dword [rbx + 0xa4], eax
mov ecx, 0x2c
call fcn.14000fe10
mov r9, qword [rsp + 0x78]
mov dword [rbx + 0xa8], eax
mov qword [rsi + 0x20c8], rbx
mov byte [r13 + 0x170], dil
mov dword [r13 + 0x1c0], r9d
cmp r12, r13
je 0x140040598
mov dword [r12 + 0x1c0], r9d
test byte [rsp + 0x58], 2
je 0x1400405ac
test r14b, 2
jne 0x1400405ac
mov byte [rbx + 0x241], 1
cmp r9d, dword [rsi + 0x2110]
jl 0x140040679
mov ecx, dword [rsi + 0x2114]
lea r14d, [r9 + 1]
mov dword [rsp + 0x38], 0xbf800000
cmp r14d, ecx
jle 0x140040644
test ecx, ecx
je 0x1400405df
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400405e4
mov eax, 8
cmp eax, r14d
mov r15d, r14d
cmovg r15d, eax
cmp r15d, ecx
jle 0x140040640
movsxd rcx, r15d
shl rcx, 2
call fcn.140018010
mov rdx, qword [rsi + 0x2118]
mov r13, rax
test rdx, rdx
je 0x14004062d
movsxd r8, dword [rsi + 0x2110]
mov rcx, rax
shl r8, 2
call fcn.14013f318
mov rcx, qword [rsi + 0x2118]
call fcn.140018020
mov r9, qword [rsp + 0x78]
mov qword [rsi + 0x2118], r13
mov dword [rsi + 0x2114], r15d
mov r15, qword [rbp - 0x80]
movsxd rax, dword [rsi + 0x2110]
cmp r14d, eax
jle 0x140040672
movsxd r8, r14d
mov rdx, rax
cmp rax, r8
jge 0x140040672
mov eax, dword [rsp + 0x38]
nop
mov rcx, qword [rsi + 0x2118]
mov dword [rcx + rdx*4], eax
inc rdx
cmp rdx, r8
jl 0x140040660
mov dword [rsi + 0x2110], r14d
movsd xmm0, qword [rsi + 0x1208]
mov rax, qword [rsi + 0x2118]
cvtpd2ps xmm0, xmm0
movsxd rcx, r9d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x68], rdi
movss dword [rax + rcx*4], xmm0
movabs rax, 0x4924924924924925
movsd xmm0, qword [rsi + 0x1208]
cvtpd2ps xmm0, xmm0
movss dword [r15 + 4], xmm0
mov byte [rbx + 0x248], dil
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
sub rcx, r8
imul rcx
mov ecx, dword [rsp + 0x34]
mov r10, rdx
sar r10, 5
mov rax, r10
shr rax, 0x3f
add r10, rax
mov qword [rbp - 0x70], r10
test r10d, r10d
je 0x140040704
cmp r10d, ecx
je 0x140040704
mov rax, qword [rbx + 8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], r8
mov qword [rbx + 8], rdi
cmp qword [rbx + 8], rdi
jne 0x1400407e3
imul edi, ecx, 0x70
lea esi, [rcx + rcx]
lea eax, [rcx + 0x1f]
lea r15d, [rcx*8]
sar eax, 3
and eax, 0xfffffffc
lea r14d, [rdi + 3]
add r14d, esi
and r14d, 0xfffffffc
lea r12d, [r15 + r14]
lea r13d, [rax + r12]
lea ecx, [rax + r13]
add eax, ecx
mov dword [rsp + 0x38], ecx
movsxd rbx, eax
mov rcx, rbx
call fcn.140018010
mov rcx, qword [rbp - 0x78]
mov r8, rbx
xor edx, edx
mov qword [rcx + 8], rax
mov rcx, rax
call fcn.14013f324
mov rbx, qword [rbp - 0x78]
mov r10, qword [rbp - 0x70]
movsxd rcx, edi
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdx
lea rax, [rcx + rdx]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
movsxd rax, esi
mov rsi, qword [rbp - 0x58]
add rax, rcx
add rax, rdx
movsxd rcx, r14d
mov qword [rbx + 0x30], rax
lea rax, [rcx + rdx]
mov qword [rbx + 0x38], rax
movsxd rax, r15d
add rax, rcx
add rax, rdx
mov qword [rbx + 0x40], rax
movsxd rax, r12d
mov r12, qword [rsp + 0x70]
add rax, rdx
mov qword [rbx + 0x48], rax
movsxd rax, r13d
add rax, rdx
mov byte [rbx + 0x23d], 1
mov qword [rbx + 0x50], rax
movsxd rax, dword [rsp + 0x38]
add rax, rdx
mov byte [rbx + 0x238], 1
mov qword [rbx + 0x58], rax
xor edi, edi
mov al, 1
jmp 0x1400407ea
movzx eax, byte [rbx + 0x238]
cmp byte [rbx + 0x240], 0
je 0x14004080f
mov word [rbx + 0x23d], 0x100
mov byte [rbx + 0x238], 1
mov byte [rbx + 0x240], 0
mov dword [rbx + 0x60], edi
jmp 0x140040817
test al, al
je 0x140040994
mov r14d, dword [rsp + 0x34]
mov r15d, 0xffffffff
mov dword [rbx + 0x64], r15d
mov r8d, edi
mov word [rbx + 0x7a], r15w
mov word [rbx + 0x224], r15w
mov word [rbx + 0x218], r15w
mov word [rbx + 0x210], r15w
mov byte [rbx + 0x239], 1
mov dword [rbx + 0x212], 0xffffffff
mov dword [rbx + 0x20a], 0xffffffff
test r14d, r14d
jle 0x14004099f
mov rsi, qword [rsp + 0x40]
mov r9, rdi
mov rcx, rdi
mov r11d, 0xff
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
test rsi, rsi
je 0x1400408d7
cmp r8d, r10d
jge 0x1400408d7
movups xmm0, xmmword [rcx + rsi]
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rcx + rsi + 0x10]
movups xmmword [rcx + rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + rsi + 0x20]
movups xmmword [rcx + rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + rsi + 0x30]
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + rsi + 0x40]
movups xmmword [rcx + rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + rsi + 0x50]
movups xmmword [rcx + rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + rsi + 0x60]
movups xmmword [rcx + rdx + 0x60], xmm0
jmp 0x14004096b
movss xmm2, dword [rcx + rdx + 0x14]
xorps xmm1, xmm1
movups xmmword [rcx + rdx], xmm1
movups xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x10], 0xffffffffffffffff
movups xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x30], 0xbf800000
xorps xmm0, xmm0
mov dword [rbp - 0x28], 0xbf800000
psrldq xmm0, 0xd
movd eax, xmm0
movups xmm0, xmmword [rbp - 0x30]
mov dword [rbp + 0x18], 0xffffffff
movups xmmword [rbp + 0x20], xmm1
mov dword [rbp + 0x1e], 0xff00ff
and al, 0xfc
movups xmmword [rcx + rdx + 0x10], xmm0
mov word [rbp + 0x1c], r11w
movups xmm0, xmmword [rbp + 0x10]
mov byte [rbp + 0x2d], al
movups xmmword [rcx + rdx + 0x20], xmm1
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmmword [rcx + rdx + 0x40], xmm1
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rcx + rdx + 0x50], xmm0
movups xmmword [rcx + rdx + 0x60], xmm1
mov byte [rcx + rdx + 0x69], 1
movss dword [rcx + rdx + 0x14], xmm2
mov word [rcx + rdx + 0x63], 0x101
mov byte [rcx + rdx + 0x62], 1
mov rax, qword [rbx + 0x28]
mov word [r9 + rax], r8w
add r9, 2
mov word [rcx + rdx + 0x52], r8w
inc r8d
add rcx, 0x70
cmp r8d, r14d
jl 0x140040880
mov rsi, qword [rbp - 0x58]
jmp 0x14004099f
mov r14d, dword [rsp + 0x34]
mov r15d, 0xffffffff
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400409b1
mov rcx, rax
call fcn.140018020
cmp byte [rbx + 0x23d], 0
je 0x1400409c2
mov rcx, rbx
call fcn.140046090
movss xmm0, dword [rbx + 0xe4]
ucomiss xmm0, xmm9
movss xmm2, dword [rsi + 0xff0]
jp 0x1400409de
je 0x140040ab4
ucomiss xmm0, xmm2
jp 0x1400409e9
je 0x140040ab4
movsxd rdx, r14d
movaps xmm1, xmm2
mov r9, rdi
divss xmm1, xmm0
cmp rdx, 4
jl 0x140040a8b
lea r8, [rdx - 4]
mov rcx, rdi
shr r8, 2
inc r8
lea r9, [r8*4]
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
lea rcx, [rcx + 0x1c0]
mulss xmm0, dword [rax + rcx - 0x1b0]
movss dword [rax + rcx - 0x1b0], xmm0
movaps xmm0, xmm1
mov rax, qword [rbx + 0x18]
mulss xmm0, dword [rax + rcx - 0x140]
movss dword [rax + rcx - 0x140], xmm0
movaps xmm0, xmm1
mov rax, qword [rbx + 0x18]
mulss xmm0, dword [rax + rcx - 0xd0]
movss dword [rax + rcx - 0xd0], xmm0
movaps xmm0, xmm1
mov rax, qword [rbx + 0x18]
mulss xmm0, dword [rax + rcx - 0x60]
movss dword [rax + rcx - 0x60], xmm0
sub r8, 1
jne 0x140040a20
cmp r9, rdx
jge 0x140040ab4
imul rcx, r9, 0x70
sub rdx, r9
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
lea rcx, [rcx + 0x70]
mulss xmm0, dword [rax + rcx - 0x60]
movss dword [rax + rcx - 0x60], xmm0
sub rdx, 1
jne 0x140040a97
movss dword [rbx + 0xe4], xmm2
lea rcx, [rbx + 0x190]
mov byte [r12 + 0xc3], 1
cmp dword [rcx], 0
jle 0x140040ad8
xor edx, edx
call fcn.14002cf20
cmp word [rbx + 0x78], 0
jne 0x140040b4c
movsx eax, word [rbx + 0x212]
cmp ax, 0xffff
je 0x140040b03
movss xmm1, dword [rbx + 0xdc]
ucomiss xmm1, xmm8
jp 0x140040afc
je 0x140040b03
mov ecx, eax
call fcn.140047670
movzx eax, word [rbx + 0x212]
movsx rcx, word [rbx + 0x210]
mov word [rbx + 0x214], ax
mov dword [rbx + 0xdc], 0x7f7fffff
mov word [rbx + 0x212], r15w
cmp cx, 0xffff
je 0x140040b4c
mov rax, qword [rbx + 0x18]
imul rdx, rcx, 0x70
movss xmm1, dword [rdx + rax + 0x14]
call fcn.140047670
mov word [rbx + 0x210], r15w
cmp word [rbx + 0x78], 0
movaps xmm8, xmmword [rsp + 0x1c0]
jne 0x140040c51
cmp word [rbx + 0x216], 0xffff
jne 0x140040b7c
cmp word [rbx + 0x218], 0xffff
je 0x140040b7c
mov word [rbx + 0x218], r15w
movsx rax, word [rbx + 0x218]
mov word [rbx + 0x216], r15w
cmp ax, 0xffff
je 0x140040c51
movsx r10d, word [rbx + 0x21a]
test r10w, r10w
je 0x140040c51
mov r11, qword [rbx + 0x18]
imul r8, rax, 0x70
add r8, r11
cmp r10d, 0xffffffff
jne 0x140040bc0
movzx eax, word [r8 + 0x56]
jmp 0x140040bc5
movzx eax, word [r8 + 0x58]
movsx edx, word [r8 + 0x52]
movsx rax, ax
imul rcx, rax, 0x70
movsx eax, word [rcx + r11 + 0x52]
mov word [r8 + 0x52], ax
lea r8d, [rdx + r10]
lea r11d, [r10 + rax]
cmp r8d, r11d
je 0x140040c12
nop word [rax + rax]
mov rax, qword [rbx + 0x28]
movsxd rcx, r8d
add r8d, r10d
movsx rcx, word [rax + rcx*2]
mov rax, qword [rbx + 0x18]
imul rdx, rcx, 0x70
sub word [rdx + rax + 0x52], r10w
cmp r8d, r11d
jne 0x140040bf0
cmp dword [rbx + 0x6c], 0
mov r8d, edi
jle 0x140040c43
nop dword [rax + rax]
movsxd rax, r8d
imul rcx, rax, 0x70
mov rax, qword [rbx + 0x18]
movsx rdx, word [rcx + rax + 0x52]
mov rax, qword [rbx + 0x28]
mov word [rax + rdx*2], r8w
inc r8d
cmp r8d, dword [rbx + 0x6c]
jl 0x140040c20
mov word [rbx + 0x21a], di
mov byte [rbx + 0x23e], 1
cmp byte [rbx + 0x241], 0
je 0x140040c8d
cmp dword [rbx + 0x6c], 0
jle 0x140040c7f
mov rax, qword [rbx + 0x18]
movsxd rdx, edi
imul rcx, rdx, 0x70
mov word [rcx + rax + 0x52], di
mov rax, qword [rbx + 0x28]
mov word [rax + rdx*2], di
inc edi
cmp edi, dword [rbx + 0x6c]
jl 0x140040c60
mov byte [rbx + 0x241], 0
mov byte [rbx + 0x23e], 1
mov al, 1
mov rdi, qword [rsp + 0x1f0]
movaps xmm7, xmmword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x240]
movaps xmm9, xmmword [rsp + 0x1b0]
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret