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

Disassembly:
mov r11, rsp
push rbx
push rbp
sub rsp, 0x68
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 + 0x10], rsi
xor ebx, ebx
test byte [rcx + 8], 1
mov rbp, rcx
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov dword [rsp + 0x20], 0
je 0x14031619b
mov rcx, qword [rcx + 8]
and rcx, 0xfffffffffffffffe
call fcn.14006d940
mov rbx, rax
mov esi, dword [rbp + 0x18]
xor edi, edi
add rbx, rsi
test esi, esi
je 0x1403161e3
nop word [rax + rax]
mov rax, qword [rbp + 0x20]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8 + 8]
call fcn.140315df0
mov ecx, eax
inc edi
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x24], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rax
add rbx, rdx
cmp edi, esi
jb 0x1403161b0
lea rcx, [rbp + 0x28]
call fcn.140074e10
mov eax, eax
lea rcx, [rbp + 0x28]
add rbx, rax
call fcn.140074e10
xor edi, edi
mov r14d, eax
test eax, eax
jle 0x140316239
mov edx, edi
lea rcx, [rbp + 0x28]
call fcn.140074050
inc edi
mov r8, qword [rax + 0x10]
mov ecx, r8d
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x28], edx
lea ecx, [rdx*8 + 0x49]
add ecx, edx
shr rcx, 6
add rcx, r8
add rbx, rcx
cmp edi, r14d
jl 0x140316203
mov r15d, dword [rbp + 0x48]
xor r14d, r14d
add rbx, r15
test r15d, r15d
je 0x140316316
mov qword [rsp + 0x60], r12
lea r12, [0x1406300d0]
nop dword [rax + rax]
mov rax, qword [rbp + 0x50]
xor esi, esi
movsxd rcx, r14d
mov rdi, qword [rax + rcx*8 + 8]
test byte [rdi + 8], 1
je 0x140316284
mov rcx, qword [rdi + 8]
and rcx, 0xfffffffffffffffe
call fcn.14006d940
mov rsi, rax
mov rcx, qword [rdi + 0x10]
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x1403162b4
mov ecx, r8d
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x2c], edx
lea ecx, [rdx*8 + 0x49]
add ecx, edx
shr rcx, 6
inc rcx
add rcx, r8
add rsi, rcx
cmp rdi, r12
je 0x1403162e6
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1403162e6
call fcn.140046290
mov ecx, eax
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x30], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
inc rdx
add rdx, rax
add rsi, rdx
mov eax, esi
mov dword [rdi + 0x20], esi
or eax, 1
inc r14d
bsr ecx, eax
mov dword [rsp + 0x34], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rsi
add rbx, rcx
cmp r14d, r15d
jb 0x140316260
mov r12, qword [rsp + 0x60]
mov rax, qword [rbp + 0x58]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x90]
mov rdx, qword [rax + 0x10]
mov rsi, qword [rsp + 0x88]
test rdx, rdx
je 0x14031635c
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x38], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rbx, rcx
lea rax, [0x140630110]
cmp rbp, rax
je 0x140316395
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140316395
call fcn.140332340
mov ecx, eax
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x3c], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
inc rdx
add rdx, rax
add rbx, rdx
mov eax, dword [rbp + 0x68]
test eax, eax
je 0x1403163bf
jns 0x1403163a5
mov eax, 0xa
jmp 0x1403163b9
or eax, 1
bsr eax, eax
mov dword [rsp + 0x40], eax
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
inc rbx
add rbx, rax
mov dword [rbp + 0x6c], ebx
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140284180
add rsp, 0x68
pop rbp
pop rbx
ret