joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ff70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
movzx eax, word [0x1400fc3d4]
xor ebp, ebp
mov word [rsp + 0x22], ax
mov eax, 0x7b
mov dword [rsp + 0x48], eax
mov ebx, SafeArrayAllocDescriptor
mov word [rsp + 0x20], bx
mov r10, r8
mov dword [rsp + 0x24], 0x90028
mov rsi, rdx
mov dword [rsp + 0x28], 0x3e003c
mov r11, rcx
mov dword [rsp + 0x2c], 0x3d003a
mov dword [rsp + 0x30], 0x2d002b
mov dword [rsp + 0x34], 0x2f002a
mov dword [rsp + 0x38], 0x7e0021
mov dword [rsp + 0x3c], 0x7c0026
mov dword [rsp + 0x40], 0x5b005e
mov dword [rsp + 0x44], 0x3f002e
test r8, r8
je 0x140020030
movzx edx, word [r8]
test dx, dx
test edx, edx
je 0x140020045
lea rcx, [rsp + 0x20]
mov eax, ebx
nop dword [rax + rax]
cmp dx, ax
je 0x140020033
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140020010
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140020004
mov r8, rbp
test r8, r8
je 0x140020045
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x140020062
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r10 + rax*2], bp
jne 0x140020050
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x14002007f
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140020076
cmp ax, 9
jne 0x14002007f
sub rbx, 2
cmp rbx, r10
ja 0x140020067
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x1400200af
test r9b, r9b
je 0x1400200ab
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.140035a70
xor eax, eax
jmp 0x1400200c4
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400b02e4
mov rax, rbx
mov word [rsi + rdi*2], bp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140034a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea r8, str.Script_lines_most_recently_executed__oldest_first_.__Press__F5__to_refresh.__The_seconds_elapsed_between_a_line_and_the_one_after_it_is_in_parentheses_to_the_right__if_not_0_.__The_bottommost_lines_elapsed_time_is_the_number_of_seconds_since_it_executed._r_n_r_n
mov qword [rsp + 0x70], rcx
mov edx, 0xfffe
mov r14, rcx
call fcn.140087360
mov r8d, dword [0x140101e18]
lea r9, [0x140000000]
movsxd rdx, eax
mov ebp, 0x190
mov edi, r8d
lea rax, [r14 + rdx*2]
mov qword [rsp + 0x80], rax
xor r15b, r15b
mov r13, rax
test ebp, ebp
jle 0x140034bac
movsxd rbx, edi
mov esi, 2
mov r12d, ebp
nop dword [rax + rax]
cmp edi, 0x190
jl 0x140034ab5
sub edi, 0x190
sub rbx, 0x190
cmp qword [r9 + rbx*8 + 0x102460], 0
je 0x140034b8f
movzx r14d, r15b
lea eax, [rsi - 1]
xor r15b, r15b
cmp eax, ebp
jge 0x140034be1
test r14b, r14b
jne 0x140034b8f
mov edx, dword [r9 + rbx*4 + 0x101e20]
lea rax, [rbx + 1]
xor ecx, ecx
cmp edi, 0x18f
cmovl rcx, rax
mov eax, dword [r9 + rcx*4 + 0x101e20]
sub eax, edx
cmp eax, 0x7fffffff
jbe 0x140034b41
mov r15b, 1
cmp esi, ebp
jne 0x140034b25
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x140000000]
sub eax, dword [rcx + rbx*4 + 0x101e20]
jmp 0x140034b48
lea rax, [rbx + 2]
cmp rax, 0x190
jl 0x140034b37
add rax, 0xfffffffffffffe70
mov eax, dword [r9 + rax*4 + 0x101e20]
sub eax, edx
lea rcx, [0x140000000]
mov rcx, qword [rcx + rbx*8 + 0x102460]
mov r9d, 0xfffe
mov r8, r13
mov byte [rsp + 0x28], r14b
sub r8, qword [rsp + 0x70]
mov rdx, r13
sar r8, 1
sub r9d, r8d
mov dword [rsp + 0x20], eax
mov r8d, 0xc8
cmp r9d, r8d
cmovl r8d, r9d
mov r9b, 1
call fcn.140034d70
mov r13, rax
lea r9, [0x140000000]
inc esi
inc edi
inc rbx
sub r12, 1
jne 0x140034aa0
mov r8d, dword [0x140101e18]
mov r14, qword [rsp + 0x70]
mov rax, r13
mov edx, 0xfffe
sub rax, r14
sar rax, 1
sub edx, eax
cmp edx, 0x18
jg 0x140034bfa
cmp ebp, 0x78
jl 0x140034bfa
mov rax, qword [rsp + 0x80]
sub ebp, 0x64
mov edi, r8d
sub edi, ebp
add edi, 0x190
jmp 0x140034a82
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x140000000]
sub eax, dword [rcx + rbx*4 + 0x101e20]
jmp 0x140034b48
lea r8, str._r_nPress__F5__to_refresh.
mov rcx, r13
call fcn.140087360
mov rbx, qword [rsp + 0x78]
movsxd rcx, eax
lea rax, [rcx*2]
add rax, r13
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140036350
Capabilities:
Print debug messages

Disassembly:
test edx, edx
je 0x140036499
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x4030
call fcn.1400bc4c0
sub rsp, rax
mov qword [rsp + 0x4050], rbx
mov rbp, r9
mov rbx, qword [rsp + 0x4070]
mov r14, r8
mov qword [rsp + 0x4058], r15
mov esi, edx
mov rdi, rcx
test rbx, rbx
jne 0x1400363b1
mov rbx, qword [rcx + 0x698]
test rbx, rbx
jne 0x1400363b1
mov ecx, dword [rcx + 0x2c0]
movzx eax, word [rdi + 0x2c4]
jmp 0x1400363b9
movzx ecx, word [rbx + 2]
movzx eax, word [rbx + 4]
movsxd r9, ecx
lea r8, str._s___d__:___Warning:__s_n
lea rcx, [0x140103180]
movzx eax, ax
mov r15d, 0x2000
mov qword [rsp + 0x28], r14
mov edx, r15d
mov dword [rsp + 0x20], eax
mov r9, qword [rcx + r9*8]
lea rcx, [rsp + 0x30]
call fcn.140087360
cmp word [rbp], 0
movsxd rcx, eax
je 0x140036415
sub r15d, ecx
lea rax, [rsp + 0x30]
lea rcx, [rax + rcx*2]
mov edx, r15d
mov r9, rbp
lea r8, str._____Specifically:__s_n
call fcn.140087360
mov r15, qword [rsp + 0x4058]
cmp esi, 3
jne 0x140036439
lea ecx, [rsi - 2]
call fcn.1400a9780
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400af414
jmp 0x14003647e
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x14003647e
test rbx, rbx
jne 0x14003646a
mov rbx, qword [rdi + 0x698]
test rbx, rbx
jne 0x14003646a
mov r8, rbp
mov rdx, r14
mov rcx, rdi
call fcn.140035a70
jmp 0x14003647e
mov r9, rbp
mov r8d, 1
mov rdx, r14
mov rcx, rbx
call fcn.1400356f0
mov rbx, qword [rsp + 0x4050]
mov rbp, qword [rsp + 0x4060]
add rsp, 0x4030
pop r14
pop rdi
pop rsi
ret
Function at 0x14003e320
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov r8, r10
mov rdx, r11
mov rsi, rcx
call fcn.14004dcf0
mov rdi, rax
test rax, rax
je 0x14003e422
mov rdx, rbx
mov rcx, rax
call fcn.14008c840
mov rbp, rax
test rax, rax
je 0x14003e422
xor edx, edx
mov rcx, rdi
xor sil, sil
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test eax, eax
je 0x14003e3bf
cmp eax, dword [0x1401032d0]
je 0x14003e3bf
mov rcx, rdi
call fcn.14008ce60
test al, al
jne 0x14003e3bf
mov ecx, dword [0x1401032d0]
mov r8d, 1
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne sil
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetFocus]
test rax, rax
je 0x14003e405
mov rcx, qword [0x1400fee90]
lea rdx, [0x1400cb014]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008a870
mov rax, qword [0x1400faa58]
mov ecx, dword [rax + 0x78]
cmp ecx, 0xffffffff
jle 0x14003e405
mov edx, 1
call fcn.1400016e0
test sil, sil
je 0x14003e41b
mov ecx, dword [0x1401032d0]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, 1
jmp 0x14003e465
mov rax, qword [0x1400faa58]
lea rdx, [0x1400de630]
cmp byte [rax + 0x150], 0
jne 0x14003e453
mov rcx, qword [0x1400fee90]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008a870
jmp 0x14003e465
lea r9, [0x1400e70b8]
xor r8d, r8d
mov rcx, rsi
call fcn.140035410
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003f060
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov r8, r10
mov rdx, r11
call fcn.14004dcf0
test rax, rax
je 0x14003f0a6
lea rdx, str.msctls_statusbar321
mov rcx, rax
call fcn.14008c840
mov rdi, rax
jmp 0x14003f0a8
xor edi, edi
mov rcx, rbx
call fcn.14000ec00
mov rcx, rbx
test al, al
je 0x14003f0c4
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400ab260
jmp 0x14003f0c9
call fcn.1400aadfc
mov rcx, qword [0x1401030e0]
lea r9, [0x1400e70b8]
mov dword [rsp + 0x68], gethostbyname
mov r8d, eax
mov rdx, rdi
mov dword [rsp + 0x60], 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14008c4d0
Function at 0x140048950
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
movzx edi, r8b
mov byte [rsp + 0x20], 1
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [0x1401030e0]
or r8, 0xffffffffffffffff
xor edx, edx
xor r9d, r9d
call fcn.14008a870
test rbx, rbx
je 0x140048b08
cmp word [rbx], 0
je 0x140048b08
mov r8d, 0x104
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.1400b02e4
xor edx, edx
lea rcx, [rsp + 0x50]
mov word [rsp + 0x258], dx
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], dx
jne 0x1400489c0
lea rcx, [rax + rax]
cmp word [rsp + rcx + 0x4e], 0x5c
je 0x1400489ec
inc rax
cmp rax, 0x105
jae 0x140048b08
mov dword [rsp + rcx + 0x50], 0x5c
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140105be8], eax
jle 0x140048a4d
lea rcx, [0x140105be8]
call fcn.1400a33a4
cmp dword [0x140105be8], 0xffffffff
jne 0x140048a4d
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetDiskFreeSpaceExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140105be8]
mov qword [0x140105bf0], rax
call fcn.1400a3344
mov rax, qword [0x140105bf0]
lea rcx, [rsp + 0x50]
test rax, rax
je 0x140048a87
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
call rax
test eax, eax
je 0x140048b08
mov rbx, qword [rsp + 0x38]
test dil, dil
cmovne rbx, qword [rsp + 0x40]
jmp 0x140048acc
lea rax, [rsp + 0x278]
lea r9, [rsp + 0x288]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x140048b08
mov ebx, dword [rsp + 0x278]
test dil, dil
cmovne ebx, dword [rsp + 0x288]
imul ebx, dword [rsp + 0x30]
imul ebx, dword [rsp + 0x34]
mov rcx, qword [0x1400fee90]
lea rdx, [0x1400cb014]
xor r9d, r9d
shr rbx, 0x14
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008a870
mov rcx, qword [0x1401030e0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, rbx
call fcn.140001280
mov eax, 1
jmp 0x140048b4b
mov rax, qword [0x1400faa58]
lea rdx, [0x1400de630]
cmp byte [rax + 0x150], 0
jne 0x140048b39
mov rcx, qword [0x1400fee90]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008a870
jmp 0x140048b4b
lea r9, [0x1400e70b8]
xor r8d, r8d
mov rcx, rsi
call fcn.140035410
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140060c00
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
sub rsp, 0x148
mov rbx, rdx
mov byte [rsp + 0x20], 1
mov rdi, rcx
xor edx, edx
mov rcx, qword [0x1401030e0]
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.14008a870
test rbx, rbx
je 0x140060d94
cmp word [rbx], 0
je 0x140060d94
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x140], rsi
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x140060c88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400faa58]
mov dl, 1
mov dword [rcx + 0x40], eax
mov rcx, rdi
call fcn.140035530
mov rsi, qword [rsp + 0x140]
add rsp, 0x148
pop rdi
pop rbx
ret
mov rcx, rsi
mov qword [rsp + 0x160], rbp
call fcn.1400a7398
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140060d72
lea r9, [rsp + 0x170]
mov rcx, rbp
lea r8, [rsp + 0x178]
lea rdx, [0x1400dee6c]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140060d72
mov rax, qword [rsp + 0x178]
lea r8, str._u._u._u._u
mov edx, dword [rax + 0xc]
mov r9d, dword [rax + 8]
movzx ecx, dx
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x40]
shr edx, 0x10
mov dword [rsp + 0x28], edx
mov edx, 0x80
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.140087360
mov rcx, rbp
call fcn.1400ab2c0
mov rax, qword [0x1400faa58]
xor edx, edx
mov rcx, rdi
mov dword [rax + 0x40], 0
call fcn.140035530
mov rcx, qword [0x1401030e0]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008a870
mov rbp, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x140]
add rsp, 0x148
pop rdi
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400faa58]
mov dword [rcx + 0x40], eax
mov rcx, rbp
call fcn.1400ab2c0
mov rcx, rdi
call fcn.140038a80
jmp 0x140060d58
mov rax, qword [0x1400faa58]
mov dl, 1
mov rcx, rdi
mov dword [rax + 0x40], 0x57
call fcn.140035530
add rsp, 0x148
pop rdi
pop rbx
ret
Function at 0x140060dc0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x380]
sub rsp, 0x480
movzx r14d, r8b
lea r9, [rbp + 0x3b8]
mov rsi, rdx
lea r8, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140060e10
xor edi, edi
test rax, rax
je 0x140060e2e
cmp word [rsp + rax*2 + 0x5e], 0x5c
jne 0x140060e2e
mov word [rsp + rax*2 + 0x5e], di
lea r9, [rbp + 0x3b8]
mov edx, 0x104
lea r8, [rbp + 0x170]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0x170]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], di
jne 0x140060e54
test rax, rax
je 0x140060e75
cmp word [rbp + rax*2 + 0x16e], 0x5c
jne 0x140060e75
mov word [rbp + rax*2 + 0x16e], di
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140060ea4
test al, 0x10
je 0x140060ea4
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140060ebe
test al, 0x10
je 0x140060ebe
test r14b, r14b
jne 0x140060ece
xor al, al
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x170]
call fcn.140061aa0
test al, al
je 0x140060ea4
lea rcx, [rsp + 0x60]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140060ee0
movzx eax, word [0x1400e7048]
movsd xmm0, qword [str..]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rsp + 0x60]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x140060f10
mov word [rsp + rax*2 + 0x62], di
lea rax, [rbp + 0x170]
nop word [rax + rax]
cmp word [rax + rbx*2 + 2], di
lea rbx, [rbx + 1]
jne 0x140060f30
xor eax, eax
mov word [rbp + rbx*2 + 0x172], di
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
jmp 0x140060ea6
Function at 0x140061aa0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x10], rbx
mov rbx, rcx
mov qword [rbp + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140061b80
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x140061b63
sub eax, 1
jne 0x140061b93
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140061ae1
cmp rax, 0x104
ja 0x140061b93
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140061b12
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400bc4c0
sub rsp, rcx
mov rcx, rbx
lea rdi, [rsp + 0x20]
mov rdx, rdi
sub rdx, rbx
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140061b30
mov edx, 0x5c
mov rcx, rdi
call fcn.1400a5a2c
test rax, rax
je 0x140061b93
xor ecx, ecx
mov word [rax], cx
mov rcx, rdi
call fcn.140061aa0
test al, al
je 0x140061b93
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
mov rsp, rbp
pop rbp
ret
test al, 0x10
je 0x140061b93
mov al, 1
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
mov rsp, rbp
pop rbp
ret
mov rbx, qword [rbp + 0x10]
xor al, al
mov rdi, qword [rbp + 0x18]
mov rsp, rbp
pop rbp
ret

Function at 0x140061bb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x270
mov edx, 0x2a
mov rbx, rcx
call fcn.1400a5798
test rax, rax
jne 0x140061bf3
lea edx, [rax + 0x3f]
mov rcx, rbx
call fcn.1400a5798
test rax, rax
jne 0x140061bf3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x270
pop rbx
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140061c12
xor al, al
add rsp, 0x270
pop rbx
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
add rsp, 0x270
pop rbx
ret

Function at 0x140061d70
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140061d9d
xor al, al
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x34]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
xor eax, eax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140061d95
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret
Function at 0x14007b470
Capabilities:
Get keyboard layout

