Function at 0x18013b520
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 [0x180280f80]
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 r11d, dword [rbx + 0x1c]
mov ecx, r11d
mov r14d, dword [rbx + 4]
cmp r11d, r14d
mov r15d, dword [rbx + 0x14]
mov eax, r15d
mov edi, dword [rbx + 0xc]
cmovg ecx, r14d
cmp r15d, edi
cmovg eax, edi
cmp eax, ecx
jl 0x18013b6fd
cmp r11d, r14d
mov ecx, r14d
mov eax, edi
cmovg ecx, r11d
cmp r15d, edi
cmovg eax, r15d
cmp eax, ecx
jg 0x18013b6fd
cmp r11d, r14d
jne 0x18013b5e5
sub rbx, 0x18
jmp 0x18013b787
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r11d, r14d
setg r9b
inc r9d
cmp edx, r9d
je 0x18013b657
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r11d, r14d
jg 0x18013b619
dec eax
add eax, r11d
and eax, ecx
sub eax, r11d
jmp 0x18013b621
and ecx, r11d
mov eax, r11d
sub eax, ecx
cmp eax, r8d
setge r10b
test edx, edx
je 0x18013b640
movzx edx, r10b
mov rcx, rsi
call fcn.18013c1b0
test al, al
jne 0x18013b798
movzx r8d, r10b
mov edx, r9d
mov rcx, rsi
call fcn.18013c8e0
test al, al
jne 0x18013b798
mov edx, dword [rsi + 0x64]
lea r9, [0x18013cc90]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r11d, r14d
jg 0x18013b690
mov dword [rsp + 0x28], edx
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.18013af60
jmp 0x18013b6ec
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.18013af60
test dil, dil
je 0x18013b6e4
cmp byte [rsi + 0x6a], 0
jne 0x18013b6e4
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 0x18013b798
sub rbx, 0x18
jmp 0x18013b787
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 0x18013b79c
mov ebp, dword [rbx]
jmp 0x18013b592
mov al, 1
jmp 0x18013b7a5
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1800d8800
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