Function at 0x140027c50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400a3020]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r13, r9
mov r12, r8
mov edi, edx
mov r15, rcx
mov qword [rbp - 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov r8d, edx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rbp + 0x70], rax
test rax, rax
je 0x140028432
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
and rsi, 0xfffffffff0000000
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp + 0x78], xmm0
mov edx, edi
lea rcx, [rbp + 0x78]
call fcn.1400273d0
nop
xorps xmm0, xmm0
movups xmmword [r15], xmm0
lea ecx, [r14 + 0x10]
call fcn.140047d0c
mov rdi, rax
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], r14
mov qword [rax + 8], r14
lea ecx, [r14 + 0x30]
call fcn.140047d0c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
mov qword [r15], r14
mov qword [r15 + 8], r14
mov qword [rbp - 0x78], rdi
lea ecx, [r14 + 0x18]
call fcn.140047d0c
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_std::set_struct_CRWXRegion__struct_CRWXRegionComparator__class_std::allocator_struct_CRWXRegion___.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov qword [r15], rdi
mov qword [r15 + 8], rax
mov dword [rsp + 0x38], 1
xor edx, edx
mov r9d, 0x30
lea r8, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400283b4
mov rcx, qword [rbp - 0x50]
mov rax, rcx
and rax, 0xfffffffff0000000
cmp rax, rsi
jae 0x1400283b4
cmp dword [rbp - 0x30], 0x1000
jne 0x1400283a7
mov eax, dword [rbp - 0x2c]
add eax, 0xfffffffe
test eax, 0xfffffffd
jne 0x1400283a7
mov r9b, 1
mov r8, qword [rbp + 0x78]
mov rdi, qword [rbp - 0x38]
mov rdx, rdi
call fcn.140027380
test al, al
jne 0x1400283a7
cmp dword [r12 + 0x128], 0
je 0x140027e2b
xor ecx, ecx
call fcn.1400011d0
movsxd rcx, dword [r12 + 0x128]
shl rcx, 0xa
cmp rdi, rcx
jbe 0x140027e2b
mov r8, rdi
lea rdx, str.CheckRegionSize__:_region_size_too_large:__08X
mov rcx, rax
call fcn.140022090
mov rdx, qword [rbp - 0x38]
add rdx, qword [rbp - 0x50]
jmp 0x140027d7e
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov qword [rbp + 0x10], r14
mov rdi, qword [rbp - 0x50]
mov edx, 0x1000
lea rcx, [rbp]
call fcn.140001bd0
mov r14, qword [rbp + 8]
mov rsi, qword [rbp]
sub r14, rsi
mov r8, r14
xor edx, edx
mov rcx, rsi
call fcn.14004a2e0
mov qword [rbp + 0x68], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140027e93
cmp qword [rbp + 0x68], 0
je 0x140027fcd
lea rcx, [rsi + r14]
lea rax, [rsi + 0x40]
cmp rax, rcx
jae 0x140027fcd
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x140027fcd
movsxd rdx, dword [rsi + 0x3c]
add rdx, rsi
cmp rdx, rsi
jb 0x140027fcd
lea rcx, [rsi + r14]
lea rax, [rdx + 8]
cmp rax, rcx
jae 0x140027fcd
cmp dword [rdx], 0x4550
jne 0x140027fcd
test rdx, rdx
je 0x140027fcd
movsxd r8, dword [rsi + 0x3c]
add r8, rsi
cmp r8, rsi
jb 0x140027f05
lea rcx, [r14 + rsi]
lea rax, [r8 + 8]
cmp rax, rcx
jb 0x140027fe6
cmp qword [r13], 0
je 0x14002835e
mov rsi, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp]
call fcn.140001bd0
mov rdi, qword [rbp + 8]
mov r14, qword [rbp]
sub rdi, r14
mov r8, rdi
xor edx, edx
mov rcx, r14
call fcn.14004a2e0
mov qword [rbp + 0x50], 0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140028120
cmp qword [rbp + 0x50], 0
jne 0x140028120
test r14, r14
je 0x14002839f
mov rdx, qword [rbp + 0x10]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x140027fa4
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002842c
mov rcx, r14
call fcn.1400477f0
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
xor r14d, r14d
mov qword [rbp + 0x10], r14
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x38]
add rdx, qword [rbp - 0x50]
jmp 0x140027d7e
lea rcx, [rbp]
call fcn.140027170
mov r8, rax
mov rsi, qword [rbp]
test rax, rax
je 0x140027f05
mov ecx, dword [r8 + 0x50]
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
cmp rcx, qword [rbp - 0x38]
cmovbe rcx, qword [rbp - 0x38]
mov qword [rbp - 0x18], rcx
mov rdi, qword [r15]
mov r14, qword [rdi]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov dword [rsp + 0x48], r8d
mov rdx, r14
cmp byte [rcx + 0x19], r8b
jne 0x14002804e
nop
mov qword [rsp + 0x40], rcx
mov rax, qword [rcx + 0x20]
cmp rax, qword [rbp - 0x50]
jae 0x14002803a
mov dword [rsp + 0x48], r8d
mov rcx, qword [rcx + 0x10]
jmp 0x140028048
mov dword [rsp + 0x48], 1
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r8b
je 0x140028020
cmp byte [rdx + 0x19], r8b
jne 0x14002805e
mov rax, qword [rdx + 0x20]
cmp qword [rbp - 0x50], rax
jae 0x1400280c2
movabs rax, 0x555555555555555
cmp qword [rdi + 8], rax
je 0x140028490
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r8
mov ecx, 0x30
call fcn.140047d0c
nop
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x20], xmm0
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
xor r14d, r14d
mov qword [rsp + 0x68], r14
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x70], xmm0
mov r8, rax
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400114e0
jmp 0x1400280c5
xor r14d, r14d
test rsi, rsi
je 0x1400283a2
mov rdx, qword [rbp + 0x10]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400280fa
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028426
mov rcx, rsi
call fcn.1400477f0
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x38]
add rdx, qword [rbp - 0x50]
jmp 0x140027d7e
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xor r14d, r14d
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], r14
lea ecx, [r14 + 0x70]
call fcn.140047d0c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
lea ecx, [r14 + 0x40]
call fcn.140047d0c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], r14b
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x58]
lea rdx, [rbp]
mov rcx, qword [r13]
call fcn.140043c30
test al, al
jne 0x140028272
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400281f2
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400281ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028496
call fcn.1400477f0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
mov r8, qword [rbp + 0x20]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14001f4e0
mov edx, 0x40
mov rcx, qword [rbp + 0x20]
call fcn.1400477f0
nop
lea rcx, [rbp + 0x58]
call fcn.14003a350
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400283a2
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400280fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002842c
jmp 0x1400280fd
mov r8, qword [rbp - 0x50]
mov qword [rbp - 0x10], r8
mov rax, qword [rbp - 0x38]
mov qword [rbp - 8], rax
mov rsi, qword [r15]
mov rdi, qword [rsi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r14d
mov rdx, rdi
cmp byte [rax + 0x19], 0
jne 0x1400282ca
nop
mov qword [rsp + 0x40], rax
cmp qword [rax + 0x20], r8
jae 0x1400282b6
mov dword [rsp + 0x48], r14d
mov rax, qword [rax + 0x10]
jmp 0x1400282c4
mov dword [rsp + 0x48], 1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400282a0
cmp byte [rdx + 0x19], 0
jne 0x1400282d6
cmp r8, qword [rdx + 0x20]
jae 0x140028335
movabs rax, 0x555555555555555
cmp qword [rsi + 8], rax
je 0x14002849c
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r14
mov ecx, 0x30
call fcn.140047d0c
nop
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax + 0x20], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
mov r8, rax
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1400114e0
xor ecx, ecx
call fcn.1400011d0
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae r8, qword [rbp + 0x30]
lea rdx, str.GetSuspiciousImageRegions__:_match_yara_artefact__S
mov rcx, rax
call fcn.140022090
jmp 0x1400281b7
test rsi, rsi
je 0x14002839f
mov rdx, qword [rbp + 0x10]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002838f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028426
mov rcx, rsi
call fcn.1400477f0
xor r14d, r14d
jmp 0x140028102
xor r14d, r14d
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x38]
add rdx, qword [rbp - 0x50]
jmp 0x140027d7e
mov rdi, qword [rbp + 0x80]
test rdi, rdi
je 0x1400283f0
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400283ec
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400283ec
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rbx, qword [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r15
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.1400477d0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004e14c
int3
call fcn.14004e14c
nop
lea rdx, str.GetSuspiciousImageRegions__:_OpenProcess_failed_for_pid
lea rcx, [rbp + 0x30]
call fcn.1400024c0
nop
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1400270d0
nop
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140007750
nop
lea rcx, [rsp + 0x40]
call fcn.140001140
lea rcx, [rbp + 0x30]
call fcn.140002490
mov rdx, rax
mov r8b, 1
lea rcx, [rbp]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rbp]
call fcn.140049b34
nop
call fcn.1400080c0
nop
call fcn.14004e14c
nop
call fcn.1400080c0
int3