Disassembly:
push rbx
push r14
sub rsp, 0x38
mov r14, rdx
mov rbx, rcx
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14007b48f
cmp ax, 9
jne 0x14007b495
add rbx, 2
jmp 0x14007b480
movzx eax, word [rbx]
test ax, ax
jne 0x14007b4a5
add rsp, 0x38
pop r14
pop rbx
ret
cmp word [rbx + 2], 0
lea rcx, [rbx + 2]
jne 0x14007b4c1
mov word [rdx + 2], ax
mov al, 1
mov byte [rdx], 0
add rsp, 0x38
pop r14
pop rbx
ret
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
xor sil, sil
mov byte [rdx], 1
mov edx, 0x2b
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x30], rdi
call fcn.1400a5798
mov rbp, rax
test rax, rax
je 0x14007b5b5
lea rdi, [rbp - 2]
cmp rdi, rbx
jbe 0x14007b518
nop word [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14007b50f
cmp ax, 9
jne 0x14007b518
sub rdi, 2
cmp rdi, rbx
ja 0x14007b500
sub rdi, rbx
lea rdx, str.Ctrl
sar rdi, 1
mov rcx, rbx
inc rdi
mov r8, rdi
call fcn.1400a9808
test eax, eax
jne 0x14007b53d
or sil, 1
jmp 0x14007b573
mov r8, rdi
lea rdx, [0x1400cce00]
mov rcx, rbx
call fcn.1400a9808
test eax, eax
jne 0x14007b559
or sil, 4
jmp 0x14007b573
mov r8, rdi
lea rdx, str.Shift
mov rcx, rbx
call fcn.1400a9808
test eax, eax
jne 0x14007b5e6
or sil, 0x10
mov byte [rsp + 0x50], sil
lea rbx, [rbp + 2]
nop dword [rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14007b58f
cmp ax, 9
jne 0x14007b595
add rbx, 2
jmp 0x14007b580
cmp word [rbx], 0
je 0x14007b5e6
mov edx, 0x2b
lea rcx, [rbx + 2]
call fcn.1400a5798
mov rbp, rax
test rax, rax
jne 0x14007b4f1
xor ecx, ecx
cmp word [rbx + 2], cx
jne 0x14007b5ea
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [rbx]
mov rdi, rax
call qword [sym.imp.USER32.dll_CharLowerW]
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140014660
movzx esi, byte [rsp + 0x50]
jmp 0x14007b605
xor al, al
jmp 0x14007b634
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140014530
movzx eax, al
mov word [r14 + 2], ax
test sil, 1
je 0x14007b617
or byte [r14], 8
test sil, 4
je 0x14007b621
or byte [r14], 0x10
test sil, 0x10
je 0x14007b62b
or byte [r14], 4
cmp word [r14 + 2], 0
setne al
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop rbx
ret
Function at 0x1400834f0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x20240
call fcn.1400bc4c0
sub rsp, rax
mov rbx, qword [rsp + 0x20270]
mov rsi, r9
mov rdi, r8
mov rbp, rdx
test rbx, rbx
je 0x14008352e
cmp word [rbx], 0
jne 0x140083535
lea rbx, str.ERROR
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x1fffe
call fcn.1400a61b0
xor eax, eax
lea r9, [rsp + 0x20270]
lea r8, [rsp + 0x30]
mov word [rsp + 0x20250], ax
mov edx, 0x104
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp word [rsi], 0
je 0x1400835e4
cmp word [rdi], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20250]
cmovne rcx, rdi
mov dword [rsp + 0x20], 0xffff
lea r9, [rsp + 0x240]
mov r8, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, qword [0x1401030e0]
lea rdx, [rsp + 0x240]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008a870
lea r11, [rsp + 0x20240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
cmp word [rdi], 0
je 0x140083608
lea r9, [rsp + 0x30]
mov r8d, 0xffff
lea rdx, [rsp + 0x240]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x140083620
lea r8, [rsp + 0x30]
mov edx, 0xffff
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
test eax, eax
je 0x1400835ab
lea rax, [rsp + 0x240]
mov ecx, 0xa
cmp word [rax], 0
jne 0x140083645
cmp word [rax + 2], 0
je 0x1400835ab
mov word [rax], cx
add rax, 2
jmp 0x140083631
Function at 0x140084250
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x1400843b0
test r8, r8
je 0x140084283
cmp word [r8], 0
jne 0x14008428c
test rsi, rsi
je 0x1400843b0
mov rax, qword [0x1400faa58]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
mov r9d, dword [rax + 0x110]
lea rax, [rsp + 0x58]
or r9d, 0x2001f
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400843a1
mov rcx, qword [rsp + 0x58]
test rsi, rsi
jne 0x14008438b
call fcn.140084120
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400843a1
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140105d00], eax
jle 0x14008434d
lea rcx, [0x140105d00]
call fcn.1400a33a4
cmp dword [0x140105d00], 0xffffffff
jne 0x14008434d
lea rcx, str.advapi32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RegDeleteKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140105d00]
mov qword [0x140105d08], rax
call fcn.1400a3344
mov rax, qword [0x1400faa58]
mov r8d, dword [rax + 0x110]
test r8d, r8d
je 0x14008437b
mov rax, qword [0x140105d08]
test rax, rax
je 0x14008437b
xor r9d, r9d
mov rdx, rdi
mov rcx, rbp
call rax
mov ebx, eax
jmp 0x1400843a1
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
jmp 0x1400843a1
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 0xffffffff
jne 0x1400843b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x1400843b7
mov ebx, 0x57
mov ecx, ebx
mov rax, qword [0x1400faa58]
test ebx, ebx
setne dl
mov dword [rax + 0x40], ecx
mov rcx, r14
call fcn.140035530
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret