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

Disassembly:
push rbx
push rsi
push r12
push r13
push r15
sub rsp, 0x40
mov rbx, rcx
movabs rax, 0xffffffff00000000
mov rcx, qword [rcx]
mov r8d, dword [rbx + 0x68]
movzx esi, word [rcx + 0x14]
dec r8
mov r12, qword [rcx + 0x30]
add rsi, rcx
and r12, rax
not r8
mov r11d, dword [rsi + 0x20]
mov eax, dword [rsi + 0x28]
or r11, r12
and r8, r11
test eax, eax
jne 0x14012c1aa
mov edx, dword [rsi + 0x3c]
test dl, 0x40
je 0x14012c1a3
mov eax, dword [rcx + 0x20]
jmp 0x14012c1aa
test dl, dl
jns 0x14012c1aa
mov eax, dword [rcx + 0x24]
mov r13d, 1
mov qword [rsp + 0x78], rbp
lea r9, [0x14015b3e8]
mov r10d, eax
mov r15d, r13d
mov eax, dword [rsi + 0x3c]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r14
mov dword [rsp + 0x38], eax
cmp r13w, word [rcx + 6]
jae 0x14012c324
add rsi, 0x64
nop dword [rax + rax]
mov r9d, dword [rbx + 0x68]
mov ebp, dword [rsi - 0x1c]
mov ecx, dword [rsi - 0x14]
or rbp, r12
lea rdi, [r9 - 1]
not rdi
and rdi, rbp
test ecx, ecx
jne 0x14012c224
mov edx, dword [rsi]
test dl, 0x40
je 0x14012c21a
mov rcx, qword [rbx]
mov ecx, dword [rcx + 0x20]
jmp 0x14012c224
test dl, dl
jns 0x14012c224
mov rcx, qword [rbx]
mov ecx, dword [rcx + 0x24]
mov r14d, ecx
cmp r8, rdi
je 0x14012c2e7
lea rcx, [r10 + r11]
cmp rcx, rdi
ja 0x14012c2e7
test r10, r10
je 0x14012c2da
bt eax, 0x19
jae 0x14012c28b
cmp r11, r8
jne 0x14012c2da
mov rax, qword [rbx]
cmp dword [rax + 0x38], r9d
je 0x14012c26b
xor edx, edx
mov rax, r10
div r9
test rdx, rdx
jne 0x14012c2da
mov r9, qword [rbx + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbx + Ordinal_50]
mov eax, dword [rsi]
mov r11, rbp
mov r8, rdi
mov r10, r14
jmp 0x14012c302
mov rdx, qword [rsp + 0x38]
mov rcx, rdx
shr rdx, 0x1e
shr rcx, 0x1d
and edx, r13d
and ecx, r13d
lea rdx, [rdx + rcx*2]
mov ecx, eax
shr rcx, 0x1f
lea rdx, [rcx + rdx*2]
lea rcx, [0x14015b3e8]
mov r8d, dword [rcx + rdx*4]
bt eax, 0x1a
jae 0x14012c2c5
bts r8d, 9
lea r9, [rsp + 0x70]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14012c349
mov eax, dword [rsi]
mov r11, rbp
mov r8, rdi
mov r10, r14
jmp 0x14012c302
mov edx, dword [rsi]
mov ecx, edx
and ecx, eax
or eax, edx
bt ecx, 0x19
jb 0x14012c2f9
btr eax, 0x19
mov r10, r14
sub r10, r11
add r10, rbp
mov rcx, qword [rbx]
inc r15d
add rsi, 0x28
mov dword [rsp + 0x38], eax
movzx edx, word [rcx + 6]
cmp r15d, edx
jl 0x14012c1f0
lea r9, [0x14015b3e8]
test r10, r10
je 0x14012c395
bt eax, 0x19
jae 0x14012c34d
cmp r11, r8
jne 0x14012c395
mov r9, qword [rbx + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbx + Ordinal_50]
jmp 0x14012c395
xor eax, eax
jmp 0x14012c398
mov rdx, qword [rsp + 0x38]
mov rcx, rdx
shr rdx, 0x1e
shr rcx, 0x1d
and edx, r13d
and ecx, r13d
lea rdx, [rdx + rcx*2]
mov ecx, eax
shr rcx, 0x1f
lea rdx, [rcx + rdx*2]
mov r8d, dword [r9 + rdx*4]
bt eax, 0x1a
jae 0x14012c380
bts r8d, 9
lea r9, [rsp + 0x70]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14012c349
mov eax, r13d
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rsi
pop rbx
ret