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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1401ef0c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r11d, dword [rbx + 0x14]
mov eax, r11d
mov r14d, dword [rbx + 4]
cmp r11d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x140151038
cmp r11d, r14d
mov eax, r14d
cmovg eax, r11d
cmp r9d, eax
jg 0x140151038
cmp r11d, r14d
jne 0x140150f00
sub rbx, 0x10
jmp 0x140151080
mov r8d, dword [rsi + 0x88]
xor edx, edx
cmp r11d, r14d
setge dl
inc edx
cmp r8d, edx
je 0x140150fae
mov eax, dword [rsi + 4]
mov ecx, eax
mov r9d, dword [rsi + 8]
neg ecx
cmp r11d, r14d
jge 0x140150f36
dec eax
add eax, r11d
and eax, ecx
sub eax, r11d
jmp 0x140150f3e
and ecx, r11d
mov eax, r11d
sub eax, ecx
cmp eax, r9d
setge r9b
test r8d, r8d
je 0x140150f9a
mov rcx, qword [rsi + 0x70]
mov rax, qword [rsi + 0x30]
sub rax, qword [rcx + 0x10]
sar rax, 2
test eax, eax
js 0x140151091
jle 0x140150f96
mov dword [rcx + 0x1c], eax
test r9b, r9b
je 0x140150f86
mov rcx, qword [rsi + 0x70]
movzx eax, word [rcx + 0x18]
test al, 8
je 0x140150f7e
or ax, 0x10
jmp 0x140150f82
or ax, 0x20
mov word [rcx + 0x18], ax
mov rcx, qword [rsi + 0x70]
mov rax, qword [rsi + 0x30]
mov qword [rcx + 0x28], rax
inc word [rsi + 0x68]
mov byte [rsi + 0x6b], 0
movzx r8d, r9b
mov rcx, rsi
call fcn.1401526f0
test al, al
jne 0x140151098
mov edx, dword [rsi + 0x64]
lea r9, [0x140152a10]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r11d, r14d
jge 0x140150fda
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140150ce0
jmp 0x14015102e
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.140150ce0
test dil, dil
je 0x140151026
cmp byte [rsi + 0x6a], 0
jne 0x140151026
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x140151098
sub rbx, 0x10
jmp 0x140151080
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r11d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r11 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x14015109c
mov ebp, dword [rbx]
jmp 0x140150ec0
mov dword [rsi + 0x38], 0x63
mov al, 1
jmp 0x1401510a5
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14015d760
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret