joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006250
Capabilities:
Access pe header
Access peb ldr_data
Get process heap flags

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x68
mov rax, qword [0x1400ecdc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x30]
mov rdi, rcx
mov r15, qword [rsp + 0xc0]
mov r12, r9
mov rbp, r8
mov r13d, edx
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x30]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
jne 0x1400062aa
mov eax, 0xc000007b
jmp 0x140006331
mov rax, qword gs:[0x30]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0x60], r14
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x30]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x14000631f
mov rax, qword [0x1400f24f0]
mov edx, 8
mov rcx, rsi
movzx r8d, word [rax + 0x16]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
test rax, rax
je 0x14000631f
lea r9, [rsp + 0x30]
mov rdx, r12
lea r8, [rsp + 0x40]
mov rcx, rbp
call fcn.140008190
test eax, eax
jns 0x14000634c
mov r8, r14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000017
mov rsi, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003e240
add rsp, 0x68
pop r15
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
lea rax, [rsp + 0x30]
mov r8, rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, r13d
mov rcx, r14
call fcn.140007c10
test eax, eax
jne 0x1400063a2
mov r8, r14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000001
jmp 0x140006324
mov rax, qword gs:[0x30]
lea rdi, [r14 + 0x70]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [0x1400f24f0]
mov rsi, qword [rcx + 0x18]
mov rcx, qword [rax + 0x58]
mov rbx, qword [rcx]
lea rcx, [r14 + 0x58]
call fcn.140008020
mov ecx, eax
lea rdx, [r14 + 0x10]
shl rcx, 4
add rcx, rbx
mov rax, qword [rcx + 8]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rax], rdi
mov qword [rcx + 8], rdi
lea rcx, [rsi + 0x10]
mov rax, qword [rcx + 8]
mov qword [r14], rcx
mov qword [r14 + 8], rax
mov qword [rax], r14
mov rax, qword [rsi + 0x28]
mov qword [rcx + 8], r14
lea rcx, [rsi + 0x20]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov rax, qword [rsi + 0x38]
mov qword [rcx + 8], rdx
lea rdx, [r14 + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsi + 0x30]
mov qword [rdx], rcx
mov qword [rax], rdx
mov qword [rcx + 8], rdx
test r15, r15
je 0x140006440
mov qword [r15], r14
xor eax, eax
jmp 0x140006324
Function at 0x140007310
Capabilities:
Access pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140007366
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140007366
movsxd r8, dword [rbx + 0x3c]
movzx edx, word [r8 + rbx + 6]
lea eax, [rdx + rdx*4]
lea ecx, [r8 + rax*8]
movabs rax, 0xaabbcc11ffee00
movsxd rcx, ecx
add rcx, 0x108
add rcx, rbx
cmp qword [rcx], rax
jne 0x140007366
xor eax, eax
cmp qword [rcx + 0x10], rbx
cmove rax, rcx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140007370
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400ecdc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx edi, word [rdx + 0x14]
xor ebx, ebx
add rdi, 0x20
mov rsi, rdx
mov rbp, rcx
cmp bx, word [rdx + 6]
jae 0x14000747e
mov qword [rsp + 0x80], r14
add rdi, rdx
lea r14, [0x1400d95a8]
nop word [rax + rax]
mov ecx, dword [rsi + 0x38]
lea r8, [rsp + 0x40]
mov eax, dword [rdi + 4]
add rax, rbp
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rdx, [rcx - 1]
add rdx, rax
lea rax, [rcx - 1]
not rax
and rdx, rax
mov qword [rsp + 0x40], rdx
mov edx, dword [rdi + 0x1c]
mov ecx, edx
mov eax, edx
shr rax, 0x1e
shr rcx, 0x1d
and eax, 1
and ecx, 1
lea rcx, [rax + rcx*2]
mov eax, edx
shr rax, 0x1f
lea rdx, [rsp + 0x30]
lea rcx, [rax + rcx*2]
mov r9d, dword [r14 + rcx*4]
lea rax, [rsp + 0x38]
bts r9d, 9
mov qword [rsp + 0x20], rax
test dword [rdi + 0x1c], 0x4000000
cmove r9d, dword [r14 + rcx*4]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov ecx, eax
test eax, eax
js 0x140007459
movzx eax, word [rsi + 6]
inc ebx
add rdi, 0x28
cmp ebx, eax
jb 0x1400073c0
mov eax, ecx
mov r14, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003e240
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov eax, ebx
jmp 0x140007461
Function at 0x1400078e0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140007987
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140007987
movsxd r8, dword [rbx + 0x3c]
movzx edx, word [r8 + rbx + 6]
lea eax, [rdx + rdx*4]
lea ecx, [r8 + rax*8]
movabs rax, 0xaabbcc11ffee00
movsxd rdi, ecx
add rdi, 0x108
add rdi, rbx
cmp qword [rdi], rax
jne 0x140007987
cmp qword [rdi + 0x10], rbx
jne 0x140007987
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rdi, rdi
je 0x140007990
movzx eax, byte [rdi + 0xc]
and al, 6
cmp al, 2
je 0x140007990
cmp qword [rdi + 0x20], 0
je 0x14000795f
mov rcx, rdi
call fcn.14000a990
cmp qword [rdi + 0x10], 0
je 0x140007977
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400084a0
Capabilities:
Access pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x14000852c
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + rdx]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
test al, al
je 0x140008506
movzx eax, byte [rbx + 0xc]
or al, 1
mov byte [rbx + 0xc], al
mov rdx, qword [rbx + 0x38]
mov rax, qword [0x1400f24f0]
cmp byte [rax + 0x14], 5
ja 0x1400084f5
mov eax, dword [rdx + 0x68]
bts eax, 0x13
mov dword [rdx + 0x68], eax
jmp 0x1400084ff
mov ecx, dword [rdx + 0x68]
bts ecx, 0x13
mov dword [rdx + 0x68], ecx
mov eax, 1
jmp 0x140008531
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140008524
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140008540
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov r13, rdx
mov r12, rcx
xor edi, edi
cmp qword [r8], rdi
je 0x140008684
mov r8, qword [r8 + 8]
test r8, r8
je 0x140008684
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000859c
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
jmp 0x140008618
mov rcx, r12
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r15, rax
mov qword [rsp + 0x28], rdi
test rax, rax
je 0x14000867d
movzx esi, word [rax + 0x14]
add rsi, 0x18
add rsi, rax
mov qword [rsp + 0x28], rsi
movzx r14d, di
mov word [rsp + 0x20], di
nop
cmp r14w, word [r15 + 6]
jae 0x1400085fd
mov r8d, 8
mov rdx, rsi
mov rcx, r13
call fcn.140053128
test eax, eax
jne 0x140008656
mov eax, dword [rsi + 0xc]
add rax, r12
mov qword [rbx + 0x10], rax
mov eax, dword [rsi + 8]
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000866e
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14000866e
mov r8, qword [rbx + 8]
cmp rax, r8
jb 0x14000866e
mov r14, rcx
sub r14, r8
add r14, rax
cmp rcx, r14
ja 0x14000866e
mov rsi, qword [rbx + 8]
mov rdx, rcx
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, rsi
je 0x140008695
mov rcx, qword [rbx + 0x10]
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
mov r8, rsi
jmp 0x140008621
add rsi, 0x28
mov qword [rsp + 0x28], rsi
inc r14w
mov word [rsp + 0x20], r14w
jmp 0x1400085d0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc0000225
jmp 0x140008691
mov edi, 0xc00000ef
jmp 0x140008691
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc000000d
mov dword [rsp + 0x24], edi
jmp 0x14000869d
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x140008770
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rdx
mov r12, rcx
mov byte [rsp + 0x20], 0
xor edi, edi
test rdx, rdx
je 0x14000879e
mov qword [rdx], rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rbx, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x70], rdi
test rax, rax
je 0x1400088e3
movzx eax, word [rax + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x140008838
mov ecx, 0x20b
cmp ax, cx
je 0x1400087d9
xor al, al
jmp 0x1400088e3
movzx esi, word [rbx + 0x14]
add rsi, 0x18
add rsi, rbx
mov qword [rsp + 0x30], rsi
mov r14d, dword [rbx + 0x54]
mov qword [rsp + 0x70], r14
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, rsi
call fcn.140008900
mov rax, r14
mov word [rsp + 0x24], di
cmp di, word [rbx + 6]
jae 0x140008830
mov ecx, dword [rsi + 0x10]
add rcx, r14
mov r14, rcx
mov qword [rsp + 0x70], rcx
inc di
add rsi, 0x28
mov qword [rsp + 0x30], rsi
jmp 0x140008806
mov edi, dword [rbx + 0xac]
jmp 0x140008895
movzx esi, word [rbx + 0x14]
add rsi, 0x18
add rsi, rbx
mov qword [rsp + 0x30], rsi
mov r14d, dword [rbx + 0x54]
mov qword [rsp + 0x70], r14
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, rsi
call fcn.140008900
mov rax, r14
mov word [rsp + 0x28], di
cmp di, word [rbx + 6]
jae 0x14000888f
mov ecx, dword [rsi + 0x10]
add rcx, r14
mov r14, rcx
mov qword [rsp + 0x70], rcx
inc di
add rsi, 0x28
mov qword [rsp + 0x30], rsi
jmp 0x140008865
mov edi, dword [rbx + 0x9c]
add rdi, rax
mov qword [rsp + 0x70], rdi
mov ebx, dword [rbx + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.140008900
test r15, r15
je 0x1400088b3
mov qword [r15], rdi
test ebx, ebx
jne 0x1400088bb
mov al, 1
jmp 0x1400088e3
mov r8d, ebx
mov edx, edi
mov rcx, r12
call fcn.1400086c0
mov byte [rsp + 0x20], al
jmp 0x1400088e3
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140008d80
Capabilities:
Access pe header
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
test rdx, rdx
je 0x140008da5
mov qword [rdx], rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rdi, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
add rax, 0x10
cmp rdi, rax
je 0x140008ea6
movzx r8d, word [rdi + 0x48]
mov rdx, rsi
mov rcx, qword [rdi + 0x50]
call fcn.140053228
test eax, eax
jne 0x140008e9e
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x140008e20
add rax, rax
movzx ecx, word [rdi + 0x48]
cmp rax, rcx
jne 0x140008e9e
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x140008e7c
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140008e7c
movsxd rdx, dword [rsi + 0x3c]
movzx eax, word [rdx + rsi + 6]
lea ecx, [rax + rax*4]
lea eax, [rdx + rcx*8]
cdqe
add rax, 0x108
add rax, rsi
movabs rcx, 0xaabbcc11ffee00
cmp qword [rax], rcx
jne 0x140008e7c
cmp qword [rax + 0x10], rsi
je 0x140008e7f
mov rax, rbx
test rax, rax
setne bl
mov dword [rsp + 0x40], ebx
test rax, rax
je 0x140008ea6
test r14, r14
je 0x140008ea6
mov qword [r14], rdi
jmp 0x140008ea6
mov rdi, qword [rdi]
jmp 0x140008de0
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x110]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x140008ec6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140008ee0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rbx, rcx
mov rdi, rdx
mov esi, r8d
mov edx, 8
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov dword [rax + 0x20], esi
mov rcx, qword [0x1400f24f0]
mov rcx, qword [rcx + 0x68]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x1400f24f0]
mov rdx, qword [rcx + 0x68]
mov rcx, qword [rdx + 0x38]
add rdx, 0x30
mov qword [r14 + 8], rcx
mov qword [r14], rdx
mov qword [rcx], r14
mov qword [rdx + 8], r14
mov rax, qword [0x1400f24f0]
mov rcx, qword [rax + 0x68]
add rcx, 8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140009540
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400f24f0]
mov rdi, rcx
xor ebx, ebx
mov ebp, r9d
mov r14d, r8d
mov r15d, edx
mov esi, ebx
mov rcx, qword [rax + 0x68]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400f24f0]
mov rcx, qword [rax + 0x68]
mov rax, qword [rcx + 0x30]
lea r9, [rcx + 0x30]
cmp rax, r9
je 0x1400095fe
cmp qword [rax + 0x10], rdi
je 0x1400095fb
mov rax, qword [rax]
cmp rax, r9
jne 0x140009595
add rcx, 8
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1400f24f0]
mov r9d, ebp
mov r8d, r14d
mov edx, r15d
mov rcx, rdi
mov r10, qword [rax + 0x68]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x78]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rsi, rax
add rcx, 8
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x1400095ad
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x30], rbx
mov rdi, qword [rax + 0x30]
test rdi, rdi
je 0x140009692
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140009692
movsxd rdx, dword [rdi + 0x3c]
movzx ecx, word [rdx + rdi + 6]
lea eax, [rcx + rcx*4]
movabs rcx, 0xaabbcc11ffee00
lea eax, [rdx + rax*8]
cdqe
add rax, rdi
cmp qword [rax + 0x108], rcx
jne 0x140009692
cmp qword [rax + 0x118], rdi
jne 0x140009692
cmp dword [rsi + 0x20], ebx
je 0x14000969a
mov r8d, dword [rax + 0x138]
lea rcx, [rsp + 0x30]
mov rdx, qword [rax + 0x120]
call fcn.140007490
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140009692
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call fcn.140008ee0
mov rax, rbx
jmp 0x1400095e2
mov rax, qword [rax + 0x120]
jmp 0x1400095e2
Function at 0x140009cf0
Capabilities:
Access pe header
Access peb ldr_data
Check os version

Disassembly:
push rbx
push rbp
push r12
push r13
sub rsp, 0x78
mov rax, qword [0x1400ecdc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r12d, r12d
lea rcx, [0x1400d96b8]
mov ebx, r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rcx, qword [0x1400f24f0]
lea r13, [0x1400d96ac]
mov r8, rax
mov qword [rsp + 0x20], rax
xor eax, eax
mov qword [rsp + 0x30], 0x18
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
cmp dword [rcx + 8], 6
mov qword [rsp + 0x28], rax
movups xmmword [rsp + 0x38], xmm0
jne 0x140009d83
cmp dword [rcx + 0xc], 2
jne 0x140009d7d
mov rbx, rbp
mov rax, r8
jmp 0x140009e80
cmp dword [rcx + 0xc], 3
je 0x140009d8d
mov eax, r12d
seta al
test eax, eax
je 0x140009d9f
mov rbx, rbp
lea r13, str..mrdata
mov rax, r8
jmp 0x140009e80
mov rax, qword gs:[0x30]
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0x70], r15
mov rcx, qword [rax + 0x60]
mov r15, qword [rcx + 0x18]
add r15, 0x10
mov r14, qword [r15]
cmp r14, r15
je 0x140009e65
mov qword [rsp + 0xa0], rsi
movabs r13, 0xaabbcc11ffee00
mov qword [rsp + 0xa8], rdi
nop word [rax + rax]
mov rdi, qword [r14 + 0x30]
lea rsi, [r14]
mov r14, qword [r14]
test rdi, rdi
je 0x140009e32
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140009e32
movsxd rdx, dword [rdi + 0x3c]
movzx ecx, word [rdx + rdi + 6]
lea eax, [rcx + rcx*4]
lea eax, [rdx + rax*8]
cdqe
cmp qword [rax + rdi + 0x108], r13
jne 0x140009e32
cmp qword [rax + rdi + 0x118], rdi
je 0x140009e49
test rbx, rbx
je 0x140009e45
mov rax, qword [rsi + 0x30]
cmp rbx, rax
jb 0x140009e49
mov rbx, rax
jmp 0x140009e49
mov rbx, qword [rsi + 0x30]
cmp r14, r15
jne 0x140009df0
mov rdi, qword [rsp + 0xa8]
lea r13, [0x1400d96ac]
mov rsi, qword [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r8, qword [rsp + 0x20]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0xb0]
test rbx, rbx
je 0x140009f2d
test rax, rax
je 0x140009f2d
test rbp, rbp
je 0x140009f2d
test r8, r8
je 0x140009f2d
mov ecx, dword [rax + 0xa4]
test ecx, ecx
je 0x140009eb8
mov r12d, dword [rax + 0xa0]
add r12, rbx
mov eax, dword [rax + 0x50]
lea r8, [rsp + 0x28]
mov dword [rsp + 0x5c], ecx
mov rdx, r13
mov rcx, rbp
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], eax
call fcn.140008540
test eax, eax
js 0x140009f2d
mov r11, qword [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 2]
lea ecx, [rdx + 4]
call fcn.140008990
test eax, eax
je 0x140009f09
cmp dword [r11 - 0xc], 0x200
jne 0x140009f19
cmp dword [r11 - 4], r8d
je 0x140009f47
cmp dword [r11 - 0xc], 0x200
jne 0x140009f19
cmp dword [r11 - 8], r8d
je 0x140009f47
lea r8, [rsp + 0x28]
mov rdx, r13
mov rcx, rbp
call fcn.140008540
test eax, eax
jns 0x140009ee1
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003e240
add rsp, 0x78
pop r13
pop r12
pop rbp
pop rbx
ret
lea rax, [r11 - 0x10]
jmp 0x140009f2f
Function at 0x140009fd0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400ecdc0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov dword [rbp - 0x64], ebx
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x70], rbx
mov r9, qword gs:[0x30]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [r9 + 0x60]
cmp dword [rcx + 0x2c0], ebx
lea rcx, [rbp - 0x50]
jne 0x14000a048
mov r8, qword [r9 + 0x40]
lea rdx, str.BaseNamedObjectsMMPP_p
not r8
xor r8, qword [rax + 0x30]
call fcn.14000a930
jmp 0x14000a073
mov r9, qword [r9 + 0x40]
lea rdx, str.Sessions_dBaseNamedObjectsMMPP_p
not r9
xor r9, qword [rax + 0x30]
mov rax, qword gs:[0x30]
mov r8, qword [rax + 0x60]
mov r8d, dword [r8 + 0x2c0]
call fcn.14000a930
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], bx
jne 0x14000a080
add ax, ax
mov qword [rsp + 0x30], rbx
mov word [rbp - 0x68], ax
lea r9, [rbp - 0x58]
add ax, 2
mov dword [rsp + 0x28], 0x8000000
mov word [rbp - 0x66], ax
lea r8, [rsp + 0x60]
lea rax, [rbp - 0x50]
mov dword [rsp + 0x60], getservbyname
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x50]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x68], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
mov edx, 0xf001f
mov dword [rsp + 0x78], ebx
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x58], 0x1000
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
js 0x14000a16f
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x48], 4
lea r8, [0x1400f24f0]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rdx, [r9 - 1]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
jns 0x14000a14f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14003e240
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rbp
ret
cmp eax, 0xc0000035
jne 0x14000a14f
lea r8, [rsp + 0x60]
mov edx, 0xf001f
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtOpenSection]
test eax, eax
js 0x14000a14f
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0x58]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rdx, [r9 - 1]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14000a14d
mov rdx, qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
mov rax, qword [rdx + 0x70]
mov qword [0x1400f24f0], rax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, 0xc0000510
jmp 0x14000a14f
Function at 0x14000acd0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400ecdc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x14000ad0d
xor al, al
jmp 0x14000ad5c
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x14000ad1e
xor al, al
jmp 0x14000ad5c
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x14000ad45
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x14000ad45
mov al, 1
jmp 0x14000ad5c
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003e240
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003e240
add rsp, 0x60
pop rbx
ret

Function at 0x14000af60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400ecdc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x14000af91
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x14000b056
nop word [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x14000afbb
add rbx, 0x8000000
jmp 0x14000b04d
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b056
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x14000b032
cmp rcx, 0x10000
jb 0x14000b032
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x14000b058
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x14000b056
add rbx, 0x10000
jmp 0x14000b04d
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14000b04d
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x14000afa0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003e240
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret