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

Disassembly:
push rbp
sub rsp, 0x40
cmp dword [0x1800bc720], 0
jne 0x180011ad7
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x180011ae2
nop dword [rax]
nop word [rax + rax]
mov rbp, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rbp + 0x88]
test ecx, ecx
je 0x1800118a9
lea rdx, [rcx + rbp]
mov ecx, dword [rcx + rbp + 0xc]
mov eax, dword [rcx + rbp]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x1800118a9
mov eax, dword [rcx + rbp + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x1800118b5
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x180011870
test rdx, rdx
je 0x180011ae2
mov qword [rsp + 0x50], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x38], r12
mov r12d, dword [rdx + 0x1c]
mov qword [rsp + 0x30], r13
add r12, rbp
mov r13d, dword [rdx + 0x24]
mov qword [rsp + 0x28], r14
add r13, rbp
mov qword [rsp + 0x20], r15
mov r15d, dword [rdx + 0x20]
mov edx, 0x775a
add r15, rbp
mov qword [rsp + 0x60], rdi
xor esi, esi
lea r14d, [rbx - 1]
mov ecx, dword [r15 + r14*4]
add rcx, rbp
cmp word [rcx], dx
jne 0x180011978
lea rdi, [rsi*8]
call fcn.180011790
lea rcx, [0x1800bc720]
mov dword [rdi + rcx + 4], eax
lea rcx, [0x1800665d0]
call fcn.1800260e0
sub ebx, eax
lea rcx, [0x1800665c8]
dec ebx
call fcn.1800260e0
lea rcx, [0x1800665c0]
add ebx, eax
call fcn.1800260e0
add eax, ebx
inc esi
movzx ecx, word [r13 + rax*2]
mov eax, dword [r12 + rcx*4]
lea rcx, [0x1800bc720]
mov dword [rdi + rcx + 8], eax
cmp esi, 0x1f4
je 0x180011980
mov edx, 0x775a
mov ebx, r14d
test r14d, r14d
jne 0x180011900
mov r13, qword [rsp + 0x30]
lea eax, [rsi - 1]
xor r14d, r14d
mov dword [0x1800bc720], esi
test eax, eax
je 0x180011ab9
nop dword [rax]
mov eax, esi
xor ebx, ebx
sub eax, r14d
cmp eax, 1
je 0x180011aaa
lea r12, [0x1800bc720]
nop word [rax + rax]
lea rcx, [0x1800665d0]
call fcn.1800260e0
mov edi, ebx
lea rcx, [0x1800665c8]
sub edi, eax
call fcn.1800260e0
lea rcx, [0x1800665c0]
add edi, eax
call fcn.1800260e0
lea r15, [rbx*8]
lea ecx, [rax + 1]
add ecx, edi
mov eax, dword [r12 + rcx*8 + 8]
lea rcx, [r12 + rcx*8]
cmp dword [r15 + r12 + 8], eax
jbe 0x180011a93
mov esi, dword [r15 + r12 + 4]
lea rcx, [0x1800665d0]
call fcn.1800260e0
mov edi, ebx
lea rcx, [0x1800665c8]
sub edi, eax
call fcn.1800260e0
lea rcx, [0x1800665c0]
add edi, eax
call fcn.1800260e0
add eax, edi
mov ebp, dword [r12 + rax*8 + 8]
lea eax, [rbx + 1]
mov ecx, eax
mov eax, dword [r12 + rax*8 + 4]
mov dword [r15 + r12 + 4], eax
mov eax, dword [r12 + rcx*8 + 8]
mov dword [r12 + rcx*8 + 4], esi
lea rcx, [0x1800665d0]
mov dword [r15 + r12 + 8], eax
call fcn.1800260e0
mov edi, ebx
lea rcx, [0x1800665c8]
sub edi, eax
call fcn.1800260e0
lea rcx, [0x1800665c0]
add edi, eax
call fcn.1800260e0
lea ecx, [rax + 1]
add ecx, edi
mov dword [r12 + rcx*8 + 8], ebp
mov esi, dword [0x1800bc720]
inc ebx
mov eax, esi
sub eax, r14d
dec eax
cmp ebx, eax
jb 0x1800119c0
inc r14d
lea eax, [rsi - 1]
cmp r14d, eax
jb 0x1800119a0
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x38]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x40
pop rbp
ret
xor eax, eax
add rsp, 0x40
pop rbp
ret