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

Disassembly:
push rbp
push rsi
sub rsp, 0x68
mov esi, dword [rcx + 0x20]
mov rbp, rcx
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r14
test rcx, rcx
je 0x140195251
add rcx, 8
mov rdx, rcx
mov rbx, rcx
jmp 0x140195255
xor edx, edx
xor ebx, ebx
movsxd rax, esi
mov r14d, 0xa
lea rdi, [rcx + rax*8]
cmp rdx, rdi
je 0x140195326
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov r9d, dword [r8 + 0x10]
test r9b, 3
je 0x1401952e0
test r9b, 1
je 0x1401952b0
mov rax, qword [r8 + 0x18]
and rax, 0xfffffffffffffffe
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x80], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rdx, rcx
test r9b, 2
je 0x1401952e0
mov eax, dword [r8 + 0x20]
test eax, eax
jns 0x1401952c3
mov rax, r14
jmp 0x1401952da
or eax, 1
bsr eax, eax
mov dword [rsp + 0x88], eax
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
inc rdx
add rdx, rax
lea rcx, [r8 + 8]
add r8, 0x14
test byte [rcx], 1
je 0x1401952f7
call fcn.140230440
mov rdx, rax
jmp 0x1401952fa
mov dword [r8], edx
mov eax, edx
add rbx, 8
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x90], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rsi, rcx
cmp rbx, rdi
jne 0x140195270
mov r8d, dword [rbp + 0x10]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
test r8b, r8b
je 0x1401954a6
test r8b, 1
je 0x140195371
mov rax, qword [rbp + 0x30]
and rax, 0xfffffffffffffffe
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x98], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rsi, rcx
test r8b, 2
je 0x1401953a2
mov rax, qword [rbp + 0x38]
and rax, 0xfffffffffffffffe
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x20], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rsi, rcx
test r8b, 4
je 0x1401953d3
mov rax, qword [rbp + 0x40]
and rax, 0xfffffffffffffffe
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 rsi, rcx
test r8b, 8
je 0x140195404
mov rax, qword [rbp + 0x48]
and rax, 0xfffffffffffffffe
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 rsi, rcx
test r8b, 0x10
je 0x140195435
mov rax, qword [rbp + 0x50]
and rax, 0xfffffffffffffffe
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 rsi, rcx
test r8b, 0x20
je 0x140195458
mov eax, dword [rbp + 0x58]
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x30], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rsi, rcx
test r8b, 0x40
je 0x14019547b
mov eax, dword [rbp + 0x5c]
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 rsi, rcx
test r8b, r8b
jns 0x1401954a6
mov eax, dword [rbp + 0x60]
test eax, eax
jns 0x14019548c
mov rax, r14
jmp 0x1401954a0
or eax, 1
bsr eax, eax
mov dword [rsp + 0x38], eax
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
inc rsi
add rsi, rax
test r8d, 0x300
je 0x140195500
bt r8d, 8
jae 0x1401954dc
mov eax, dword [rbp + 0x64]
test eax, eax
js 0x1401954d6
or eax, 1
bsr eax, eax
mov dword [rsp + 0x3c], eax
lea r14d, [rax*8 + 0x49]
add r14d, eax
shr r14, 6
inc rsi
add rsi, r14
bt r8d, 9
jae 0x140195500
mov eax, dword [rbp + 0x68]
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x40], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rsi, rcx
test byte [rbp + 8], 1
lea rcx, [rbp + 8]
mov r14, qword [rsp + 0x50]
je 0x140195521
lea r8, [rbp + 0x14]
mov rdx, rsi
add rsp, 0x68
pop rsi
pop rbp
jmp fcn.140230440
mov dword [rbp + 0x14], esi
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret