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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov dword [r11 + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r10d, dword [rsp + 0xd8]
xor r15d, r15d
mov rsi, qword [rsp + 0xe8]
mov rbx, rcx
mov r12, rdx
mov qword [r11 + 8], r15
xorps xmm0, xmm0
mov edx, 0x300
lea eax, [r10 - 0x3000]
mov ebp, 0x60
mov r13, qword [rsi + 0x2f0]
test eax, 0xffffefff
mov eax, 0x201
mov r14, r9
sete cl
test cl, cl
mov byte [rsp + 0xd8], cl
cmovne ebp, eax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov r8, qword [rax]
mov qword [r11 - 0x80], r15
mov rcx, r8
movdqa xmmword [rsp + 0x30], xmm0
mov qword [r11 - 0x60], r15
mov dword [r11 - 0x58], r15d
mov qword [r11 - 0x48], r15
mov dword [r11 - 0x54], r10d
mov qword [r11 - 0x50], rbx
mov qword [rsp + 0x20], rax
mov eax, 0x1008
cmovne edx, eax
call qword [r8 + 8]
test rax, rax
mov qword [rsp + 0x40], rax
mov edi, 0x40
cmovne edi, r15d
jne 0x1801593db
mov qword [rsp + 0x40], r15
jmp 0x180159694
xor edx, edx
mov dword [rsp + 0x50], ebp
mov r8d, 0xbc
mov qword [rsp + 0x48], rax
mov rcx, rbx
call fcn.1802184a0
cmp byte [rsp + 0xd8], r15b
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [r12 + 0x10], r15d
je 0x1801594ca
mov edx, dword [rsp + 0xc0]
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0xb0]
mov rcx, r12
call fcn.180156f60
mov rbp, qword [rsp + 0xb0]
mov edi, eax
test eax, eax
jne 0x180159526
mov eax, dword [rsp + 0xe8]
jmp 0x180159509
mov edx, dword [r12 + 0x18]
mov rcx, r14
call fcn.18013eba0
mov edi, eax
test eax, eax
jne 0x180159694
mov edx, dword [r12 + 0x1c]
mov rcx, r14
call fcn.18013edb0
mov edi, eax
test eax, eax
jne 0x180159694
mov rbp, qword [r14 + 0x38]
mov qword [r14 + 0x38], r15
mov qword [r14 + 0x40], r15
mov eax, dword [r12 + 0x1c]
test rbp, rbp
je 0x180159514
mov r15d, eax
add r15, rbp
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.1801563d0
mov edi, eax
cmp dword [r12 + 0x10], 0
je 0x18015955b
cmp qword [r12 + 0x28], 0
jne 0x180159579
mov rax, qword [r12]
test rax, rax
je 0x180159579
cmp qword [rax + 0x20], 0
je 0x180159579
mov r8, qword [rax + 0x30]
test rbp, rbp
je 0x180159579
mov rdx, rbp
mov rcx, r8
call qword [r8 + 0x10]
jmp 0x180159579
test r14, r14
je 0x180159579
cmp qword [r14 + 0x20], 0
je 0x180159579
mov rax, qword [r14 + 0x30]
test rbp, rbp
je 0x180159579
mov rdx, rbp
mov rcx, rax
call qword [rax + 0x10]
test edi, edi
jne 0x180159694
cmp dword [rbx + 0x84], 0xffff
jne 0x180159694
mov rcx, qword [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.180159110
mov edi, eax
test eax, eax
jne 0x180159694
movzx ebp, byte [rsp + 0xd8]
test bpl, bpl
jne 0x180159639
mov rax, qword [rsi + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x1801595f3
mov rsi, qword [rsi + 0x90]
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x180159624
mov ecx, eax
call qword [r13 + 0x28]
mov dword [rsi + 0x60], eax
test eax, eax
js 0x1801595e4
jmp 0x180159624
mov dword [rbx + 0x2c8], ecx
mov rax, qword [rsi + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x180159624
mov ecx, dword [rax + 0x5c]
call qword [r13 + 0x28]
mov rcx, qword [rsi + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [rsi + 0xd0]
cmp dword [rax + 0x5c], 0
jl 0x180159606
cmp dword [rbx + 0x2c8], 0
jne 0x180159639
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x180159694
mov edx, dword [rbx + 0x74]
mov rcx, r14
add edx, eax
add edx, dword [rsp + 0xd0]
call fcn.18013eba0
mov edi, eax
test eax, eax
jne 0x180159694
movzx r9d, bpl
lea rcx, [rbx + 0x290]
mov r8b, 1
mov rdx, r14
call fcn.1801568c0
mov edi, eax
test eax, eax
jne 0x180159694
lea rdx, [rbx + 0x2c0]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbx + 0x290]
call fcn.180156cf0
mov edi, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rax]
test rdx, rdx
je 0x1801596ad
mov rcx, r8
call qword [r8 + 0x10]
mov rbx, qword [rsp + 0xb8]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret