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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, r9
mov qword [rsp + 0x50], r9
mov r13, r8
mov rax, rdx
mov r12, rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x60000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0xa0], rax
cmp rax, 0xffffffffffffffff
je 0x140008a2d
mov r14, qword [r12 + 8]
shr r14, 1
mov r15, qword [r12]
lea rax, [r15 + r14]
mov qword [rsp + 0x40], rax
xor ebx, ebx
xor ebp, ebp
lea rcx, [rsp + 0xb0]
call fcn.14000bb20
test r13, r13
jne 0x1400088d2
mov rcx, rdi
lea rdx, [rsp + 0xb0]
call fcn.14000b310
nop
test rsi, rsi
je 0x1400088a7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14000c070
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140006be0]
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], ebx
mov rax, rbx
sar rax, 0x20
mov dword [rsp + 0x94], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov rdi, r13
sub rdi, rbx
cmp rdi, r14
jle 0x140008924
mov r8d, r14d
jmp 0x140008935
mov eax, dword [r12 + 0x18]
lea r8d, [rax - 1]
add r8d, edi
neg eax
and r8d, eax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x140008a0a
mov r8, rbp
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.14000bbb0
mov rcx, qword [r12 + 0x20]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x18]
mov edx, 1
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
cmp eax, 0xc0
jne 0x1400089e7
cmp dword [rsp + 0x48], 0
jne 0x140008a50
mov ebp, dword [rsp + 0x4c]
add rbx, rbp
mov rdx, r15
mov r15, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdx
cmp rbx, r13
lea rcx, [0x140006be0]
jl 0x1400088e0
mov r8, rdi
lea rcx, [rsp + 0xb0]
call fcn.14000bbb0
mov rcx, qword [r12 + 0x20]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
jmp 0x14000888b
lea rdx, [0x14003a2d0]
lea rcx, [rsp + 0x58]
call fcn.14000a050
lea rdx, [0x14003df60]
lea rcx, [rsp + 0x58]
call fcn.14000de30
int3
lea rdx, [0x14003a2b8]
lea rcx, [rsp + 0x58]
call fcn.14000a050
lea rdx, [0x14003df60]
lea rcx, [rsp + 0x58]
call fcn.14000de30
int3
lea rdx, [0x14003a2a0]
lea rcx, [rsp + 0x58]
call fcn.14000a050
lea rdx, [0x14003df60]
lea rcx, [rsp + 0x58]
call fcn.14000de30
int3
lea rdx, [0x14003a2b8]
lea rcx, [rsp + 0x58]
call fcn.14000a050
lea rdx, [0x14003df60]
lea rcx, [rsp + 0x58]
call fcn.14000de30
int3
Function at 0x140008a80
Capabilities:
Read file on windows

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, 0xa0
mov r13, r8
mov rax, rdx
mov r15, rcx
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x140008be6
mov r14, qword [r15 + 8]
shr r14, 1
mov r12, qword [r15]
lea rax, [r12 + r14]
mov qword [rsp + 0x40], rax
mov ebx, ebp
mov ecx, ebp
mov dword [rsp + 0xe8], ecx
test r13, r13
je 0x140008bb7
nop dword [rax]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebx
mov rax, rbx
sar rax, 0x20
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rdi, r13
sub rdi, rbx
cmp rdi, r14
jle 0x140008b43
mov ebp, r14d
jmp 0x140008b50
mov eax, dword [r15 + 0x18]
lea ebp, [rax - 1]
add ebp, edi
neg eax
and ebp, eax
mov edx, ecx
mov rcx, qword [r15 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8d, ebp
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140008c09
mov ecx, dword [rsp + 0xe8]
add rbx, rcx
mov rax, r12
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
cmp rbx, r13
mov ebp, 0
jl 0x140008b10
mov rcx, qword [r15 + 0x20]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x18]
nop
test rsi, rsi
je 0x140008bc5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xa0]
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
lea rdx, [0x14003a2a0]
lea rcx, [rsp + 0x78]
call fcn.14000a050
lea rdx, [0x14003df60]
lea rcx, [rsp + 0x78]
call fcn.14000de30
int3
lea rdx, [0x14003a2b8]
lea rcx, [rsp + 0x78]
call fcn.14000a050
lea rdx, [0x14003df60]
lea rcx, [rsp + 0x78]
call fcn.14000de30
int3
Function at 0x14000a3c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x4a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rdi, rdx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a3f0
lea rbx, [rax + rax]
xor r15d, r15d
cmp word [rbx + rcx - 2], 0x5c
jne 0x14000a45a
cmp rax, 0x103
jb 0x14000a418
xor al, al
jmp 0x14000a5dd
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x270]
call fcn.14002e750
mov eax, 0x2a
mov word [rsp + rbx + 0x270], ax
add rbx, 2
cmp rbx, 0x208
jae 0x14000a5f9
mov word [rsp + rbx + 0x270], r15w
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x4d8], rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a487
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete al
jmp 0x14000a5d5
mov rcx, qword [rsp + 0x4c]
mov qword [rsp + 0x4d0], rbp
mov eax, ecx
xor eax, 0x2e
mov qword [rsp + 0x498], r12
mov qword [rsp + 0x490], r14
mov r12d, 0x5c
movabs r14, 0xffffffffffff
je 0x14000a500
xor rcx, 0x2e002e
test r14, rcx
je 0x14000a500
test byte [rsp + 0x20], 0x10
je 0x14000a4ec
movsxd rbp, dword [rdi + 0x10]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a4e0
jmp 0x14000a54f
movsxd rcx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x40]
shl rcx, 0x20
or rcx, rax
add qword [rdi], rcx
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000a5a5
mov rcx, qword [rsp + 0x4c]
mov eax, ecx
xor eax, 0x2e
je 0x14000a500
xor rcx, 0x2e002e
test r14, rcx
je 0x14000a500
test byte [rsp + 0x20], 0x10
je 0x14000a4ec
movsxd rbp, dword [rdi + 0x10]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a545
lea eax, [rbx + 1]
movsxd r8, eax
lea rdx, [rsp + 0x4c]
mov rax, qword [rdi + 8]
add r8, r8
lea rcx, [rax + rbp*2]
call fcn.14002e750
add dword [rdi + 0x10], ebx
mov r8b, 1
movsxd rcx, dword [rdi + 0x10]
mov rdx, rdi
mov rax, qword [rdi + 8]
mov word [rax + rcx*2], r12w
movsxd rcx, dword [rdi + 0x10]
lea eax, [rcx + 1]
mov dword [rdi + 0x10], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*2 + 2], r15w
mov rcx, qword [rdi + 8]
call fcn.14000a3c0
mov dword [rdi + 0x10], ebp
jmp 0x14000a500
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
mov rcx, rsi
sete bl
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rsp + 0x490]
movzx eax, bl
mov r12, qword [rsp + 0x498]
mov rbp, qword [rsp + 0x4d0]
mov rsi, qword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000c070
add rsp, 0x4a0
pop r15
pop rdi
pop rbx
ret
call fcn.14000c1a0
int3
Function at 0x14000a600
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x490
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, rdx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a630
lea rbx, [rax + rax]
cmp word [rbx + rcx - 2], 0x5c
jne 0x14000a698
cmp rax, 0x103
jb 0x14000a655
xor al, al
jmp 0x14000a768
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x270]
call fcn.14002e750
mov eax, 0x2a
mov word [rsp + rbx + 0x270], ax
add rbx, 2
cmp rbx, 0x208
jae 0x14000a789
xor eax, eax
lea rcx, [rsp + 0x270]
mov word [rsp + rbx + 0x270], ax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x4b0], rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a6c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete al
jmp 0x14000a760
mov rcx, qword [rsp + 0x4c]
movabs rbx, 0xffffffffffff
mov eax, ecx
xor eax, 0x2e
je 0x14000a700
xor rcx, 0x2e002e
test rbx, rcx
je 0x14000a700
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008240
test al, al
je 0x14000a73b
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000a748
mov rcx, qword [rsp + 0x4c]
mov eax, ecx
xor eax, 0x2e
je 0x14000a700
xor rcx, 0x2e002e
test rbx, rcx
je 0x14000a700
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008240
test al, al
jne 0x14000a700
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x14000a760
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
mov rcx, rdi
sete bl
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, bl
mov rdi, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000c070
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x490
pop rsi
ret
call fcn.14000c1a0
int3

Function at 0x14000cb4c
Capabilities:
Parse pe header

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

Function at 0x14001cb5c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c988
Function at 0x1400227ac
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140022789
call fcn.14002072c
mov dword [rax], 0x16
call fcn.14001bdc0
or eax, 0xffffffff
jmp 0x1400227a6
sub dword [rcx + 0x10], 1
jns 0x140022798
add rsp, 0x28
jmp 0x14002a3ac
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140022768
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14002a3de
call fcn.14002072c
mov dword [rax], 0x16
call fcn.14001bdc0
jmp 0x14002a4fb
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002a4fb
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002a4fb
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002a40d
lock or dword [rcx + 0x14], 0x10
jmp 0x14002a4fb
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002a421
call fcn.14002a518
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.140022514
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.14002c704
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002a4e9
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x14002a4b4
mov rcx, rdi
call fcn.140022514
cmp eax, esi
je 0x14002a49f
mov rcx, rdi
call fcn.140022514
cmp eax, 0xfffffffe
je 0x14002a49f
mov rcx, rdi
call fcn.140022514
movsxd rbx, eax
lea r14, [0x140040c40]
mov rcx, rdi
sar rbx, 6
call fcn.140022514
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002a4a6
lea rdx, [0x14003f1b0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002a4b4
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x14002a4d8
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x14002a4d8
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x14002a4d8
mov dword [rdi + 0x20], 0x1000
mov rax, qword [rdi]
add dword [rdi + 0x10], esi
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x14002a4fe
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14002e3e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002e408
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002e408
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0xaab8e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xaab8ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xaab8fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xaab8e5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0xaab915
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xaab902
sub eax, 3
jb 0xaab92f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xaab966
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0xaab956
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0xaab954
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xaab943
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00aab8a2
jmp 0xaab8ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28b800
mov dl, 0x56
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xaab9b2
cmp rsi, rcx
jae 0xaab9ba
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xaab999
cmp al, 0x8f
ja 0xaab999
cmp byte [rsi - 2], 0xf
je 0xaab99f
sub al, 0xe8
cmp al, 1
ja 0xaab983
cmp rsi, rcx
jae 0xaab9ba
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xaab989
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xaab9ba
lodsb al, byte [rsi]
jmp 0xaab999
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6a3000]
mov eax, dword [rdi]
or eax, eax
je 0xaaba17
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6ab000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xaab9c7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xaaba11
mov qword [rbx], rax
add rbx, 8
jmp 0xaab9e7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xaaba5b
cmp al, 0xef
ja 0xaaba43
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xaaba23
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xaaba32
mov eax, dword [rdi]
add rdi, 4
jmp 0xaaba32
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xaabaaf
sub rsp, 0xffffffffffffff80
jmp 0x468940
Function at 0x12802f60
Capabilities:
Get user security identifier

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x58
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
lea rax, [r11 + 0x18]
mov qword [r11 - 0x38], rax
lea rax, [r11 + 8]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], 0
lea r9, [r11 + 0x10]
xor r8d, r8d
lea rdx, str.Debugger_Users
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov r11d, dword [rsp + 0x78]
test r11d, r11d
je 0x12803041
mov rcx, r11
call fcn.12958238
mov rbx, rax
mov ecx, dword [rsp + 0x70]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.12958238
mov rdi, rax
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x78]
mov r8, rbx
lea rdx, str.Debugger_Users
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x12803034
mov rcx, rbx
call fcn.1295c768
xor ebx, ebx
mov rcx, rdi
call fcn.12958250
mov rax, rbx
jmp 0x12803043
xor eax, eax
add rsp, 0x58
pop rdi
pop rbx
ret

Function at 0x1280ae80
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push rbx
push rbp
push r13
sub rsp, 0x30
mov r13, rdx
mov ebp, ecx
lea r8, str.GlobalHopedotVirtualImmShareMutex
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rbx, rax
test rax, rax
je 0x1280af9f
mov edx, 0xbb8
mov rcx, rax
mov qword [rsp + 0x58], rdi
mov edi, 2
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1280af86
lea r8, str.GlobalHopedotVirtualImmShareMem
lea ecx, [rax + 4]
xor edx, edx
mov qword [rsp + 0x60], r12
lea edi, [rax + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov r12, rax
test rax, rax
je 0x1280af78
mov edi, 4
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, edi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x1280af6a
mov ecx, dword [rax]
test ecx, ecx
je 0x1280af61
lea rdx, [rax + 4]
xor eax, eax
mov edi, 0x50
test ecx, ecx
je 0x1280af61
cmp qword [rdx], rbp
je 0x1280af49
inc eax
add rdx, 0x160
cmp eax, ecx
jb 0x1280af35
jmp 0x1280af61
mov rcx, r13
mov r8d, 0x160
call fcn.12959240
mov dword [r13 + 0x4c], 2
xor edi, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r12, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
pop rbp
pop rbx
ret
mov eax, 1
add rsp, 0x30
pop r13
pop rbp
pop rbx
ret
Function at 0x1280b120
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x12a52ee0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, dword [0x129ab250]
test al, 1
jne 0x1280b183
or eax, 1
mov dword [0x129ab250], eax
lea rcx, [0x129b46f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.ImmActivateLayout
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab248], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Keyboard_LayoutPreload
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1280b282
mov qword [rsp + 0x68], 7
xor edi, edi
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], 0x12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x129b4608]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1280b251
xor edx, edx
lea r8d, [rdi + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1295abc4
mov ebx, eax
mov ecx, eax
shr ecx, 0x10
mov eax, 0xf000
and cx, ax
mov eax, 0xe000
cmp cx, ax
je 0x1280b235
mov ecx, ebx
shl ecx, 0x10
or ebx, ecx
mov ecx, ebx
call qword [0x129ab248]
mov r8d, ebx
lea rdx, [rsp + 0x70]
lea rcx, str.VirtualImmActivateDefaultKeyboardLayout__s___x_n
call fcn.128053c0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x68], 8
jb 0x1280b26f
mov rcx, qword [rsp + 0x50]
call fcn.12958250
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.12959850
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1280c110
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x12a52ee0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], 0x238
mov ebx, eax
call fcn.12959590
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1280c1ac
cmp dword [rsp + 0x28], ebx
je 0x1280c190
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1280c177
jmp 0x1280c1ac
cmp dword [rsp + 0x3c], 2
ja 0x1280c1ac
mov rcx, qword [rsi]
mov dword [rsi + 0x28], 1
test rcx, rcx
je 0x1280c1ac
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.12959850
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1280cff0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov qword [rcx + 0x10], r8
mov qword [rcx + 8], rdx
mov rbx, rcx
mov r9, rcx
mov dword [rcx + 0x28], edi
lea r8, [0x1280cfe0]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x1280d04d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1280d120
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x12a52ee0]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.12819930
lea rcx, [0x129b4df0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
cmp qword [0x129ab2d0], 0
jne 0x1280d174
lea rdx, str.NtQueryObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2d0], rax
cmp qword [0x129ab2d8], 0
jne 0x1280d195
lea rdx, str.NtQueryInformationProcess
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2d8], rax
cmp qword [0x129ab2e0], 0
jne 0x1280d1b6
lea rdx, str.RtlGetLastNtStatus
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2e0], rax
lea rdx, str.RtlCaptureStackBackTrace
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2e8], rax
lea rdx, str.NtClose
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab300], rax
lea rdx, str.NtOpenDirectoryObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2f0], rax
lea rdx, str.NtCreateDirectoryObject
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2f8], rax
mov qword [rsp + 0x48], 7
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
mov rax, qword [0x129ab2e0]
test rax, rax
jne 0x1280d25c
lea rcx, [0x129b4df0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetLastNtStatus
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x129ab2e0], rax
test rax, rax
je 0x1280d25f
call rax
nop
cmp qword [rsp + 0x48], 8
jb 0x1280d271
mov rcx, qword [rsp + 0x30]
call fcn.12958250
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.12959850
add rsp, 0x60
pop rbx
ret