Function at 0x140001e90
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x1e0
mov rax, qword [0x1400e4f00]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xorps xmm0, xmm0
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0xb0]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x80]
mov r9d, 0x40
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400021b1
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x1400021b1
movsxd rdx, dword [rsp + 0x7c]
lea rax, [rsp + 0x80]
add rdx, r14
mov qword [rsp + 0x20], rax
mov r9d, 0x108
lea r8, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400021b1
cmp dword [rsp + 0xb0], 0x4550
jne 0x1400021b1
mov edi, dword [rsp + 0x138]
test edi, edi
je 0x1400021b1
mov eax, dword [rsp + 0x13c]
test eax, eax
je 0x1400021b1
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1400021b1
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x1d8], r13
mov qword [rsp + 0x20], rcx
lea rdx, [r14 + rdi]
mov rcx, rsi
mov r9d, r12d
mov r8, rax
mov r13d, edi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140001fee
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400020e4
mov eax, dword [rbx + 0x24]
xor edi, edi
mov qword [rsp + 0x220], rbp
mov rbp, rbx
sub rbp, r13
mov qword [rsp + 0x1d0], r15
mov r15d, dword [rbx + 0x20]
add rax, rbp
mov qword [rsp + 0x30], rax
add r15, rbp
mov eax, dword [rbx + 0x1c]
add rax, rbp
mov qword [rsp + 0x38], rax
cmp dword [rbx + 0x18], edi
jbe 0x1400020c1
nop dword [rax]
mov edx, dword [r15 + rdi*4]
lea rcx, [rsp + 0x88]
add rdx, rbp
call fcn.14000b280
cmp qword [rsp + 0xa0], 0xf
lea rcx, [rsp + 0x88]
lea rdx, str.SetWindowDisplayAffinity
cmova rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000210b
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x1400020b6
mov rcx, qword [rsp + 0x88]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000218a
call fcn.140082840
inc edi
cmp edi, dword [rbx + 0x18]
jb 0x140002030
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x220]
mov r15, qword [rsp + 0x1d0]
mov r13, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140082820
add rsp, 0x1e0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rax + rdi*2]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x14000214e
lea rdi, [r14 + rcx]
lea rax, [r14 + r13]
cmp rdi, rax
jb 0x140002191
lea rax, [r12 + r13]
add rax, r14
cmp rdi, rax
ja 0x140002191
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edi, edi
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x1400021a9
mov rcx, qword [rsp + 0x88]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021a4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140002150
call fcn.140082840
mov rax, rdi
jmp 0x1400020d4
xor eax, eax
jmp 0x1400020ec