joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c8d5c
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, [0x140107ef0]
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 0x1400c8db3
cmp word [rdx], r13w
jne 0x1400c8db3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400c8db8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400c8edd
mov r11d, recvfrom
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400c8efe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400c8df1
mov rdx, r9
mov word [rbx], cx
jmp 0x1400c8e18
cmp r9, r8
jae 0x1400c8e28
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 0x1400c8dd2
jmp 0x1400c8edd
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 0x1400c8ed2
cmp dword [rsp + 0x80], esi
je 0x1400c8ed2
lea r8, [0x140107ef0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400c8eaa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400c8e7a
mov word [rbx], r13w
jmp 0x1400c8eda
mov ecx, recvfrom
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 0x1400c8e87
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400c8eda
cmp word [rsp + 0x70], r13w
jne 0x1400c8eb7
cmp rbx, r14
je 0x1400c8e74
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400c5748
cmp word [rsp + 0x70], r13w
je 0x1400c8edd
mov ecx, recvfrom
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, [0x140107ef0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400c8ed7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400c8edd
Function at 0x1400ce340
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.1400a8164
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400ce3ca
cmp byte [rbp - 0x21], r15b
je 0x1400ce3c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400ce400
call fcn.1400be448
test eax, eax
jne 0x1400ce3ec
cmp byte [rbp - 0x21], r15b
je 0x1400ce3e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400ce400
cmp byte [rbp - 0x21], r15b
je 0x1400ce3fd
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.1400a8200
test eax, eax
jne 0x1400ce4a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a8164
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400ce43f
cmp byte [rbp - 0x21], r15b
je 0x1400ce474
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400ce474
call fcn.1400be448
test eax, eax
jne 0x1400ce460
cmp byte [rbp - 0x21], r15b
je 0x1400ce459
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400ce474
cmp byte [rbp - 0x21], r15b
je 0x1400ce471
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.1400a8200
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400ce4a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400ce4a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400ce4b1
mov rcx, rdi
call fcn.1400bd800
cmp byte [rbp + 0x3f], r15b
je 0x1400ce4c0
mov rcx, qword [rbp + 0x27]
call fcn.1400bd800
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 0x1400d058c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400c5748
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400c5748
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400d06dc
cmp rax, 0xffffffffffffffff
je 0x1400d06dc
xor edi, edi
test rbp, rbp
jle 0x1400d0687
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400bee7c
mov rbx, rax
test rax, rax
jne 0x1400d0614
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400d067d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400b02bc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400c6e4c
cmp eax, 0xffffffff
je 0x1400d065d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400d0624
mov edx, r15d
mov ecx, r14d
call fcn.1400b02bc
jmp 0x1400d067d
cmp byte [rsi + 0x38], dil
je 0x1400d0674
cmp dword [rsi + 0x34], 5
jne 0x1400d0674
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
cmp byte [rsi + 0x30], dil
je 0x1400d067d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400bd800
jmp 0x1400d06f0
jns 0x1400d06f0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400c5748
cmp rax, 0xffffffffffffffff
jne 0x1400d06a8
cmp byte [rsi + 0x30], dil
je 0x1400d06f0
mov edi, dword [rsi + 0x2c]
jmp 0x1400d06f0
mov ecx, r14d
call fcn.1400c5f64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400d06f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recvfrom
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
jmp 0x1400d06f0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400d06e9
mov eax, dword [rsi + 0x2c]
jmp 0x1400d06ee
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400c5748
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140006580]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x140006590]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x140006590]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x140006590]
mov dword [rax], 1
mov rax, qword [0x1400065d0]
mov rdx, rax
mov rax, qword [0x1400065c0]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x14000a024], 1
mov rax, qword [0x140006590]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400065b0]
mov rdx, rax
mov rax, qword [0x1400065a0]
mov rcx, rax
call sym._initterm
mov rax, qword [0x140006590]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140006580]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400064e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400064e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140006570]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x14000a004]
lea rdx, [0x14000a008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140006500]
mov rax, qword [rax]
mov rdx, qword [0x14000a010]
mov qword [rax], rdx
mov rcx, qword [0x14000a010]
mov rdx, qword [0x14000a008]
mov eax, dword [0x14000a004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14000a01c], eax
mov eax, dword [0x14000a020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000a01c]
mov ecx, eax
call sym.exit
mov eax, dword [0x14000a024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000a01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140006530]
mov dword [rax], 1
mov rax, qword [0x140006540]
mov dword [rax], 1
mov rax, qword [0x140006550]
mov dword [rax], 1
mov rax, qword [0x1400064b0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001d20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400029f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000a1a8]
test eax, eax
je 0x140002a8a
lea rax, [0x14000a180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000a1b0]
mov qword [rbp - 8], rax
jmp 0x140002a6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002a62
cmp qword [rbp - 0x10], 0
je 0x140002a62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002a28
lea rax, [0x14000a180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002a8b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140dc0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140dc01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140dc0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dc006f
add dl, dl
jne 0x140dc0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dc00f6
xor eax, eax
add dl, dl
jne 0x140dc00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dc01ad
add dl, dl
jne 0x140dc00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dc00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dc00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dc00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140dc00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140dc007e
mov eax, 1
add dl, dl
jne 0x140dc0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dc0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dc00fb
sub eax, ebx
mov ebx, 1
jne 0x140dc014c
mov ecx, 1
add dl, dl
jne 0x140dc012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dc013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dc0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dc007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140dc0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dc0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dc015d
cmp eax, 0x7d00
jae 0x140dc019b
cmp eax, 0x500
jb 0x140dc0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dc007e
cmp eax, 0x7f
ja 0x140dc019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dc007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140dc01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140dc007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400021c0
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x1400021db
mov al, 1
add rsp, 0x30
pop rdi
ret
cmp dword [0x1402bff40], 0xffffffff
mov qword [rsp + 0x40], rbx
jae 0x1400021f7
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x1400021fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
test eax, eax
jne 0x14000220d
xor ecx, ecx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140002214
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x14023a10c]
mov rbx, rax
lea r9, str.Unable_to_lock_the_computer.
mov rcx, rdi
test rax, rax
je 0x140002272
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000227c
nop
call fcn.140141ea0
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x1400022a0
Capabilities:
Shutdown system

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x1400022bf
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400022d7
xor ecx, ecx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x1400022de
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x14023a10c]
mov rbx, rax
lea r9, str.Unable_to_log_off_the_computer.
mov rcx, rdi
test rax, rax
je 0x14000233a
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140002345
call fcn.140141ea0
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x140014620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402ca9a8]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x28], 5
movups xmmword [rsp + 0x50], xmm0
mov rdi, rcx
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm0
mov qword [r11 - 0x20], 0x95
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x78], rdx
lea rdx, [r11 - 0x28]
mov qword [r11 - 0x70], r8
mov r8d, 3
movups xmmword [r11 - 0x58], xmm0
mov qword [r11 - 0x18], 0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400146ec
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400146ec
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140014dc0]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401e4a20
mov rbx, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret

Function at 0x140014720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402ca9a8]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov rdi, r8
movups xmmword [rsp + 0x50], xmm0
mov rsi, rcx
mov r8d, 3
movups xmmword [rsp + 0x70], xmm0
mov rcx, rbx
mov qword [r11 - 0x30], 0x95
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x60], rdx
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x80], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400147fe
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400147fe
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140014dc0]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x1400147fe
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
mov al, 1
jmp 0x140014800
xor al, al
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001c5e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c629
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c629
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c629
cmp ax, 0x43
jne 0x14001c629
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c629
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
add rsp, 0x20
pop rbx
ret

Function at 0x14001c640
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c6c5
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c6c5
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c692
cmp ax, 0x43
jne 0x14001c6c5
test r8b, 1
je 0x14001c6c5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax]
test ax, ax
jns 0x14001c6c5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
test r8b, 2
je 0x14001c6c5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c6c5
mov edx, 2
mov rcx, rbx
mov r8d, edx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhSetStateAllListViewItems
add rsp, 0x20
pop rbx
ret
Function at 0x140021b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1402ca9a8]
mov rax, r8
mov r8, qword [rbp + 0x6f]
xor esi, esi
mov r10, qword [rbp + 0x77]
mov rdi, rcx
mov rcx, qword [rbp + 0x5f]
mov r11, qword [rbp + 0x7f]
mov qword [rbp - 0x61], rax
mov eax, dword [rbp + 0x57]
mov dword [rbp - 0x51], eax
mov eax, dword [rbp + 0x67]
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x59], r9
lea r9, [rsp + 0x38]
mov qword [rbp - 0x49], rcx
mov rcx, rbx
mov qword [rbp - 0x39], r8
mov r8d, 3
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x3d], esi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x31], r10
mov qword [rbp - 0x29], r11
mov qword [rbp - 0x19], 5
mov qword [rbp - 0x11], 0x9b
mov qword [rbp - 9], rsi
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
nop dword [rax]
test eax, eax
js 0x140021c48
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
nop
test eax, eax
js 0x140021c48
mov rdx, qword ds:[rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x140021c80]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x140021c4f
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140022960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, qword [0x1402ca9a8]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
movaps xmmword [rsp + 0x70], xmm0
mov rdi, r8
movaps xmmword [rsp + 0x80], xmm0
mov rsi, rcx
movaps xmmword [rsp + 0x90], xmm0
mov r8d, 3
movaps xmmword [r11 - 0x78], xmm0
mov rcx, rbx
movaps xmmword [r11 - 0x68], xmm0
movaps xmmword [r11 - 0x58], xmm0
movaps xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x38]
mov qword [rsp + 0x58], rax
mov qword [r11 - 0x30], 0xbe
mov qword [r11 - 0x28], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140022a52
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140022a52
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140023280]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
nop word [rax + rax]
cmp rax, 1
jne 0x140022a52
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov al, 1
jmp 0x140022a54
xor al, al
mov rcx, qword ds:[rsp + 0xf8]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret