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

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1403e5188]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r14d, r14d
mov qword [rsp + 0x58], r12
test byte [rcx + 8], 1
mov r15, rcx
mov qword [rsp + 0x50], r13
mov ebp, r14d
mov dword [rsp + 0x20], r14d
je 0x1401341b7
mov rcx, qword [rcx + 8]
and rcx, 0xfffffffffffffffe
call fcn.1400996b0
mov rbp, rax
mov r13d, dword [r15 + 0x20]
mov r12d, r14d
mov qword [rsp + 0x88], rbx
add rbp, r13
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rdi
test r13d, r13d
je 0x140134302
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r15 + 0x28]
mov rbx, r14
movsxd rcx, r12d
mov rsi, qword [rax + rcx*8 + 8]
test byte [rsi + 8], 1
je 0x140134215
mov rcx, qword [rsi + 8]
and rcx, 0xfffffffffffffffe
call fcn.1400996b0
mov rbx, rax
mov edi, dword [rsi + 0x10]
test dil, 0x3f
je 0x1401342d7
test dil, 1
je 0x14013424f
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rbx, rcx
test dil, 2
je 0x14013427c
mov rax, qword [rsi + 0x20]
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x28], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rbx, rcx
test dil, 4
je 0x1401342a9
mov rax, qword [rsi + 0x28]
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x2c], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rbx, rcx
test dil, 8
je 0x1401342be
mov rcx, qword [rsi + 0x30]
call fcn.14012b4e0
inc rbx
add rbx, rax
mov rax, rbx
test dil, 0x10
lea rbx, [rbx + 2]
cmove rbx, rax
test dil, 0x20
je 0x1401342d7
add rbx, 2
mov eax, ebx
mov dword [rsi + 0x14], ebx
or eax, 1
inc r12d
bsr ecx, eax
mov dword [rsp + 0x30], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rbx
add rbp, rcx
cmp r12d, r13d
jb 0x1401341f0
mov r8d, dword [r15 + 0x10]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
test r8b, 3
je 0x1401343e7
test r8b, 1
je 0x140134347
mov rax, qword [r15 + 0x30]
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x34], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rbp, rcx
test r8b, 2
je 0x1401343e7
mov rdi, qword [r15 + 0x38]
lea rcx, [rdi + 8]
call fcn.1400b48e0
test byte [rdi + 0x20], 1
mov rbx, rax
je 0x140134377
mov rcx, qword [rdi + 0x20]
and rcx, 0xfffffffffffffffe
call fcn.1400996b0
add rbx, rax
mov esi, dword [rdi + 0x38]
lea ecx, [rsi + rsi]
add rbx, rcx
test esi, esi
je 0x1401343b9
mov rax, qword [rdi + 0x40]
movsxd rcx, r14d
mov rcx, qword [rax + rcx*8 + 8]
call fcn.140134710
mov ecx, eax
inc r14d
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x38], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rax
add rbx, rdx
cmp r14d, esi
jb 0x140134384
test byte [rdi + 0x28], 1
lea rdx, [rbx + 3]
cmove rdx, rbx
mov eax, edx
mov dword [rdi + 0x2c], edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x3c], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rbp, rcx
mov rdi, qword [rsp + 0x98]
mov rax, rbp
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov dword [r15 + 0x14], ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14026fc70
add rsp, 0x60
pop r15
pop r14
pop rbp
ret