Function at 0x14001600c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140055008]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14, r8
mov dword [rsp + 0x20], 4
mov r8d, 0x850
xor edx, edx
mov r9d, 0x1000
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140016262
and qword [rsp + 0x30], 0
lea rcx, [rbp - 0x40]
mov r15d, 0x40
xor edx, edx
mov r8d, r15d
call sub.msvcrt.dll_memset
mov eax, 0x5a4d
mov dword [rbp - 4], r15d
mov word [rbp - 0x40], ax
lea r8, [rbp - 0x40]
lea rax, [rsp + 0x30]
mov r9d, r15d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_WriteProcessMemory]
test eax, eax
je 0x140016262
cmp qword [rsp + 0x30], r15
jne 0x140016262
mov r13d, 0x108
lea rcx, [rbp]
mov r8d, r13d
lea rbx, [rsi + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea eax, [r15 - 0x3f]
mov dword [rbp], 0x4550
mov word [rbp + 6], ax
lea r8, [rbp]
mov eax, 0x20b
mov dword [rbp + 0x14], 0x200000f0
mov word [rbp + 0x18], ax
mov r9d, r13d
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_WriteProcessMemory]
test eax, eax
je 0x140016262
cmp qword [rsp + 0x30], r13
jne 0x140016262
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x38]
and dword [rsp + 0x5c], 0
movabs rax, 0x72756f7465642e
mov qword [rsp + 0x38], rax
add rbx, r13
mov eax, ebx
xorps xmm0, xmm0
sub eax, esi
mov r13d, 0x6e0
lea esi, [r15 - 0x18]
mov dword [rsp + 0x48], r13d
add eax, esi
mov r9d, esi
mov dword [rsp + 0x44], eax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x4c], xmm0
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_WriteProcessMemory]
test eax, eax
je 0x140016262
cmp qword [rsp + 0x30], rsi
jne 0x140016262
mov r8d, r15d
lea rcx, [rbp - 0x80]
xor edx, edx
add rbx, rsi
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x30]
mov dword [rbp - 0x80], r15d
mov r9d, r15d
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
mov dword [rbp - 0x7c], 0x727444
mov rdx, rbx
mov dword [rbp - 0x78], r15d
mov rcx, rdi
mov dword [rbp - 0x74], r13d
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_WriteProcessMemory]
test eax, eax
je 0x140016262
cmp qword [rsp + 0x30], r15
jne 0x140016262
movups xmm0, xmmword [0x140051f00]
and dword [rsp + 0x64], 0
lea rax, [rsp + 0x30]
add rbx, r15
mov dword [rsp + 0x60], 0x6a0
lea r9d, [r15 - 0x28]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
movdqu xmmword [rsp + 0x68], xmm0
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_WriteProcessMemory]
test eax, eax
je 0x140016262
cmp qword [rsp + 0x30], 0x18
jne 0x140016262
lea rdx, [rbx + 0x18]
mov r8, r14
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea ebx, [r13 - 0x58]
mov r9d, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_WriteProcessMemory]
test eax, eax
je 0x140016262
cmp qword [rsp + 0x30], rbx
jne 0x140016262
lea eax, [rsi - 0x27]
jmp 0x140016264
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140016790
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret