Function at 0x180115dd0
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 [0x18029d790]
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 0x180115fa0
cmp r11d, r14d
mov ecx, r14d
mov eax, edi
cmovg ecx, r11d
cmp r15d, edi
cmovg eax, r15d
cmp eax, ecx
jg 0x180115fa0
cmp r11d, r14d
jne 0x180115e95
sub rbx, 0x18
jmp 0x18011602a
mov edx, dword [rsi + 0x88]
xor r10d, r10d
cmp r11d, r14d
setg r10b
inc r10d
cmp edx, r10d
je 0x180115f07
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r11d, r14d
jg 0x180115ec9
dec eax
add eax, r11d
and eax, ecx
sub eax, r11d
jmp 0x180115ed1
and ecx, r11d
mov eax, r11d
sub eax, ecx
cmp eax, r8d
setge dil
test edx, edx
je 0x180115ef0
movzx edx, dil
mov rcx, rsi
call fcn.180116a40
test al, al
jne 0x18011603b
movzx r8d, dil
mov edx, r10d
mov rcx, rsi
call fcn.180117190
test al, al
jne 0x18011603b
mov edx, dword [rsi + 0x64]
lea r9, [0x180117520]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r11d, r14d
jg 0x180115f33
mov dword [rsp + 0x28], edx
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1801157f0
jmp 0x180115f8f
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.1801157f0
test dil, dil
je 0x180115f87
cmp byte [rsi + 0x6a], 0
jne 0x180115f87
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 0x18011603b
sub rbx, 0x18
jmp 0x18011602a
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 0x18011603f
mov ebp, dword [rbx]
jmp 0x180115e42
mov al, 1
jmp 0x180116048
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1801a9b50
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