Function at 0x100054e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
cmp dword [0x1012a5a0], 0
je 0x100054f7
mov eax, 1
add rsp, 0x48
ret
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x68], rdi
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov rax, qword [rdx + 0x30]
test rax, rax
je 0x10005843
nop
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
test ecx, ecx
je 0x10005559
lea r8, [rdi + rcx]
mov ecx, dword [rdi + rcx + 0xc]
mov eax, dword [rcx + rdi]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x10005559
mov eax, dword [rcx + rdi + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x10005565
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
test rax, rax
jne 0x10005520
test r8, r8
je 0x10005843
mov edx, dword [r8 + 0x20]
mov ecx, dword [r8 + 0x24]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
movsxd rbp, dword [r8 + 0x18]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r14
mov r14d, dword [r8 + 0x1c]
add rdx, rdi
add rcx, rdi
add r14, rdi
xor ebx, ebx
lea rsi, [0x1012a5a4]
lea r13, [rcx + rbp*2 - 2]
lea r12, [rdx + rbp*4 - 4]
nop
nop
mov ecx, dword [r12]
add rcx, rdi
cmp word [rcx], 0x775a
jne 0x100055f1
call fcn.10005310
add ebx, 1
add rsi, 8
cmp ebx, 0x1f4
mov dword [rsi - 8], eax
movzx eax, word [r13]
mov ecx, dword [r14 + rax*4]
mov dword [rsi - 4], ecx
je 0x100055fe
sub r12, 4
sub r13, 2
add ebp, 0xffffffff
jne 0x100055c0
lea eax, [rbx - 1]
xor r12d, r12d
mov dword [0x1012a5a0], ebx
test eax, eax
je 0x10005816
mov qword [rsp + 0x28], r15
lea r14, [0x1012a5a0]
lea r15, [0x1012a5a8]
nop
nop
nop
mov eax, ebx
xor esi, esi
sub eax, r12d
cmp eax, 1
je 0x10005801
mov rbp, r15
lea rcx, str.4226
call fcn.10068930
lea rcx, str.3075
mov ebx, esi
sub ebx, eax
call fcn.10068930
lea rcx, str.4621
sub ebx, eax
call fcn.10068930
lea rcx, str.1157
sub ebx, eax
call fcn.10068930
lea rcx, str.1168
sub ebx, eax
call fcn.10068930
lea rcx, str.3622
sub ebx, eax
call fcn.10068930
lea rcx, str.2784
add ebx, eax
call fcn.10068930
lea rcx, str.3674
add ebx, eax
call fcn.10068930
lea rcx, str.1488
add ebx, eax
call fcn.10068930
mov r13d, dword [rbp]
lea rcx, str.2679
add ebx, eax
call fcn.10068930
lea ecx, [rax + rbx + 1]
cmp r13d, dword [r14 + rcx*8 + 8]
jbe 0x100057e4
mov edi, dword [rbp - 4]
lea rcx, str.1754
call fcn.10068930
lea rcx, str.1274
mov ebx, esi
sub ebx, eax
call fcn.10068930
lea rcx, str.1508
sub ebx, eax
call fcn.10068930
lea rcx, str.2118
sub ebx, eax
call fcn.10068930
lea rcx, str.1213
sub ebx, eax
call fcn.10068930
lea rcx, str.1948
add ebx, eax
call fcn.10068930
lea rcx, str.1792
add ebx, eax
call fcn.10068930
lea rcx, str.1701
add ebx, eax
call fcn.10068930
lea ecx, [rax + rbx + 1]
mov eax, dword [r14 + rcx*8 + 4]
lea rcx, str.1701
mov dword [rbp - 4], eax
mov eax, dword [rbp + 8]
mov dword [rbp], eax
call fcn.10068930
lea rcx, str.1792
mov ebx, esi
sub ebx, eax
call fcn.10068930
lea rcx, str.1948
sub ebx, eax
call fcn.10068930
lea rcx, str.1213
sub ebx, eax
call fcn.10068930
lea rcx, str.2118
sub ebx, eax
call fcn.10068930
lea rcx, str.1508
add ebx, eax
call fcn.10068930
lea rcx, str.1274
add ebx, eax
call fcn.10068930
lea rcx, str.1754
add ebx, eax
call fcn.10068930
lea ecx, [rax + rbx + 1]
mov dword [r14 + rcx*8 + 4], edi
mov dword [rbp + 8], r13d
mov ebx, dword [0x1012a5a0]
add esi, 1
add rbp, 8
mov eax, ebx
sub eax, r12d
sub eax, 1
cmp esi, eax
jb 0x10005643
lea eax, [rbx - 1]
add r12d, 1
cmp r12d, eax
jb 0x10005630
mov r15, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
mov rdi, qword [rsp + 0x68]
add rsp, 0x48
ret