Function at 0x140069370
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rax, qword [0x14007d080]
xor rax, rsp
mov qword [rbp + 0x890], rax
xor edi, edi
mov dword [rsp + 0x30], r8d
mov r12d, edi
mov qword [rsp + 0x38], rdx
mov esi, edi
mov r15d, edi
mov ebx, edi
mov r14, rcx
mov edi, 0x10b
mov r13d, 0x20b
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
lea r8, [rsp + 0x40]
add rbx, 0x10000
mov r9d, 0x30
mov rdx, rbx
mov rcx, r14
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.kernel32.dll_VirtualQueryEx]
test rax, rax
je 0x14006948b
nop dword [rax]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and eax, 0xfff
cmp rax, 0xfff
je 0x14006948b
mov rdx, qword [rsp + 0x40]
lea rax, [rcx + rdx]
cmp rax, rbx
jb 0x14006948b
cmp dword [rsp + 0x60], 0x1000
jne 0x14006946b
mov eax, dword [rsp + 0x64]
cmp al, 1
je 0x14006946b
bt eax, 8
jb 0x14006946b
lea r8, [rbp + 0x690]
mov rdx, rbx
mov rcx, r14
call fcn.140069a40
test eax, eax
jne 0x1400694ac
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
lea rbx, [rcx + rdx]
mov r9d, 0x30
mov rdx, rbx
lea r8, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.kernel32.dll_VirtualQueryEx]
test rax, rax
jne 0x140069410
mov r13, qword [rsp + 0x38]
mov edi, 0
test r15, r15
jne 0x14006950e
mov ecx, 0x10dd
call qword [sym.imp.kernel32.dll_SetLastError]
xor eax, eax
jmp 0x140069776
test rbx, rbx
je 0x14006948b
mov eax, 0x2000
test word [rbp + 0x6a6], ax
jne 0x1400694e7
mov r15, rbx
cmp word [rbp + 0x6a8], di
jne 0x1400693d0
cmp word [rbp + 0x694], 0
je 0x1400693d0
mov esi, 1
jmp 0x1400693d0
cmp word [rbp + 0x6a8], r13w
jne 0x1400693d0
cmp word [rbp + 0x694], 0
je 0x1400693d0
mov r12d, 1
jmp 0x1400693d0
test esi, esi
jne 0x14006951a
mov ebx, edi
mov dword [rsp + 0x34], ebx
jmp 0x140069548
test r12d, r12d
jne 0x14006952e
mov r12d, 1
mov ebx, r12d
mov dword [rsp + 0x34], ebx
jmp 0x14006954e
lea rdx, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.kernel32.dll_IsWow64Process]
test eax, eax
je 0x1400694a5
mov ebx, dword [rsp + 0x34]
mov r12d, 1
xorps xmm0, xmm0
lea r8, [rsp + 0x70]
mov r9d, 0x30
mov rdx, r15
mov rcx, r14
mov esi, edi
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.kernel32.dll_VirtualQueryEx]
test rax, rax
je 0x140069769
mov r9d, 0x40
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x60]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
test eax, eax
je 0x140069769
mov eax, 0x5a4d
cmp word [rbp - 0x60], ax
jne 0x14006975e
movsxd rcx, dword [rbp - 0x24]
mov eax, ecx
cmp rax, qword [rbp - 0x78]
ja 0x14006975e
cmp ecx, 0x40
jb 0x14006975e
lea rdx, [r15 + rcx]
mov qword [rsp + 0x20], rdi
mov rcx, r14
lea r8, [rbp + 0x790]
mov r9d, 0xf8
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
test eax, eax
je 0x140069769
cmp dword [rbp + 0x790], 0x4550
jne 0x14006975e
mov eax, 0x10b
cmp word [rbp + 0x7a8], ax
jne 0x14006961b
cmp word [rbp + 0x794], si
cmovne esi, r12d
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call fcn.140069b40
test eax, eax
je 0x140069774
test ebx, ebx
jne 0x140069757
test esi, esi
je 0x14006967b
cmp qword [rbp], rdi
je 0x140069757
mov eax, dword [rbp + 0x660]
test al, 1
je 0x140069757
test al, 2
jne 0x140069757
mov r8d, 0x8664
lea r9, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call fcn.14006a390
test eax, eax
je 0x140069774
mov r9d, dword [rsp + 0x30]
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140069cc0
test eax, eax
je 0x140069774
mov rdx, qword [rbp]
test rdx, rdx
je 0x140069736
mov eax, dword [rbp + 0x660]
mov r9d, 4
movaps xmm0, xmmword [rbp + 0x650]
and eax, 0xfffffffe
mov dword [rbp + 0x680], eax
mov rcx, r14
lea rax, [rsp + 0x30]
lea r8d, [r9 + 0x10]
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 0x670], xmm0
call fcn.14006aa40
test eax, eax
je 0x140069774
mov rdx, qword [rbp]
lea r8, [rbp + 0x670]
mov r9d, 0x14
mov qword [rsp + 0x20], rdi
mov rcx, r14
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
test eax, eax
je 0x140069774
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rdx, qword [rbp]
mov r8d, 0x14
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_VirtualProtectEx]
test eax, eax
je 0x140069774
test byte [rbp + 0x660], 2
jne 0x140069757
mov r9d, 0x688
lea r8, [rbp - 0x20]
lea rdx, [0x140078528]
mov rcx, r14
call fcn.1400697a0
test eax, eax
setne dil
jmp 0x140069774
mov ecx, 6
jmp 0x14006976e
mov ecx, 0xc1
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, 0x10dd
call qword [sym.imp.kernel32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.14006ab80
mov rbx, qword [rsp + 0x9f8]
add rsp, 0x9a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret