joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140108490
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm6
mov rsi, rcx
xor ecx, ecx
call fcn.1400f3180
test rax, rax
je 0x14010874a
movups xmm6, xmmword [rax]
inc qword [rax]
movzx eax, byte [0x140188180]
mov edx, 0x56410
xor ecx, ecx
call fcn.1400f2120
test rax, rax
je 0x14010874a
mov rdi, rax
add rdi, 0x56000
mov r8d, 0x410
mov rcx, rdi
mov dl, 0xff
call sub.msvcrt.dll_memset
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0x3ff
mov qword [rsp + 0x130], 0x380
mov qword [rsp + 0x138], 0
movzx eax, byte [0x140188180]
mov edx, 9
xor ecx, ecx
call fcn.1400f2120
test rax, rax
je 0x14010874a
movabs rcx, 0x5043206c61746f54
mov qword [rax], rcx
mov byte [rax + 8], 0x55
mov qword [rsp + 0x90], 9
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 9
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 1
xorps xmm7, xmm7
movups xmmword [rsp + 0xb8], xmm7
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 8
mov qword [rsp + 0x110], 0
mov byte [rsp + 0x118], 0
movups xmmword [rsp + 0x140], xmm6
movups xmmword [rsp + 0x150], xmm7
movups xmmword [rsp + 0x160], xmm7
mov qword [rsp + 0x170], 0
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm7
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x140108654
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm7
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x1401086ee
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsp + 0x160], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x168], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.140102ed0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1401032a0
mov r8d, 0x120
mov rcx, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rdi
pop rsi
ret
ud2
Function at 0x140108750
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x140108795
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x14010882c
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0xd0], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0xd8], rax
mov rcx, rsi
call fcn.140102ed0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401032a0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
ret
Function at 0x14010ca10
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea rcx, [0x14017da3c]
lea r9, [0x14017da20]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x14010cb1f
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14010cb36
mov rcx, r15
mov rdx, r14
call fcn.140109760
mov r14, rax
mov qword [rsp + 0x50], 0
mov rax, qword [rdi]
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x20], 0
xor r15d, r15d
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x14010cb58
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14010cb70
test r14, r14
je 0x14010cada
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x14010cbb7
mov qword [rsi + 8], rbx
mov byte [rsi], 0x12
jmp 0x14010cb9e
mov ecx, eax
call fcn.140109300
mov ebx, edx
test rax, rax
je 0x14010cb36
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x14010cba7
mov ecx, eax
call fcn.140109300
mov r15d, edx
test rax, rax
je 0x14010cb70
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
test r14, r14
je 0x14010cb7d
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call fcn.140109300
mov ebp, edx
test rax, rax
je 0x14010cbce
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x52]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x50]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebp
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
mov byte [rsi], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x14010cb9e
Function at 0x140115950
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140116710
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140116710
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1401159c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140188214]
mov rbx, rcx
test esi, esi
jle 0x140115af0
mov rax, qword [0x140188218]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140115a0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140115a95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401159f0
mov rcx, rbx
call fcn.140116430
mov rdi, rax
test rax, rax
je 0x140115b12
mov rax, qword [0x140188218]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140116570
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140188218]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140115af7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140115a8e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140115aa0
add dword [0x140188214], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140188218]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140115a8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140115950
nop dword [rax]
xor esi, esi
jmp 0x140115a18
mov rax, qword [0x140188218]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140115950
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140115950
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401160a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140188280]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140188260]
test rbx, rbx
je 0x1401160fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1401160f3
test eax, eax
jne 0x1401160f3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401160d8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140116430
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14017e790]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140116450
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140116458
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140116450
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401164ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401164a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140116450
add rax, 0x28
cmp rax, r9
jne 0x140116490
xor eax, eax
ret

Function at 0x1401164b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14017e790]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401164cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401164d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401164cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140116570
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14017e790]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14011658f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140116598
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002bf4
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, r8
lea r9, [rax + 0x20]
mov r14, rdx
xor ebx, ebx
and dword [rax + 0x20], ebx
xor r8d, r8d
and dword [rax - 0x28], ebx
xor edx, edx
mov ebp, ecx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140002cb4
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x140002c54
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x68]
mov edx, eax
xor ecx, ecx
mov r8d, 0x72706c48
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140002caf
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
je 0x140002c31
lfence
test eax, eax
jns 0x140002ca3
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x140002cb4
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x140002c9f
mov eax, 0xc0000022
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140002d34
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
and qword [rbp - 0x19], 0
mov rsi, rdx
lea rdx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x140002e6a
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140002e6a
and qword [rbp - 1], 0
lea rax, [rbp - 1]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [rbp - 0x19]
test eax, eax
jne 0x140002db3
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc000010a
jmp 0x140002e6f
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp + 7]
xorps xmm0, xmm0
test rax, rax
movups xmmword [rbp + 7], xmm0
setne dil
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x19]
mov dl, dil
call fcn.1400054e4
test rax, rax
je 0x140002e19
and qword [rbp - 0x11], 0
lea rcx, [rbp - 9]
and qword [rbp - 9], 0
lea r9, [rbp - 0x11]
mov qword [rsp + 0x20], rcx
mov r8b, dil
mov rcx, rsi
mov rdx, rax
call fcn.140002e94
test eax, eax
jns 0x140002e1e
mov ebx, eax
lfence
jmp 0x140002e52
lfence
mov r9, qword [rbp - 9]
mov dl, dil
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
call section..text
mov ebx, eax
test eax, eax
jns 0x140002e52
mov r9d, 0x10000
lea rdx, [rbp - 0x11]
xor r8d, r8d
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
lea rcx, [rbp + 7]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x140002e72
mov eax, 0xc0000225
lfence
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140005830
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002e94
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x30], 0
mov r15, r9
mov r12b, r8b
mov dword [rax - 0x60], 0x40
mov rsi, rdx
mov qword [rbp - 0x20], 0x1000
mov r13, rcx
mov dword [rax - 0x68], 0x3000
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [rbp - 0x30]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov edi, eax
lfence
test eax, eax
js 0x140002fcc
mov rcx, qword [rbp - 0x30]
lea rdx, [0x1400067e8]
mov al, r12b
xorps xmm0, xmm0
neg al
movzx eax, word [r13]
sbb r14, r14
and qword [rbp - 0x28], 0
mov word [rbp - 0x26], ax
and r14, 0xfffffffffffffff4
mov word [rbp - 0x28], ax
add r14, 0x23
movups xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x16], ax
mov r8, r14
mov word [rbp - 0x18], ax
lea rax, [rcx + 0x10]
add rax, r14
mov qword [rbp - 0x10], rax
lea eax, [rcx + 8]
add eax, r14d
mov dword [rbp - 0x24], eax
mov al, r12b
neg al
lea rax, [0x1400067d0]
sbb rbx, rbx
and rbx, 0xfffffffffffffff8
add rbx, 0x10
test r12b, r12b
cmovne rdx, rax
call fcn.140005980
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x18]
test r12b, r12b
lea rdx, [rbp - 0x28]
mov r8, rbx
cmove rdx, rax
add rcx, r14
call fcn.140005980
movzx r8d, word [r13]
lea rcx, [rbx + r14]
add rcx, qword [rbp - 0x30]
mov rdx, qword [r13 + 8]
call fcn.140005980
mov rax, qword [rbp - 0x30]
test r12b, r12b
je 0x140002fb4
mov dword [rax + 1], esi
jmp 0x140002fb8
mov qword [rax + 2], rsi
mov rax, qword [rbp - 0x30]
mov qword [r15], rax
lea rcx, [r14 + rax]
mov rax, qword [rbp + 0x50]
mov qword [rax], rcx
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400031a8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rdi, rcx
xor ebx, ebx
movsxd rcx, ebx
call fcn.140003374
mov rsi, rax
test rax, rax
je 0x1400032cb
mov rcx, rax
call sub.ntoskrnl.exe_PsGetProcessImageFileName
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax]
lea rdx, [rax + 0x80]
movups xmmword [rcx], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rdx + 0x70]
mov qword [rcx + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
movzx eax, word [rdx + 0x7c]
mov word [rcx + 0x7c], ax
mov al, byte [rdx + 0x7e]
lea rdx, [rsp + 0x20]
mov byte [rcx + 0x7e], al
mov cl, byte [rsp + 0x20]
jmp 0x1400032ac
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1400032a7
sub cl, 0x20
mov byte [rdx], cl
inc rdx
mov cl, byte [rdx]
test cl, cl
jne 0x14000329b
mov rdx, rdi
lea rcx, [rsp + 0x20]
call sub.ntoskrnl.exe_strstr
mov rcx, rsi
test rax, rax
jne 0x1400032db
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
add ebx, 4
cmp ebx, 0x186a0
jge 0x140003326
jmp 0x1400031d1
call qword [sym.imp.ntoskrnl.exe_PsGetProcessInheritedFromUniqueProcessId]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov rcx, rsi
mov rbx, rax
call sub.ntoskrnl.exe_PsGetProcessImageFileName
mov rdx, rax
lea rcx, [0x140005e20]
mov r9, rdi
mov r8, rbx
call sub.ntoskrnl.exe_DbgPrint
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov rcx, rsi
mov qword [0x14000a750], rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140005830
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140003374
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
cmovns rbx, qword [rsp + 0x38]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400055b8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r9, rdx
mov rsi, rcx
mov eax, 0x5a4d
xor ebx, ebx
cmp word [rcx], ax
jne 0x140005717
mov eax, dword [rcx + 0x3c]
test eax, eax
je 0x140005717
add rax, rcx
je 0x140005717
cmp dword [rax], 0x4550
jne 0x140005717
movzx ecx, word [rax + 0x18]
mov edx, 0x20b
cmp cx, dx
jne 0x140005617
mov ecx, 0x88
jmp 0x14000562a
mov edx, 0x10b
cmp cx, dx
jne 0x140005717
mov ecx, 0x78
mov edx, dword [rcx + rax + 4]
mov dword [rsp + 0x80], edx
mov edx, dword [rcx + rax]
test edx, edx
je 0x140005717
mov edi, edx
add rdi, rsi
je 0x140005717
mov eax, dword [rdi + 0x20]
test eax, eax
mov r15, rbx
je 0x140005659
lea r15, [rsi + rax]
mov eax, dword [rdi + 0x1c]
test eax, eax
mov r12, rbx
je 0x140005667
lea r12, [rsi + rax]
mov eax, dword [rdi + 0x24]
test eax, eax
mov r13, rbx
je 0x140005675
lea r13, [rsi + rax]
test r15, r15
je 0x140005717
test r12, r12
je 0x140005717
test r13, r13
je 0x140005717
mov r14d, ebx
mov dword [rsp + 0x20], ebx
cmp r14d, dword [rdi + 0x18]
jae 0x140005717
mov eax, r14d
mov qword [rsp + 0x88], rax
mov ecx, dword [r15 + rax*4]
test ecx, ecx
je 0x14000570d
mov edx, ecx
add rdx, rsi
je 0x14000570d
mov r8d, 0x100
mov rcx, r9
call sub.ntoskrnl.exe_strncmp
test eax, eax
jne 0x140005708
mov rax, qword [rsp + 0x88]
movzx ecx, word [r13 + rax*2]
cmp ecx, dword [rdi + 0x14]
jae 0x140005717
lfence
mov ecx, dword [r12 + rcx*4]
test ecx, ecx
jne 0x1400056ec
mov rcx, rbx
jmp 0x1400056ef
add rcx, rsi
cmp rcx, rdi
jb 0x140005703
mov eax, dword [rsp + 0x80]
add rax, rdi
cmp rcx, rax
jbe 0x140005717
mov rbx, rcx
jmp 0x140005717
mov r9, qword [rsp + 0x78]
inc r14d
mov dword [rsp + 0x20], r14d
jmp 0x140005697
mov rax, rbx
jmp 0x14000571e
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002f50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
test ecx, ecx
mov ecx, 1
je 0x140002f6a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
call sub.tiff.dll_TIFFGetVersion
mov r8, rax
lea rdx, str._s_n_n
mov rcx, rbx
call fcn.140001da0
lea r8, str.Create_a_TIFF_file_from_raw_data_n_nusage:_raw2tiff__options__input.raw_output.tif_nwhere_options_are:_n__L_t_tinput_data_has_LSB2MSB_bit_order__default__n__M_t_tinput_data_has_MSB2LSB_bit_order_n__r__t_tmake_each_strip_have_no_more_than__rows_n__H__t_tsize_of_input_image_file_header_in_bytes__0_by_default__n__w__t_twidth_of_input_image_in_pixels_n__l__t_tlength_of_input_image_in_lines_n__b__t_tnumber_of_bands_in_input_image__1_by_default__n_n__d_data_type_ttype_of_samples_in_input_image_nwhere_data_type_may_be:_n_byte_t_t8_bit_unsigned_integer__default__n_short_t_t16_bit_unsigned_integer_n_long_t_t32_bit_unsigned_integer_n_sbyte_t_t8_bit_signed_integer_n_sshort_t_t16_bit_signed_integer_n_slong_t_t32_bit_signed_integer_n_float_t_t32_bit_IEEE_floating_point_n_double_t_t64_bit_IEEE_floating_point_n_n__p_photo_tphotometric_interpretation__color_space__of_the_input_image_nwhere_photo_may_be:_n_miniswhite_twhite_color_represented_with_0_value_n_minisblack_tblack_color_represented_with_0_value__default__n_rgb_t_timage_has_RGB_color_model_n_cmyk_t_timage_has_CMYK__separated__color_model_n_ycbcr_t_timage_has_YCbCr_color_model_n_cielab_t_timage_has_CIE_Lab_color_model_n_icclab_t_timage_has_ICC_Lab_color_model_n_itulab_t_timage_has_ITU_Lab_color_model_n_n__s_t_tswap_bytes_fetched_from_input_file_n_n__i_config_ttype_of_samples_interleaving_in_input_image_nwhere_config_may_be:_n_pixel_t_tpixel_interleaved_data__default__n_band_t_tband_interleaved_data_n_n__c_lzw_:opts__tcompress_output_with_Lempel_Ziv__Welch_encoding_n______set_predictor_value_n____For_example___c_lzw:2_for_LZW_encoded_data_with_horizontal_differencing_n__c_zip_:opts__tcompress_output_with_deflate_encoding_n______set_predictor_value_n__c_jpeg_:opts__tcompress_output_with_JPEG_encoding_n______set_compression_quality_level__0_100__default_75__n____r__output_color_image_as_RGB_rather_than_YCbCr_n____For_example___c_jpeg:r:50_for_JPEG_encoded_RGB_data_with_50__comp._quality_n__c_packbits_tcompress_output_with_packbits_encoding_n__c_none_tuse_no_compression_algorithm_on_output_n_n__o_out.tif_twrite_output_to_out.tif_n__h_t_tthis_help_message_n
mov rcx, rbx
lea rdx, [0x140004e14]
call fcn.140001da0
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3