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

Disassembly:
sub rsp, 0xa8
cmp dword [0x140023d80], 0
je 0x1400012ba
mov eax, 1
jmp 0x140001554
mov rax, qword gs:[0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x48], rax
jmp 0x140001319
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x30], 0
je 0x1400013c4
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14000137c
jmp 0x140001302
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea rdx, section..data
mov rcx, qword [rsp + 0x78]
call fcn.140006650
test eax, eax
jne 0x1400013bf
jmp 0x1400013c4
jmp 0x140001302
cmp qword [rsp + 0x30], 0
jne 0x1400013d3
xor eax, eax
jmp 0x140001554
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
lea rax, [0x140023d88]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x140001444
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140001530
cmp dword [0x140023d80], 0x258
jae 0x140001530
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x14000152b
mov rcx, qword [rsp + 0x50]
call fcn.140001240
mov ecx, dword [0x140023d80]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov ecx, dword [0x140023d80]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x90]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [0x140023d80]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140001080
mov ecx, dword [0x140023d80]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x40]
mov qword [rdx + rcx + 8], rax
mov eax, dword [0x140023d80]
inc eax
mov dword [0x140023d80], eax
jmp 0x14000143a
mov eax, dword [0x140023d80]
lea r9, section..text
mov r8d, 0x10
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.140006720
mov eax, 1
add rsp, 0xa8
ret