joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401bce8d
Capabilities:
Encode data using xor

Disassembly:
movzx r8d, bl
movsxd rsi, esi
add rdi, rsi
imul rdx, rdx
or rax, rdi
jmp rax
lea r11, [r11 + r8 - 4]
mov ebx, dword [r11 + r8*2]
shl cx, cl
call fcn.1401bc79d
sar r9w, cl
xadd r9d, ebx
not dl
inc dl
mov qword [rsp + r8], r9
add qword [rsp + r8], r9
neg dl
bswap ecx
xor bpl, dl
sal word [rsp + r8*4 + 4], 0x43
pop rcx
call fcn.14019a616
mov r9d, 0x523f1627
movsx r8d, r9w
mov ecx, r8d
mov r9, r10
not r8b
lea rbx, [rcx*8 - 0x6404b59]
movzx eax, bl
lea r10, [r10 + r8*2 - 0x2db2]
sar r8d, 0x32
mov word [r10 + r8*2], r9w
lea rsi, [r8 + rbx*4 + 0x6bbb9d94]
jbe 0x1401bce7c
mov esi, 0x551a7ca9
movzx eax, sil
mov rdx, qword [r10 + rax*4 - 0x2a4]
rol al, 0xa7
push rax
movzx bx, byte [rdx + rsi - 0x551a7ca9]
movzx ecx, word [rsp + rax - 0xd1]
lea r10, [r10 + rax*2 - 0x1a2]
lea rdx, [rcx + 0x19b082ac]
sar eax, 0x48
mov word [rax + r10], bx
lea r11, [r11 + rax*2 - 4]
mov esi, dword [rax + r11]
sub cx, 0x8a9e
mov r9d, edx
xor esi, ebp
xor dword [rsp + rax + 4], 0x43047790
mov ebx, ecx
xor esi, 0x281e4a0e
dec rbx
inc esi
jmp 0x1401bd694
and word [rsp + rax*4 + 5], bx
btc cx, cx
xor esi, 0x3d358630
shr ecx, cl
ror esi, 2
mov qword [rsp + rax*2], rbp
lea rbp, [rax + r9*2 - 0x20c55f59]
lea rcx, [rbx + 0x5ba56a95]
shr al, 0x42
xor dword [rsp + rax], esi
mul ax
lea rbx, [rdx*2 - 0x134b1fc2]
neg rdx
pop rbp
jp 0x1401b23ab

Function at 0x1401bcf84
Capabilities:
Encode data using base64

Disassembly:
not al
mov qword [rsp + rsi - 0x102278af], rbp
and r9w, 0x7c8d
call fcn.1401bbda4
mov edx, 0x2dae8ab7
movzx ecx, dx
mov edx, dword [rdx + r10 - 0x2dae8ab7]
movsx eax, cx
mov eax, dword [rcx + r10 - 0x8ab3]
mov cl, byte [r10 + rcx*2 - 0x11566]
mov r9d, 0x9e0cee81
movzx r8d, r9b
btc r9, r8
lea r10, [r10 + r8 - 0x7b]
shld edx, eax, cl
mov dword [r10 + r8*2 - 0x102], edx
mov ebx, r8d
call fcn.1401bf585
ror r9b, 1
mov ebx, eax
inc dx
sub r9b, 0x8d
shr sil, 0xe4
ror bl, 0x42
cdq
not r9b
jae 0x1401bdb40
dec r9b
inc ax
xor bpl, r9b
lea r9, [rsp + r9 + 0x20]
ror edx, 0xe8
btr r8w, bx
mov esi, dword [rsi + r9 - 0x58a66602]
lea r10, [r10 + rdx - 4]
ror byte [rsp + rdx + 0x14], 0x82
xchg al, dl
mov dword [r10 + rdx*4 - 0x384], esi
not bl
adc dword [rsp + rdx - 0xd2], edx
call fcn.14019d300
Function at 0x1401bea20
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1401c35ad
mov r9d, ecx
movsx edx, r9b
xor r8d, ebp
xor r9w, 0x490
and r9, 0xffffffffd6393e15
lea r8d, [rcx + r8 - 0x93141d]
sal esi, cl
movzx eax, si
neg r8d
ror r9w, 0x86
rol dx, 1
xor r8d, 0xcd039f0c
or rsi, 0xffffffffb4105728
adc r8d, 0x929b22af
neg si
push rbp
xor dword [rsp + rsi*4 + 0x27355ca0], r8d
and esi, r9d
inc edx
pop rbp
inc dx
movzx ebx, si
lea r10, [r10 + rsi - 0x94]
mov dword [rsi + r10 - 0x90], r8d
div r9b
lea r11, [rsi + r11 - 0x94]
shr ebx, 0x24
mov esi, dword [r11 + rsi*8 - 0x480]
xor esi, ebp
mov r8d, edx
shr ecx, 0x33
neg esi
jmp 0x140197f94
xor bpl, r8b
shl r9b, 5
adc r8, rsp
mul al
call fcn.1401ba6ca
jmp 0x1401a88d1
call fcn.1401a963b
sub r11, 1
mov r8d, 0x9e2c3b26
movsx r9d, r8w
movzx r8d, byte [r11 + r9*8 - 0x1d930]
lea rbx, [r9 + r9*4 - 0x3af655dc]
movzx esi, r9w
xor r8b, bpl
lea rcx, [rbx + rbx + 0x4cacc7ba]
mov eax, ecx
neg eax
ror r8b, 1
sub r8b, 0x8d
not r8b
shr eax, 0x51
dec r8b
xor ecx, ecx
sal r9, 0x3d
ja 0x1401b5ed3
call fcn.1401990b1
mov esi, 0x92236111
sub r11, 4
mov r8d, esi
movzx ecx, si
mov r8d, dword [rcx + r11 - 0x6111]
jmp 0x1401adf29

Function at 0x1401bf391
Capabilities:
Encode data using base64
Manually build aes constants

Disassembly:
lea r8d, [r8 + rax*4 + 0x4c07b770]
dec si
cwde
ror rcx, cl
mov qword [rsp + rax - 0x180d], rbp
bt edx, 0x3c
adc r9d, ecx
xor dword [rsp + rax*2 - 0x301a], r8d
pop rbp
bts ecx, esi
not bl
call fcn.1401bc5e6
mov edx, 0x519e03a0
lea r11, [rdx + r11 - 0x519e03a4]
shl edx, 0x88
lea rsi, [rdx + rdx*4 + 0x712058b1]
sub rdx, rdx
mov r9d, dword [rdx + r11]
adc sil, 5
movsx ebx, dx
mov r8d, 0xbf199c3e
xor r9d, ebp
inc r9d
bswap r9d
btr si, 0xbe
neg edx
neg r9d
shl bl, 0x87
lea r9d, [rdx + r9 + 0x16ba9337]
bswap r9d
mov ecx, 0x13b00037
xor r9d, 0x8bbe0724
push rbp
xor dword [rsp + rdx], r9d
jmp 0x1401aa142

Function at 0x1401bfecc
Capabilities:
Execute anti-debugging instructions

Disassembly:
adc r8, rsp
jmp 0x1401c09c4
mul r8
xor al, byte [rbx + r11]
bts rbx, 0x2b
xor al, bpl
or bl, bl
neg ecx
and ecx, 0x404c811
xor al, 0x9d
sub al, cl
pop rbx
xor al, 0xb5
sar rcx, cl
not al
dec dl
jle 0x1401b7028
pop rbx
jmp 0x1401c0890
xor bp, r8w
xchg edx, ecx
imul ax, dx
jae 0x1401bbf23
mov dword [rcx + r8 - 0x1a127ffb], r9d
jmp 0x1401b39f3

Function at 0x1401c5b31
Capabilities:
Execute anti-debugging instructions

Disassembly:
cwde
adc rdi, rdx
or r8d, dword [rsi + r10 - 0x3a076a1d]
mov qword [rsp + rsi - 0x3a076a1d], 0x1331c62d
push rax
mov ebx, dword [r10 + rsi - 0x3a076a19]
lea r10, [rsi + r10 - 0x3a076a19]
cbw
shl dword [rsp + rsi - 0x3a076a14], cl
not r8d
sbb dword [rsp + rcx - 0x2a], r9d
jl 0x1401b6fe5
not ebx
sub word [rsp + rsi - 0x3a076a16], r9w
and r8d, ebx
mov dword [r10 + rsi*2 - 0x740ed43a], r8d
rol word [rsp + rsi*2 - 0x740ed435], 0xcf
push rax
sub ax, 0x9e8f
mov qword [rsp + rsi*2 - 0x740ed43a], rdi
ret 0x10
Function at 0x1401c84ec
Capabilities:
Manually build aes constants

Disassembly:
not esi
mov r8d, eax
not bl
btc r9, r8
push rbp
xor dword [rsp + rcx*2 - 0x3424fff6], esi
pop rbp
cqo
ror r8d, cl
movsxd rsi, esi
adc rdi, rsi
dec rdx
xadd r8, rbx
add rbx, rdi
jmp rbx
movsxd rsi, esi
ror bx, 0xe8
push rdx
add rdi, rsi
add cl, 0x2c
movsx esi, bl
mov qword [rsp + rdx*2 - 0x8e00], rdi
ret
jae 0x1401b39a8
xor r8d, ebp
dec r8d
bts r9, r9
inc r9w
sal r9, 0x52
bswap r8d
rol r9w, 0xd
shr r9b, 0xe3
call fcn.1401bc1d3
not esi
neg esi
lea esi, [rsi + rdx*2 + 0x6a0dc579]
xor dl, r9b
ror edx, 0xf9
mov ecx, eax
push rbp
xor dword [rsp + rdx*8 - 0x23800], esi
sal al, 0xa2
pop rbp
shl rax, cl
jne 0x1401ad705
movsx r9d, dl
lea r11, [rcx + r11 - 0x1a127fff]
mov esi, dword [r11 + rcx*4 - 0x6849ffec]
or dx, dx
xor esi, ebp
cwde
and edx, ecx
setg dl
not esi
neg esi
shl dl, 6
bswap esi
add edx, eax
sar rdx, cl
jae 0x14019e622
mov eax, 0x3d17e61a
mov rax, qword [rbp + rbx*8 + 0x20]
jmp 0x1401b8bd8
xor bx, 0x913f
rol bx, 1
not bx
dec r8w
sal r8, cl
adc qword [rsp + rcx*2 - 0x7f88d97], r8
ror bx, 1
xor bp, bx
lea rbx, [rsp + rbx + 0x18]
call fcn.1401b87e9
mov r8d, 0x80bf3808
sub r11, 4
lea r9, [r8*8 - 0x5f4badf6]
inc r8w
xchg r8w, r9w
mov r8d, dword [r11]
rol r9w, 0xa2
ja 0x1401b2c94
cmp ebx, 4
lea rsp, [rsp + 8]
jne 0x1401c4a60
mov r9, rax
push 0xffffffffd917cb20
call fcn.1401c39d0
mov rbp, qword [rsp + rbx - 0x4e330d7f]
btr r8d, 0xb1
or esi, 0xd98478a1
xor esi, edx
movsxd rax, eax
mov qword [rsp + rsi - 0x267b8718], r8
mov qword [rsp + rbx - 0x4e330d7f], r8
adc rdi, rax
pop rsi
pop rax
jmp fcn.1401c33e7

Function at 0x1401c9197
Capabilities:
Authenticate hmac
Encode data using base64
Manually build aes constants

Disassembly:
adc r9, qword [rsp + rdx*2 - 0x98]
not ax
pop rsi
jne 0x1401acafe
bswap edx
rol bx, 1
and dword [rsp + rdx*8 + 3], edx
ror rsi, 0x32
imul r9w, word [rsp + rdx + 4]
adc bx, 0x60af
shl r9d, 0xe4
not bx
lea r8, [rdx + rdx*2 - 0x461fb58]
call fcn.1401c11c4

Function at 0x1400018e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000192e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000192e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000192e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000192e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000192e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001930
xor al, al
add rsp, 0x28
ret
Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140014860
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015bb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015bd0
xor al, al
jmp 0x140015c51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015be3
xor al, al
jmp 0x140015c51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015c0d
xor al, al
jmp 0x140015c51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015c21
xor al, al
jmp 0x140015c51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015c33
xor al, al
jmp 0x140015c51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015c4f
xor al, al
jmp 0x140015c51
mov al, 1
add rsp, 0x38
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
pop rbx
invalid
Function at 0x140001000
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
jmp 0x1400010a4
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov r13, r9
mov r12b, dl
mov dword [rax - 0x48], edi
mov rbp, rcx
lea r9, [rax - 0x48]
xor r8d, r8d
xor edx, edx
lea r14d, [rdi + 5]
mov esi, edi
mov ecx, r14d
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov r15d, 0xc0000004
jmp 0x140001120
mov ebx, dword [rsp + 0x20]
mov ecx, 1
mov edx, ebx
mov r8d, 0x6a6e494b
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rdx, rax
mov ecx, r14d
mov rsi, rax
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov ebx, eax
cmp eax, r15d
je 0x1400010f2
test eax, eax
jns 0x14000114b
test rsi, rsi
je 0x140001141
lfence
mov edx, 0x6a6e494b
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lfence
mov eax, ebx
jmp 0x140001233
mov r15, rsi
mov qword [rsp + 0x30], rsi
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
cmp qword [rsi + 0x50], rax
je 0x140001178
mov eax, dword [rsi]
add rsi, rax
cmp dword [rsi], edi
jne 0x140001153
lfence
mov edi, 0xc0000225
jmp 0x140001223
lfence
mov r14d, edi
cmp dword [rsi + 4], edi
jbe 0x140001223
mov r15, qword [rsp + 0x80]
mov eax, r14d
lea rcx, [rax + rax*4]
add rcx, rcx
mov rbx, qword [rsi + rcx*8 + 0x130]
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
cmp rbx, rax
je 0x140001211
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rdi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupThreadByThreadId]
test eax, eax
js 0x140001211
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x140001211
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_PsGetThreadTeb]
mov rbx, rax
test rax, rax
je 0x140001206
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_PsIsThreadTerminating]
test al, al
jne 0x140001206
cmp qword [rbx + 0x78], rdi
jne 0x140001206
test r12b, r12b
je 0x140001251
cmp dword [rbx + 0x21a8], edi
je 0x140001206
cmp dword [rbx + 0x202c], edi
jne 0x140001260
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc r14d
cmp r14d, dword [rsi + 4]
jb 0x14000118f
mov r15, qword [rsp + 0x30]
mov edx, 0x6a6e494b
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rbx + 0x2c8], rdi
je 0x140001206
cmp qword [rbx + 0x58], rdi
je 0x140001206
mov rcx, qword [rsp + 0x28]
mov r8, r13
mov rdx, r15
call fcn.140001284
mov rcx, qword [rsp + 0x28]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test ebx, ebx
jns 0x14000121e
jmp 0x140001211
Function at 0x140002d14
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 0x140002dd4
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x140002d74
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 0x140002dcf
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 0x140002d51
lfence
test eax, eax
jns 0x140002dc3
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x140002dd4
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x140002dbf
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 0x140002e54
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 0x140002f8a
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140002f8a
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 0x140002ed3
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc000010a
jmp 0x140002f8f
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.140005be4
test rax, rax
je 0x140002f39
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.140002fb4
test eax, eax
jns 0x140002f3e
mov ebx, eax
lfence
jmp 0x140002f72
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 0x140002f72
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 0x140002f92
mov eax, 0xc0000225
lfence
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140005f30
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002fb4
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 0x1400030ec
mov rcx, qword [rbp - 0x30]
lea rdx, [0x140007858]
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, [0x140007840]
sbb rbx, rbx
and rbx, 0xfffffffffffffff8
add rbx, 0x10
test r12b, r12b
cmovne rdx, rax
call fcn.140006140
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.140006140
movzx r8d, word [r13]
lea rcx, [rbx + r14]
add rcx, qword [rbp - 0x30]
mov rdx, qword [r13 + 8]
call fcn.140006140
mov rax, qword [rbp - 0x30]
test r12b, r12b
je 0x1400030d4
mov dword [rax + 1], esi
jmp 0x1400030d8
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 0x14000310c
Capabilities:
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rbx, rcx
mov rdi, rdx
lea rcx, [0x140006620]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x140006640]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r14d, 0x100
lea r8, [rbp + 0x1a0]
mov r9d, r14d
lea rdx, [0x1400066d0]
lea rcx, [rsp + 0x50]
call fcn.14000411c
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r9d, r14d
lea r8, [rbp + 0x3a0]
lea rdx, [0x1400066e0]
lea rcx, [rsp + 0x50]
call fcn.14000411c
lea rdx, [rbp + 0x3a0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8d, r14d
lea rcx, [rbp - 0x60]
xor edx, edx
call fcn.140006480
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.1400042fc
mov r8d, r14d
lea rcx, [rbp + 0xa0]
xor edx, edx
call fcn.140006480
mov r8d, 0x18
lea rdx, [0x1400066f0]
lea rcx, [rbp + 0xa0]
call sub.ntoskrnl.exe_strncpy
lea rdx, [rbp + 0xa0]
dec rdx
inc rdx
cmp byte [rdx], 0
jne 0x140003208
lea r8, [rbp - 0x60]
xor ecx, ecx
mov al, byte [r8 + rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140003216
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
mov r8b, 1
lea rdx, [rsp + 0x78]
lea rcx, [0x14000b820]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov cl, byte [rbp - 0x60]
lea rdx, [rbp - 0x60]
jmp 0x140003265
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140003260
sub cl, 0x20
mov byte [rdx], cl
inc rdx
mov cl, byte [rdx]
test cl, cl
jne 0x140003254
movaps xmm0, xmmword [rbp - 0x70]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140003570
mov rcx, rdi
call fcn.1400014dc
test eax, eax
jns 0x140003295
lea rcx, [0x140006710]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, rbx
call fcn.14000488c
mov rcx, rbx
call fcn.140002620
mov rcx, rbx
call fcn.1400058e4
test eax, eax
jns 0x1400032bd
lea rcx, [0x140006740]
call sub.ntoskrnl.exe_DbgPrint
and qword [rsp + 0x30], 0
lea rax, [0x140004210]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x60]
and qword [rsp + 0x20], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
lea rcx, [rbp - 0x60]
call fcn.1400033ac
cmp qword [0x14000b450], 0
je 0x140003342
xorps xmm0, xmm0
lea r8, [rbp + 0x5a0]
mov r9d, r14d
lea rdx, [0x140006770]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x40], xmm0
call fcn.14000411c
lea rdx, [rbp + 0x5a0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [0x14000b450]
lea rdx, [rsp + 0x40]
call fcn.140002e54
lea rax, [0x140003380]
mov qword [rbx + 0x68], rax
xor eax, eax
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140005f30
mov rbx, qword [rsp + 0x8e0]
add rsp, 0x8b0
pop r14
pop rdi
pop rbp
ret
Function at 0x140003544
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