Function at 0x180022d60
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x88], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x70], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
lea r9, [rsp + 0x88]
mov r8d, 4
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022e27
xor al, al
jmp 0x180023173
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
je 0x180022ef2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0xd0]
add rcx, qword [rdx + 0x10]
lea r9, [rsp + 0x88]
mov r8d, 4
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022e8f
xor al, al
jmp 0x180023173
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0xd0]
add rcx, qword [rdx + 0x10]
mov r8d, eax
xor edx, edx
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0xd0]
add rcx, qword [rdx + 0x10]
lea r9, [rsp + 0x88]
mov r8d, 2
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022ef2
xor al, al
jmp 0x180023173
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
lea r9, [rsp + 0x88]
mov r8d, 2
mov edx, 0x80
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022f39
xor al, al
jmp 0x180023173
mov rax, qword [rsp + 0xd0]
add rax, 0x30
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.18002ca30
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x60]
call fcn.18002ca10
mov qword [rsp + 0x80], rax
jmp 0x180022f7b
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x50], rax
je 0x1800230c3
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.180019fc0
nop
xor r8d, r8d
lea rdx, str..reloc
lea rcx, [rsp + 0x90]
call fcn.18002e550
cmp rax, 0xffffffffffffffff
je 0x1800230b0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0xd0]
add rcx, qword [rdx + 0x10]
lea r9, [rsp + 0x88]
mov r8d, 4
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18002302a
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x90]
call fcn.180019f10
movzx eax, byte [rsp + 0x20]
jmp 0x180023173
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0xd0]
add rcx, qword [rdx + 0x10]
mov r8d, eax
xor edx, edx
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0xd0]
add rcx, qword [rdx + 0x10]
lea r9, [rsp + 0x88]
mov r8d, 2
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800230b0
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x90]
call fcn.180019f10
movzx eax, byte [rsp + 0x21]
jmp 0x180023173
lea rcx, [rsp + 0x90]
call fcn.180019f10
nop
jmp 0x180022f6d
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 0
jmp 0x1800230fd
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x180023171
lea r9, [rsp + 0x88]
mov r8d, 4
mov edx, Ordinal_41
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180023132
xor al, al
jmp 0x180023173
mov r8d, Ordinal_41
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
lea r9, [rsp + 0x88]
mov r8d, 2
mov edx, Ordinal_41
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18002316c
xor al, al
jmp 0x180023173
jmp 0x1800230e5
mov al, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0xc8
ret