Function at 0x1400017f0
Capabilities:
Access peb ldr_data
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0xc8
cmp dword [0x140021d28], 0
je 0x140001814
mov dword [rsp + 0xc4], 1
jmp 0x140001bd7
mov rax, qword gs:[0x60]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x30], 0
je 0x1400019a2
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rax, 0x18
add rax, 0x70
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400018f7
jmp 0x14000198a
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x74]
add rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x70]
add rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c64746e
je 0x140001968
jmp 0x14000198a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
jne 0x140001985
jmp 0x1400019a2
jmp 0x14000198a
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x140001871
cmp qword [rsp + 0xa0], 0
jne 0x1400019c1
mov dword [rsp + 0xc4], 0
jmp 0x140001bd7
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [0x140021d28]
add rax, 8
mov qword [rsp + 0x48], rax
mov word [rsp + 0x46], 0
mov word [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x40]
imul rcx, rcx, 0xc
add rax, rcx
cmp dword [rax], 0
je 0x140001bcc
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xa8]
cmp eax, dword [rcx + 0x18]
jae 0x140001bb7
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x3c]
movzx edx, word [rdx + r8*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x3c]
movzx ecx, word [rcx + rdx*2]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x40]
imul rdx, rdx, 0xc
add rcx, rdx
cmp eax, dword [rcx]
jne 0x140001ba2
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x140001b9d
mov rcx, qword [rsp + 0x30]
call fcn.140001620
mov ecx, eax
mov rax, qword [rsp + 0x48]
movzx edx, word [rsp + 0x46]
imul rdx, rdx, 0x18
add rax, rdx
mov dword [rax], ecx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x48]
movzx edx, word [rsp + 0x46]
imul rdx, rdx, 0x18
add rax, rdx
mov qword [rax + 8], rcx
movzx eax, word [rsp + 0x44]
cmp eax, 0
jne 0x140001b4d
mov rcx, qword [rsp + 0x28]
call fcn.140001760
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x48]
movzx ecx, word [rsp + 0x46]
imul rcx, rcx, 0x18
add rax, rcx
mov rcx, qword [rax + 8]
movzx eax, word [rsp + 0x44]
add rcx, rax
mov rax, qword [rsp + 0x48]
movzx edx, word [rsp + 0x46]
imul rdx, rdx, 0x18
add rax, rdx
mov qword [rax + 0x10], rcx
mov ax, word [rsp + 0x46]
add ax, 1
mov word [rsp + 0x46], ax
movzx eax, word [rsp + 0x46]
mov dword [0x140021d28], eax
jmp 0x140001bb7
jmp 0x140001ba2
jmp 0x140001ba7
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x140001a5c
jmp 0x140001bbc
mov eax, dword [rsp + 0x40]
add eax, 1
mov dword [rsp + 0x40], eax
jmp 0x140001a38
mov dword [rsp + 0xc4], 1
mov eax, dword [rsp + 0xc4]
add rsp, 0xc8
ret