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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
push r15
mov eax, 0x18
call fcn.1402563a0
sub rsp, rax
mov r10d, dword [rsp + 0x78]
xor eax, eax
mov r15d, ecx
cmp r10d, 3
je 0x1400bec87
cmp r10d, 6
jne 0x1400bec8c
mov eax, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov r8, qword [rdi]
mov r9, qword [rsi]
test eax, eax
je 0x1400becae
mov r11, r9
mov r14, r8
jmp 0x1400becb4
mov r11, r8
mov r14, r9
cdqe
mov qword [rsp + 0x88], rax
test r14, r14
je 0x1400befa9
mov qword [rsp + 0x40], rbx
mov ebx, dword [rsp + 0x70]
mov qword [rsp + 0x10], rbp
mov ebp, dword [rsp + 0x80]
mov qword [rsp + 8], r12
mov r12d, dword [rsp + 0x68]
mov qword [rsp], r13
mov r13d, dword [rsp + 0x60]
nop
mov rdx, r11
test r11, r11
je 0x1400bef85
test rax, rax
je 0x1400bed07
mov r11, qword [r11 + 0x18]
jmp 0x1400bed0b
mov r11, qword [r11 + 0x10]
mov rcx, qword [rdx]
test ebp, ebp
js 0x1400bed20
cmp ebp, dword [rcx + 0x44]
jne 0x1400bef74
jmp 0x1400beda4
test r15d, r15d
je 0x1400bed2f
cmp r15d, dword [rcx + 0x18]
jne 0x1400bef74
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1400bed40
test dword [rcx + 0x1c], eax
je 0x1400bef74
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400bed51
test dword [rcx + 0x20], eax
je 0x1400bef74
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400bed62
test dword [rcx + 0x24], eax
je 0x1400bef74
test r13d, r13d
je 0x1400bed71
test dword [rcx + 0x28], r13d
je 0x1400bef74
test r12d, r12d
je 0x1400bed80
cmp r12d, dword [rcx + 0x2c]
jne 0x1400bef74
test bl, 0x1f
je 0x1400bed92
mov eax, dword [rcx + 0x3c]
and eax, ebx
test al, 0x1f
je 0x1400bef74
test bl, 0x20
je 0x1400beda4
mov eax, dword [rcx + 0x3c]
and eax, ebx
test al, 0x20
je 0x1400bef74
cmp r10d, 1
jne 0x1400bee03
cmp dword [rdx + 8], 0
jne 0x1400bef74
cmp rdx, r9
je 0x1400bedf7
cmp rdx, r8
jne 0x1400bedc2
mov r8, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400bedd3
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1400bede4
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov qword [r9 + 0x10], rdx
mov qword [rdx + 0x18], r9
mov r9, rdx
mov qword [rdx + 0x10], 0
mov dword [rdx + 8], 1
jmp 0x1400bef74
cmp r10d, 4
jne 0x1400bee5f
cmp dword [rdx + 8], 0
je 0x1400bef74
cmp rdx, r9
je 0x1400bef74
cmp rdx, r8
jne 0x1400bee25
mov r8, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400bee36
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1400bee47
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov qword [r9 + 0x10], rdx
mov qword [rdx + 0x18], r9
mov r9, rdx
mov qword [rdx + 0x10], 0
jmp 0x1400bef74
cmp r10d, 3
jne 0x1400beec2
cmp dword [rdx + 8], 0
je 0x1400bef74
cmp rdx, r8
je 0x1400beeb8
cmp rdx, r9
jne 0x1400bee7d
mov r9, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1400bee8e
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400bee9f
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov qword [r8 + 0x18], rdx
xor ecx, ecx
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], rcx
mov dword [rdx + 8], ecx
mov r8, rdx
jmp 0x1400bef74
xor ecx, ecx
mov dword [rdx + 8], ecx
jmp 0x1400bef74
cmp r10d, 6
jne 0x1400bef1b
cmp dword [rdx + 8], 0
je 0x1400bef74
cmp rdx, r8
je 0x1400bef74
cmp rdx, r9
jne 0x1400beee4
mov r9, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1400beef5
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400bef06
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov qword [r8 + 0x18], rdx
mov qword [rdx + 0x10], r8
mov r8, rdx
mov qword [rdx + 0x18], 0
jmp 0x1400bef74
cmp r10d, 2
jne 0x1400bef74
cmp r8, rdx
jne 0x1400bef2c
mov r8, qword [rdx + 0x10]
jmp 0x1400bef38
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
cmp r9, rdx
jne 0x1400bef41
mov r9, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x10]
mov dword [rdx + 8], 0
test rcx, rcx
je 0x1400bef59
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400bef6a
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
xor ecx, ecx
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rcx
mov rax, qword [rsp + 0x88]
cmp rdx, r14
jne 0x1400becf0
mov r12, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp]
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r15
pop r14
pop rdi
pop rsi
ret
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r15
pop r14
pop rdi
pop rsi
ret