Function at 0x18001e87c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword gs:[0x30]
xor esi, esi
mov rbx, rcx
mov rdx, qword [rax + 0x60]
mov rbp, 0xfffffffffffff000
xor r15d, r15d
mov rax, qword [rdx + 0x18]
xor r12d, r12d
mov qword [rsp + 0xf8], rsi
mov rdx, qword [rax + 0x10]
lea r13d, [rsi + 1]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x30]
and rcx, rbp
movsxd rax, dword [rcx + 0x3c]
mov edx, dword [rax + rcx + 0x88]
test edx, edx
je 0x18001e97c
lea rax, [rcx + rdx]
mov r12d, r13d
mov r11d, dword [rax + 0x1c]
mov r10d, dword [rax + 0x20]
mov r9d, dword [rax + 0x24]
mov edi, dword [rax + 0x18]
add r11, rcx
add r10, rcx
add r9, rcx
mov eax, dword [r10]
xor edx, edx
lea r8, [rax + rcx + 2]
cmp byte [r8], dl
je 0x18001e91b
add edx, r13d
cmp byte [rdx + r8], 0
jne 0x18001e911
test rsi, rsi
jne 0x18001e943
cmp edx, 8
jne 0x18001e948
cmp dword [r8], 0x616f4c72
jne 0x18001e948
movzx eax, word [r9]
mov esi, dword [r11 + rax*4]
add rsi, rcx
mov qword [rsp + 0xf8], rsi
jmp 0x18001e948
test r15, r15
jne 0x18001e979
test r15, r15
jne 0x18001e966
cmp edx, 0x14
jne 0x18001e966
cmp dword [r8], 0x74654772
jne 0x18001e966
movzx eax, word [r9]
mov r15d, dword [r11 + rax*4]
add r15, rcx
add r10, 4
add r9, 2
add edi, 0xffffffff
je 0x18001eb63
jmp 0x18001e902
xor r12d, r12d
and rbx, rbp
movsxd rsi, dword [rbx + 0x3c]
add rsi, rbx
mov eax, dword [rsi + 0x90]
test eax, eax
je 0x18001ead5
lea rbp, [rbx + rax]
cmp dword [rbp + 0xc], 0
je 0x18001eac7
mov eax, dword [rbp]
mov r13d, dword [rbp + 0x10]
test eax, eax
jne 0x18001e9b9
test r13d, r13d
mov eax, r13d
je 0x18001eab2
mov ecx, dword [rbp + 0xc]
mov r14d, eax
xor edx, edx
add rcx, rbx
lea rdi, [r14 + rbx]
mov al, byte [rcx]
test al, al
je 0x18001e9e7
xor r8d, r8d
add edx, 1
movsx eax, al
mov word [rsp + r8*2 + 0x30], ax
mov al, byte [rdx + rcx]
mov r8d, edx
test al, al
jne 0x18001e9d1
add dx, dx
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x100]
mov word [rsp + 0x22], dx
mov word [rsp + 0x20], dx
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
call qword [rsp + 0xf8]
test eax, eax
js 0x18001eac1
mov rcx, qword [rdi]
test rcx, rcx
je 0x18001eab2
sub r13, r14
xor r8w, r8w
xor edx, edx
bt qword [rdi], 0x3f
jb 0x18001ea41
mov edx, dword [rdi]
add rdx, rbx
jmp 0x18001ea5a
cmp rcx, rbx
jb 0x18001ea56
mov eax, dword [rsi + 0x50]
add rax, rbx
cmp rcx, rax
jae 0x18001ea56
mov rdx, rcx
jmp 0x18001ea5a
movzx r8d, word [rdi]
test rdx, rdx
je 0x18001ea86
add rdx, 2
xor ecx, ecx
cmp byte [rdx], cl
je 0x18001ea72
add ecx, 1
cmp byte [rcx + rdx], 0
jne 0x18001ea69
mov qword [rsp + 0x28], rdx
mov word [rsp + 0x22], cx
mov word [rsp + 0x20], cx
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
lea r9, [r13 + rdi]
movzx r8d, r8w
call r15
test eax, eax
js 0x18001eaac
add rdi, 8
mov rcx, qword [rdi]
test rcx, rcx
jne 0x18001ea2d
jmp 0x18001eab2
mov r12d, 0x7f
add rbp, 0x14
test r12d, r12d
je 0x18001e998
jmp 0x18001eac7
mov r12d, 0x7e
test r12d, r12d
jne 0x18001eb63
lea r13d, [r12 + 1]
mov r10d, dword [rsi + 0x28]
mov eax, dword [rsi + 0xb0]
add r10, rbx
test eax, eax
je 0x18001eb50
mov r8d, dword [rsi + 0xb4]
mov rdi, rbx
lea rcx, [rbx + rax]
sub rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], rbx
jmp 0x18001eb4a
mov eax, dword [rcx + 4]
mov r11d, dword [rcx]
lea rdx, [rax - 8]
add r11, rbx
shr rdx, 1
cmp r8d, eax
jl 0x18001eb41
test edx, edx
je 0x18001eb41
lea r9, [rcx + 8]
mov edx, edx
movzx eax, word [r9]
and ax, 0xf000
cmp ax, 0xa000
jne 0x18001eb38
mov ax, word [r9]
and eax, 0xfff
add qword [rax + r11], rdi
add r9, 2
sub rdx, r13
jne 0x18001eb1d
mov eax, dword [rcx + 4]
sub r8d, eax
add rcx, rax
cmp r8d, 8
ja 0x18001eafe
mov r8, qword [rsi + 0xc]
mov edx, r13d
mov rcx, rbx
call r10
test eax, eax
cmove r12d, r13d
mov eax, r12d
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret