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

Disassembly:
sub rsp, 0x48
cmp dword [0x180139460], 0
je 0x180060be7
mov eax, 1
add rsp, 0x48
ret
mov rax, qword gs:[0x60]
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x180060ff3
nop dword [rax]
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
test ecx, ecx
je 0x180060c49
lea rdx, [rdi + rcx]
mov ecx, dword [rdi + rcx + 0xc]
mov eax, dword [rcx + rdi]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x180060c49
mov eax, dword [rcx + rdi + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x180060c55
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x180060c10
test rdx, rdx
je 0x180060ff3
mov ecx, dword [rdx + 0x24]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
movsxd rsi, dword [rdx + 0x18]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov r14d, dword [rdx + 0x1c]
mov qword [rsp + 0x20], r15
mov r15d, dword [rdx + 0x20]
add rcx, rdi
add r14, rdi
add r15, rdi
lea rbp, [0x180139464]
xor r12d, r12d
lea r13, [rcx + rsi*2 - 2]
nop dword [rax + rax]
lea rcx, [0x180098138]
call fcn.180076bd0
lea rcx, [0x180098130]
mov ebx, esi
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098128]
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098120]
sub ebx, eax
call fcn.180076bd0
lea rcx, str._525
sub ebx, eax
dec ebx
call fcn.180076bd0
lea rcx, str.1021
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f8]
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f0]
add ebx, eax
call fcn.180076bd0
add eax, ebx
mov ecx, dword [r15 + rax*4]
mov eax, 0x775a
add rcx, rdi
cmp word [rcx], ax
jne 0x180060d59
call fcn.180060a80
inc r12d
add rbp, 8
mov dword [rbp - 8], eax
movzx eax, word [r13]
mov ecx, dword [r14 + rax*4]
mov dword [rbp - 4], ecx
cmp r12d, 0x1f4
je 0x180060d66
sub r13, 2
add esi, 0xffffffff
jne 0x180060cb0
mov r15, qword [rsp + 0x20]
lea eax, [r12 - 1]
xor ebp, ebp
mov dword [0x180139460], r12d
test eax, eax
je 0x180060fc6
lea r14, [0x180139468]
lea r13, [0x180139460]
nop
lea rcx, [0x180098138]
xor esi, esi
call fcn.180076bd0
mov ebx, dword [0x180139460]
lea rcx, [0x180098130]
sub ebx, ebp
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098128]
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098120]
sub ebx, eax
call fcn.180076bd0
lea rcx, str._525
sub ebx, eax
dec ebx
call fcn.180076bd0
lea rcx, str.1021
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f8]
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f0]
add ebx, eax
call fcn.180076bd0
add eax, ebx
je 0x180060fb4
mov rdi, r14
nop word [rax + rax]
lea rcx, [0x180098138]
call fcn.180076bd0
lea rcx, [0x180098130]
mov ebx, esi
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098128]
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098120]
sub ebx, eax
call fcn.180076bd0
lea rcx, str._525
sub ebx, eax
call fcn.180076bd0
lea rcx, str.1021
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f8]
add ebx, eax
call fcn.180076bd0
mov r12d, dword [rdi]
lea rcx, [0x1800980f0]
add ebx, eax
call fcn.180076bd0
lea ecx, [rax + rbx + 1]
cmp r12d, dword [r13 + rcx*8 + 8]
jbe 0x180060f2c
mov eax, dword [rdi + 4]
mov ecx, dword [rdi - 4]
mov dword [rdi - 4], eax
mov eax, dword [rdi + 8]
mov dword [rdi + 4], ecx
lea rcx, [0x180098138]
mov dword [rdi], eax
call fcn.180076bd0
lea rcx, [0x180098130]
mov ebx, esi
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098128]
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098120]
sub ebx, eax
call fcn.180076bd0
lea rcx, str._525
sub ebx, eax
call fcn.180076bd0
lea rcx, str.1021
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f8]
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f0]
add ebx, eax
call fcn.180076bd0
lea ecx, [rax + rbx + 1]
mov dword [r13 + rcx*8 + 8], r12d
lea rcx, [0x180098138]
inc esi
add rdi, 8
call fcn.180076bd0
mov ebx, dword [0x180139460]
lea rcx, [0x180098130]
sub ebx, ebp
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098128]
sub ebx, eax
call fcn.180076bd0
lea rcx, [0x180098120]
sub ebx, eax
call fcn.180076bd0
lea rcx, str._525
sub ebx, eax
dec ebx
call fcn.180076bd0
lea rcx, str.1021
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f8]
add ebx, eax
call fcn.180076bd0
lea rcx, [0x1800980f0]
add ebx, eax
call fcn.180076bd0
add eax, ebx
cmp esi, eax
jb 0x180060e20
mov eax, dword [0x180139460]
inc ebp
dec eax
cmp ebp, eax
jb 0x180060d90
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
ret