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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x28
mov rdi, rdx
or rcx, 0xffffffffffffffff
add rdx, 0x38
call fcn.140025a10
movss xmm0, dword [rdi + 0x38]
lea rdx, [rsp + 0x40]
call fcn.140022860
xor ebx, ebx
test eax, eax
je 0x14002284d
movss xmm0, dword [rdi + 0x44]
lea rdx, [rsp + 0x48]
call fcn.140022860
test eax, eax
je 0x14002284d
movss xmm0, dword [rdi + 0x3c]
lea rdx, [rsp + 0x50]
call fcn.140022860
test eax, eax
je 0x14002284d
movss xmm0, dword [rdi + 0x40]
lea rdx, [rsp + 0x58]
call fcn.140022860
test eax, eax
je 0x14002284d
mov r8d, dword [rsp + 0x50]
mov eax, r8d
mov r9d, dword [rsp + 0x40]
neg eax
mov ecx, dword [rsp + 0x58]
mov edx, dword [rsp + 0x48]
mov dword [rdi + 0x54], eax
mov eax, ecx
neg eax
mov dword [rdi + 0x50], r9d
mov dword [rdi + 0x5c], eax
mov eax, r8d
or eax, r9d
mov dword [rdi + 0x60], edx
je 0x14002284d
mov eax, ecx
or eax, r9d
je 0x14002284d
mov eax, ecx
or eax, edx
je 0x14002284d
mov eax, r8d
or eax, edx
je 0x14002284d
mov dword [rdi + 0x70], 0x40000000
mov eax, ebx
mov dword [rdi + 0x58], ebx
mov qword [rdi + 0x64], rbx
mov dword [rdi + 0x6c], ebx
mov dword [rdi + 0x74], ebx
test r8d, r8d
jne 0x140022812
test ecx, ecx
jne 0x140022812
mov dword [rdi + 0x74], 1
lea eax, [rbx + 1]
test r9d, r9d
je 0x140022841
mov rcx, rdi
call fcn.140024570
or eax, 0xffffffff
mov dword [rdi + 0x20], 1
mov rcx, rdi
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], eax
mov qword [rdi + 0x18], rbx
add rsp, 0x28
pop rdi
pop rbx
jmp 0x140024ec0
test edx, edx
jne 0x140022817
or eax, 2
mov dword [rdi + 0x74], eax
jmp 0x140022817
xor eax, eax
add rsp, 0x28
pop rdi
pop rbx
ret
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400bed40]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rcx + 0xc0]
mov rdi, rcx
mov r9, qword [rcx + 8]
xor r11d, r11d
mov ecx, dword [rax + 0x10]
add rcx, qword [r9 + 0x40]
cmp dword [rax + 0x40], r11d
je 0x14003a0de
mov edx, dword [rax + 0x40]
add rdx, qword [r9 + 0x40]
test rdx, rdx
je 0x14003a0e6
test byte [rdi + 0x74], 3
je 0x14003a0e6
movzx eax, byte [rdx + 0x4c]
shl ax, 8
movsx esi, ax
movzx eax, byte [rdx + 0x4d]
or esi, eax
movzx eax, byte [rdx + 0x4a]
shl ax, 8
movsx r14d, ax
movzx eax, byte [rdx + 0x4b]
or r14d, eax
neg r14d
cmp r14d, esi
jge 0x14003a1b0
movzx eax, byte [rcx + 0x24]
shl ax, 8
movsx ebx, ax
movzx eax, byte [rcx + 0x25]
or ebx, eax
movzx eax, byte [rcx + 0x28]
shl ax, 8
movsx r15d, ax
movzx eax, byte [rcx + 0x29]
or r15d, eax
test dword [rdi + 0x28], 0x4000
jne 0x14002559f
cmp ebx, r15d
jge 0x14003a1b0
mov rcx, r9
call fcn.1400259e8
mov ecx, 2
test rax, rax
jne 0x14002556b
mov eax, dword [rdi + 0x74]
mov r13d, 8
and al, 9
mov qword [rdi + 0x7c], r11
mov dword [rdi + 0x194], r11d
mov qword [rdi + 0x88], r11
lea r12d, [r13 - 7]
cmp al, r12b
jne 0x1400252c3
mov r9d, dword [rdi + 0x60]
mov edx, r14d
mov eax, dword [rdi + 0x50]
mov ecx, r9d
mov dword [rbp - 0x29], eax
mov dword [rbp - 0x25], r9d
call fcn.140025884
mov ecx, r9d
mov edx, esi
mov r14d, eax
call fcn.140025884
lea rsi, [rdi + 0xa4]
mov r12d, eax
test r9d, r9d
jle 0x14003a118
mov rcx, rdi
call fcn.140025ab0
test byte [rdi + 0x74], 4
jne 0x140025239
mov dword [rdi + 0xa0], r14d
mov dword [rsi], r12d
mov r12d, dword [rsi]
neg r14d
mov r9d, dword [rbp - 0x25]
xor r11d, r11d
mov dword [rdi + 0x90], r14d
mov dword [rdi + 0x94], r12d
mov eax, dword [rdi + 0x7c]
test eax, eax
je 0x14002524c
mov ecx, dword [rdi + 0x30]
shl eax, 0x10
cdqe
lea rdx, [rax + rax*8]
shl rdx, 3
call fcn.140013d80
mov r12d, dword [rsi]
sub r12d, dword [rdi + 0xa0]
mov dword [rdi + 0x80], eax
mov eax, dword [rdi + 0x60]
cmp dword [rdi + 0x50], eax
jne 0x140025092
test eax, eax
jle 0x140025092
or dword [rdi + 0x74], 0x10
mov rcx, rdi
call fcn.140025dc4
xor r11d, r11d
mov r9d, dword [rbp - 0x29]
mov edx, r9d
shl ebx, 4
mov ecx, ebx
call fcn.140025884
shl r15d, 4
mov r13d, eax
mov ecx, r15d
call fcn.140025884
test r9d, r9d
mov dword [rdi + 0xdc], r11d
mov ecx, eax
mov dword [rdi + 0x100], r11d
cmovns ecx, r13d
mov dword [rdi + 0xc8], r11d
sar ecx, 4
mov esi, 1
sub ecx, 2
test r9d, r9d
mov dword [rdi + 0x98], ecx
cmovns r13d, eax
mov eax, esi
add r13d, 0xf
sar r13d, 4
add r13d, esi
mov dword [rdi + 0x9c], r13d
sub r13d, ecx
or ecx, 0xffffffff
test r9d, r9d
cmovle eax, ecx
cmp dword [rbp - 0x25], r11d
cmovle ecx, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xd8], xmm0
movd xmm0, ecx
mov ecx, dword [rdi + 0x90]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x104], xmm0
test ecx, ecx
jle 0x140025279
cmp dword [rdi + 0x94], r11d
jle 0x140025279
mov eax, r11d
mov dword [rdi + 0xcc], eax
test dword [rdi + 0x28], 0x2000
jne 0x140025292
movzx edx, r11w
mov word [rdi + 0x190], dx
test r13d, r13d
je 0x14003a1b0
test r12d, r12d
je 0x14003a1b0
test dword [rdi + 0x28], 0x2000
jne 0x1400252b5
add r13d, 7
mov ecx, 8
and r13d, 0xfffffff8
mov dword [rdi + 0xa8], r13d
lea eax, [r13 + 0x1f]
and eax, 0xffffffe0
cdq
idiv ecx
mov ecx, eax
mov eax, r12d
imul rcx, rax
mov eax, 0xffffffff
cmp rcx, rax
ja 0x14003a1b0
test dword [rdi + 0x28], 0x10000000
mov rcx, rdi
je 0x140025245
call fcn.140022080
xor eax, eax
mov r8, rdi
mov edx, r12d
mov dword [rdi + 0x78], eax
mov ecx, r13d
call fcn.1400043e8
mov r8d, dword [rdi + 0x74]
mov ecx, r8d
and ecx, 0x11
mov dword [rdi + 0xac], eax
cmp cl, 0x11
mov rcx, qword [rdi + 8]
sete dl
test byte [rcx + 0x184], 0x40
setne cl
test cl, dl
jne 0x14002526f
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140031970
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r14d, dword [rdi + 0xa0]
jmp 0x14002502c
call fcn.1400267f8
jmp 0x1400251ce
mov rax, qword [rdi + 8]
mov ecx, r9d
movsx edx, word [rax + 0x1f0]
call fcn.140025884
mov dword [rdi + 0x7c], eax
test eax, eax
jns 0x140025052
jmp 0x14003a12a
or r8d, 0x40
mov dword [rdi + 0x74], r8d
jmp 0x140025209
mov eax, dword [rdi + 0x94]
cmp dword [rdi + 0x60], r11d
jle 0x14003a134
sub eax, ecx
sar eax, 1
jmp 0x14002514b
mov eax, dword [rdi + 0x7c]
lea ecx, [rax*2 - 1]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add dx, si
jmp 0x140025162
movzx eax, dx
add r13d, eax
add r12d, eax
jmp 0x140025188
movzx eax, word [r9 + 0x18c]
lea r8, [rbp - 0x11]
shr eax, 6
lea rdx, [rbp + 0xf]
add esi, eax
mov dword [rbp - 0x11], ebx
sub r14d, eax
mov dword [rbp + 3], esi
lea rcx, [rdi + 0x38]
mov dword [rbp - 0xd], r14d
mov dword [rbp - 5], r14d
mov dword [rbp + 0xb], esi
mov dword [rbp - 9], r15d
mov dword [rbp - 1], ebx
mov dword [rbp + 7], r15d
call fcn.14001e8d4
test eax, eax
je 0x14003a1b0
mov r15d, dword [rbp + 0xf]
lea r8, [rbp + 0x1b]
mov edx, dword [rbp + 0x13]
mov r9d, r15d
mov r10d, edx
mov r11d, 3
mov ecx, dword [r8 - 4]
cmp ecx, r15d
mov eax, ecx
cmovge eax, r15d
cmp ecx, r9d
mov r15d, eax
cmovle ecx, r9d
mov r9d, ecx
mov ecx, dword [r8]
cmp ecx, edx
mov eax, ecx
cmovge eax, edx
cmp ecx, r10d
mov edx, eax
cmovle ecx, r10d
add r8, r13
mov r10d, ecx
sub r11, r12
jne 0x14002531f
movdqa xmm0, xmmword [0x1400a32b0]
lea eax, [rcx + 0xf]
sar edx, 4
lea ecx, [r9 + 0xf]
sar ecx, 4
lea r9, [rdi + 0xd8]
mov r13d, ecx
mov dword [rbp - 0x21], ecx
mov ecx, dword [rdi + 0x28]
lea r8, [rdi + 0xd0]
sar eax, 4
and ecx, 0x2000
mov r12d, eax
mov dword [rbp - 0x1d], edx
sub r12d, edx
sar r15d, 4
mov dword [rbp - 0x19], eax
lea rdx, [rdi + 0xe0]
mov qword [rsp + 0x28], rdx
lea rax, [rdi + 0xe8]
sub r13d, r15d
lea rdx, [rdi + 0x38]
neg ecx
movdqu xmmword [rbp - 0x11], xmm0
sbb rcx, rcx
and rcx, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x11]
call fcn.14001e728
mov ecx, dword [rdi + 0x28]
lea r8, [rdi + 0x110]
and ecx, 0x2000
lea rdx, [rdi + 0x108]
neg ecx
mov qword [rsp + 0x28], rdx
lea r9, [rdi + 0x100]
mov ebx, eax
sbb rcx, rcx
lea rdx, [rdi + 0x38]
and rcx, r8
lea r8, [rdi + 0xf8]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 9]
call fcn.14001e728
test ebx, eax
je 0x14003a1b0
and dword [rbp - 0x25], 0
lea rbx, [rdi + 0x108]
movd xmm0, r14d
lea rdx, [rbp - 0x25]
cvtdq2ps xmm0, xmm0
xor r8d, r8d
mulss xmm0, dword [rbx]
call fcn.140027c10
and dword [rbp - 0x29], r8d
lea rdx, [rbp - 0x29]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rbx]
call fcn.140027c10
movss xmm3, dword [rdi + 0x100]
lea edx, [r8 + 0xf]
sub edx, dword [rbp - 0x25]
movaps xmm0, xmm3
movss xmm2, dword [rdi + 0x104]
xor ebx, ebx
mov ecx, dword [rbp - 0x29]
sar edx, 4
add ecx, 0xf
sar ecx, 4
mov eax, edx
shl eax, 4
mov dword [rdi + 0x90], edx
mov dword [rdi + 0x94], ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mov dword [rdi + 0x120], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rdi + 0x124], eax
mov eax, ecx
shl eax, 4
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
cvttss2si eax, xmm3
mov dword [rdi + 0x128], eax
cvttss2si eax, xmm2
mov dword [rdi + 0x12c], eax
test r14d, r14d
jns 0x14003a13d
test esi, esi
jle 0x14003a13d
lea eax, [rcx + rdx]
cmp eax, 3
jl 0x14003a13d
mov dword [rdi + 0xc8], ebx
lea esi, [rbx + 1]
mov eax, ebx
mov dword [rdi + 0xcc], eax
mov rcx, rdi
mov eax, dword [rbp - 0x21]
mov dword [rdi + 0x9c], eax
mov eax, dword [rbp - 0x1d]
mov dword [rdi + 0xa0], eax
mov eax, dword [rbp - 0x19]
mov dword [rdi + 0xa4], eax
mov dword [rdi + 0x98], r15d
call fcn.14001d494
movsxd rdx, dword [rdi + 0x30]
mov ecx, 0x48
mov dword [rdi + 0x80], eax
cdqe
imul rdx, rax
call fcn.140013d80
add eax, 0x8000
sar eax, 0x10
movzx eax, ax
xor r11d, r11d
mov dword [rdi + 0x7c], eax
jmp 0x140025151
mov eax, r15d
sub eax, ebx
cdq
idiv ecx
mov r8d, eax
mov eax, 0x7fffffff
mov ecx, eax
sub ecx, r8d
cmp ecx, r15d
jl 0x1400255bd
add r15d, r8d
lea eax, [r8 - 0x80000000]
cmp eax, ebx
jg 0x14003a10e
sub ebx, r8d
jmp 0x140024fad
mov edx, 0x5700
mov ecx, esi
call fcn.140025884
mov ecx, r14d
sub ebx, eax
call fcn.140025884
sub r15d, eax
jmp 0x140024f8e
mov r15d, eax
jmp 0x140025588
mov rdx, r11
jmp 0x140024f1a
movzx eax, byte [rcx + 0x26]
shl ax, 8
movsx esi, ax
movzx eax, byte [rcx + 0x27]
or esi, eax
movzx eax, byte [rcx + 0x2a]
neg esi
shl ax, 8
movsx r14d, ax
movzx eax, byte [rcx + 0x2b]
jmp 0x140024f4e
mov ebx, 0x80000000
jmp 0x140024fad
mov dword [rdi + 0xa0], r12d
neg r12d
mov dword [rsi], r14d
jmp 0x140025039
neg eax
mov dword [rdi + 0x7c], eax
jmp 0x140025052
sub ecx, eax
mov eax, ecx
jmp 0x14002528b
mov eax, 1
mov dword [rbp - 0x29], ebx
sub eax, esi
lea rdx, [rbp - 0x29]
sub eax, r14d
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [rdi + 0xf8]
call fcn.140027c10
mov r8d, dword [rbp - 0x29]
lea rdx, [rbp - 0x29]
mulss xmm1, dword [rdi + 0xfc]
mov esi, 1
sar r8d, 3
add r8d, esi
mov dword [rbp - 0x29], ebx
sar r8d, 1
mov dword [rdi + 0xc8], r8d
movaps xmm0, xmm1
xor r8d, r8d
call fcn.140027c10
mov eax, dword [rbp - 0x29]
mov dword [rdi + 0xcc], eax
sar eax, 3
add eax, esi
sar eax, 1
jmp 0x14002550b
xor eax, eax
jmp 0x14002520b