Function at 0x180003b10
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 [0x18003b038]
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 0x180003c2b
nop dword [rax]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and eax, 0xfff
cmp rax, 0xfff
je 0x180003c2b
mov rdx, qword [rsp + 0x40]
lea rax, [rcx + rdx]
cmp rax, rbx
jb 0x180003c2b
cmp dword [rsp + 0x60], 0x1000
jne 0x180003c0b
mov eax, dword [rsp + 0x64]
cmp al, 1
je 0x180003c0b
bt eax, 8
jb 0x180003c0b
lea r8, [rbp + 0x690]
mov rdx, rbx
mov rcx, r14
call fcn.1800045c0
test eax, eax
jne 0x180003c4c
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 0x180003bb0
mov r13, qword [rsp + 0x38]
mov edi, 0
test r15, r15
jne 0x180003cae
mov ecx, 0x10dd
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180003f16
test rbx, rbx
je 0x180003c2b
mov eax, 0x2000
test word [rbp + 0x6a6], ax
jne 0x180003c87
mov r15, rbx
cmp word [rbp + 0x6a8], di
jne 0x180003b70
cmp word [rbp + 0x694], 0
je 0x180003b70
mov esi, 1
jmp 0x180003b70
cmp word [rbp + 0x6a8], r13w
jne 0x180003b70
cmp word [rbp + 0x694], 0
je 0x180003b70
mov r12d, 1
jmp 0x180003b70
test esi, esi
jne 0x180003cba
mov ebx, edi
mov dword [rsp + 0x34], ebx
jmp 0x180003ce8
test r12d, r12d
jne 0x180003cce
mov r12d, 1
mov ebx, r12d
mov dword [rsp + 0x34], ebx
jmp 0x180003cee
lea rdx, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x180003c45
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 0x180003f09
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 0x180003f09
mov eax, 0x5a4d
cmp word [rbp - 0x60], ax
jne 0x180003efe
movsxd rcx, dword [rbp - 0x24]
mov eax, ecx
cmp rax, qword [rbp - 0x78]
ja 0x180003efe
cmp ecx, 0x40
jb 0x180003efe
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 0x180003f09
cmp dword [rbp + 0x790], 0x4550
jne 0x180003efe
mov eax, 0x10b
cmp word [rbp + 0x7a8], ax
jne 0x180003dbb
cmp word [rbp + 0x794], si
cmovne esi, r12d
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call fcn.1800049d0
test eax, eax
je 0x180003f14
test ebx, ebx
jne 0x180003ef7
test esi, esi
je 0x180003e1b
cmp qword [rbp], rdi
je 0x180003ef7
mov eax, dword [rbp + 0x660]
test al, 1
je 0x180003ef7
test al, 2
jne 0x180003ef7
mov r8d, 0x8664
lea r9, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call fcn.180005290
test eax, eax
je 0x180003f14
mov r9d, dword [rsp + 0x30]
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.180004b50
test eax, eax
je 0x180003f14
mov rdx, qword [rbp]
test rdx, rdx
je 0x180003ed6
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.180006be0
test eax, eax
je 0x180003f14
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 0x180003f14
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 0x180003f14
test byte [rbp + 0x660], 2
jne 0x180003ef7
mov r9d, 0x688
lea r8, [rbp - 0x20]
lea rdx, [0x18002d930]
mov rcx, r14
call fcn.180004160
test eax, eax
setne dil
jmp 0x180003f14
mov ecx, 6
jmp 0x180003f0e
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.180012ad0
mov rbx, qword [rsp + 0x9f8]
add rsp, 0x9a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret