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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x350
mov rax, qword [0x1401ef0c0]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov ebp, dword [rsp + 0x398]
mov rsi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], ebp
mov r15d, dword [rbx + 0x14]
mov ecx, r15d
mov edi, dword [rbx + 0xc]
cmp r15d, edi
mov r11d, dword [rbx + 0x1c]
mov eax, r11d
mov r14d, dword [rbx + 4]
cmovg ecx, edi
cmp r11d, r14d
cmovg eax, r14d
cmp ecx, eax
jl 0x14015154d
cmp r11d, r14d
mov ecx, r14d
mov eax, edi
cmovg ecx, r11d
cmp r15d, edi
cmovg eax, r15d
cmp eax, ecx
jg 0x14015154d
cmp r11d, r14d
jne 0x140151405
sub rbx, 0x18
jmp 0x1401515d7
mov r9d, dword [rsi + 0x88]
xor edx, edx
cmp r11d, r14d
setg dl
inc edx
cmp r9d, edx
je 0x1401514af
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r11d, r14d
jg 0x14015143b
dec eax
add eax, r11d
and eax, ecx
sub eax, r11d
jmp 0x140151443
and ecx, r11d
mov eax, r11d
sub eax, ecx
cmp eax, r8d
setge r8b
test r9d, r9d
je 0x14015149f
mov rcx, qword [rsi + 0x70]
mov rax, qword [rsi + 0x30]
sub rax, qword [rcx + 0x10]
sar rax, 2
test eax, eax
js 0x1401515e8
jle 0x14015149b
mov dword [rcx + 0x1c], eax
test r8b, r8b
je 0x14015148b
mov rcx, qword [rsi + 0x70]
movzx eax, word [rcx + 0x18]
test al, 8
je 0x140151483
or ax, 0x10
jmp 0x140151487
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
mov rcx, rsi
call fcn.1401526f0
test al, al
jne 0x1401515ef
mov edx, dword [rsi + 0x64]
lea r9, [0x140152a70]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r11d, r14d
jg 0x1401514e0
mov dword [rsp + 0x28], edx
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140150ce0
jmp 0x14015153c
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 dword [rbx + 0x14], eax
mov edx, 3
mov eax, dword [rbx + 0x1c]
neg eax
mov dword [rbx + 0x1c], eax
call fcn.140150ce0
test dil, dil
je 0x140151534
cmp byte [rsi + 0x6a], 0
jne 0x140151534
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 0x1401515ef
sub rbx, 0x18
jmp 0x1401515d7
mov ecx, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov edx, dword [rbx + 0x18]
mov dword [rbx + 0x30], edx
lea r9d, [rcx + rbp]
mov dword [rbx + 0x34], r11d
lea r8d, [rax + rcx]
lea ecx, [rax + rdx]
mov eax, ecx
lea edx, [r15 + r11]
sar eax, 1
add ecx, r8d
mov dword [rbx + 0x28], eax
mov eax, ecx
sar eax, 2
mov dword [rbx + 0x20], eax
mov eax, r9d
sar eax, 1
add r9d, r8d
mov dword [rbx + 8], eax
lea r8d, [r14 + rdi]
mov eax, r9d
sar eax, 2
mov dword [rbx + 0x10], eax
lea eax, [rcx + r9]
sar eax, 3
lea ecx, [rdi + r15]
mov dword [rbx + 0x18], eax
mov eax, edx
sar eax, 1
add edx, ecx
mov dword [rbx + 0x2c], eax
mov eax, edx
sar eax, 2
mov dword [rbx + 0x24], eax
mov eax, r8d
sar eax, 1
add r8d, ecx
mov dword [rbx + 0xc], eax
mov eax, r8d
sar eax, 2
mov dword [rbx + 0x14], eax
lea eax, [rdx + r8]
sar eax, 3
mov dword [rbx + 0x1c], eax
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1401515f3
mov ebp, dword [rbx]
jmp 0x1401513b2
mov dword [rsi + 0x38], 0x63
mov al, 1
jmp 0x1401515fc
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14015d760
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret