Function at 0x1800a1aa0
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 [0x18025ed68]
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 0x1800a1bbb
nop dword [rax]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and eax, 0xfff
cmp rax, 0xfff
je 0x1800a1bbb
mov rdx, qword [rsp + 0x40]
lea rax, [rcx + rdx]
cmp rax, rbx
jb 0x1800a1bbb
cmp dword [rsp + 0x60], 0x1000
jne 0x1800a1b9b
mov eax, dword [rsp + 0x64]
cmp al, 1
je 0x1800a1b9b
bt eax, 8
jb 0x1800a1b9b
lea r8, [rbp + 0x690]
mov rdx, rbx
mov rcx, r14
call fcn.1800a2560
test eax, eax
jne 0x1800a1bdc
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 0x1800a1b40
mov r13, qword [rsp + 0x38]
mov edi, 0
test r15, r15
jne 0x1800a1c3e
mov ecx, 0x10dd
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800a1ea6
test rbx, rbx
je 0x1800a1bbb
mov eax, 0x2000
test word [rbp + 0x6a6], ax
jne 0x1800a1c17
mov r15, rbx
cmp word [rbp + 0x6a8], di
jne 0x1800a1b00
cmp word [rbp + 0x694], 0
je 0x1800a1b00
mov esi, 1
jmp 0x1800a1b00
cmp word [rbp + 0x6a8], r13w
jne 0x1800a1b00
cmp word [rbp + 0x694], 0
je 0x1800a1b00
mov r12d, 1
jmp 0x1800a1b00
test esi, esi
jne 0x1800a1c4a
mov ebx, edi
mov dword [rsp + 0x34], ebx
jmp 0x1800a1c78
test r12d, r12d
jne 0x1800a1c5e
mov r12d, 1
mov ebx, r12d
mov dword [rsp + 0x34], ebx
jmp 0x1800a1c7e
lea rdx, [rsp + 0x34]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x1800a1bd5
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 0x1800a1e99
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 0x1800a1e99
mov eax, 0x5a4d
cmp word [rbp - 0x60], ax
jne 0x1800a1e8e
movsxd rcx, dword [rbp - 0x24]
mov eax, ecx
cmp rax, qword [rbp - 0x78]
ja 0x1800a1e8e
cmp ecx, 0x40
jb 0x1800a1e8e
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 0x1800a1e99
cmp dword [rbp + 0x790], 0x4550
jne 0x1800a1e8e
mov eax, 0x10b
cmp word [rbp + 0x7a8], ax
jne 0x1800a1d4b
cmp word [rbp + 0x794], si
cmovne esi, r12d
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call fcn.1800a2960
test eax, eax
je 0x1800a1ea4
test ebx, ebx
jne 0x1800a1e87
test esi, esi
je 0x1800a1dab
cmp qword [rbp], rdi
je 0x1800a1e87
mov eax, dword [rbp + 0x660]
test al, 1
je 0x1800a1e87
test al, 2
jne 0x1800a1e87
mov r8d, 0x8664
lea r9, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call fcn.1800a3220
test eax, eax
je 0x1800a1ea4
mov r9d, dword [rsp + 0x30]
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.1800a2ae0
test eax, eax
je 0x1800a1ea4
mov rdx, qword [rbp]
test rdx, rdx
je 0x1800a1e66
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.1800a4bb0
test eax, eax
je 0x1800a1ea4
mov rdx, qword [rbp]
lea r8, [rbp + 0x670]
mov r9d, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800a1ea4
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rdx, qword [rbp]
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800a1ea4
test byte [rbp + 0x660], 2
jne 0x1800a1e87
mov r9d, 0x688
lea r8, [rbp - 0x20]
lea rdx, [0x1801d6f98]
mov rcx, r14
call fcn.1800a2100
test eax, eax
setne dil
jmp 0x1800a1ea4
mov ecx, 6
jmp 0x1800a1e9e
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.18015d5d0
mov rbx, qword [rsp + 0x9f8]
add rsp, 0x9a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret