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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1401645bb
mov eax, 0x7e
jmp 0x14016486e
mov r9d, 0x18
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe0]
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
jne 0x1401645ec
mov eax, 0x57
jmp 0x14016486e
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, str.c:windows_system32_ntdll.dll
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14013d190
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14013d190
nop
mov rax, qword [0x1404f4770]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x1401646d8
mov dword [rsp + 0x60], 0x46c
lea rcx, [rsp + 0x70]
call fcn.14015e758
nop
lea rcx, [rsp + 0x78]
call fcn.14015e758
mov eax, dword [rsp + 0x60]
jmp 0x14016486e
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
xor eax, eax
mov word [rsp + 0x40], ax
jmp 0x140164717
movzx eax, word [rsp + 0x40]
inc ax
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x14016484d
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rsp + 0x40]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
lea rdx, [0x1403c3f10]
mov rcx, rax
call fcn.140392a30
test eax, eax
jne 0x140164848
mov dword [rsp + 0x50], 0
mov rax, qword [0x1404f4760]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov edx, eax
call qword [rsp + 0xa0]
test eax, eax
jne 0x1401647bc
jmp 0x14016470a
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x58]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0xa8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.1403bd2c0
mov rax, qword [0x1404f4760]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov edx, eax
call qword [rsp + 0xb0]
jmp 0x14016470a
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x70]
call fcn.14015e758
nop
lea rcx, [rsp + 0x78]
call fcn.14015e758
mov eax, dword [rsp + 0x64]
add rsp, 0xd0
pop rdi
ret