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

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov rax, qword [0x140163470]
xor rax, rbp
mov qword [rbp], rax
movzx r10d, byte [rcx + 1]
mov eax, 0xffbf
mov rdi, r8
xor r10w, ax
mov al, byte [rcx]
mov rsi, rdx
xor al, 0xbf
shl r10w, 8
mov rbx, rcx
movzx eax, al
or r10w, ax
movzx r8d, r10w
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x140012d7b
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400eda30
sub rsp, rax
lea rdx, [rsp + 0x30]
test r8, r8
jle 0x140012da7
mov rcx, rdx
sub rbx, rdx
mov al, byte [rbx + rcx + 2]
xor al, 0xbf
mov byte [rcx], al
inc rcx
dec r8
jne 0x140012d97
mov rcx, qword [0x140175aa0]
mov qword [rsp + 0x20], r9
mov r8, rsi
mov r9, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400e8bc0
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x140012e14
Capabilities:
Encode data using xor

Disassembly:
dec r9d
mov r10, rcx
cmp edx, r9d
cmovle r9d, edx
lea eax, [r9 + r9]
movsxd r11, eax
xor eax, eax
test r11, r11
jle 0x140012e46
mov rdx, r8
sub r10, r8
mov cl, byte [r10 + rdx]
xor cl, 0xbf
mov byte [rdx], cl
inc rdx
dec r11
jne 0x140012e35
movsxd rcx, r9d
mov word [r8 + rcx*2], ax
mov eax, r9d
ret

Function at 0x140012e54
Capabilities:
Get disk size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov r14, rcx
mov r12d, 0x5c
mov edx, r12d
mov rcx, rsi
mov rdi, r9
mov rbp, r8
call fcn.1400e9f08
xor r15d, r15d
mov rbx, rax
test rax, rax
je 0x140012ea4
mov word [rax], r15w
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x140012f4c
test rbx, rbx
je 0x140012ecb
mov word [rbx], r12w
cmp qword [rsp + 0x20], rbp
jbe 0x140012ed9
mov eax, 1
jmp 0x140012f4e
test rdi, rdi
je 0x140012f4c
mov rcx, qword [0x140175a98]
mov ebx, 0x104
lea r8, [rsp + 0x30]
mov r9d, ebx
mov edx, 0x16
call fcn.140023b00
test eax, eax
jne 0x140012f21
movzx edx, word [0x14016a194]
lea r8, [rsp + 0x30]
lea rcx, [0x14016a196]
xor edx, 0xbfbf
mov r9d, ebx
call fcn.140012e14
movzx r8d, word [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140129d88]
mov r9d, InitCommonControls
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400e8bc0
add rsp, 0x250
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140013b30
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbp, r8
mov rsi, rcx
mov rdi, qword [rdx]
xor edx, edx
mov ebx, edx
mov dword [rsp + 0x78], edx
test rdi, rdi
je 0x140013d7f
lea eax, [rdx + 0x5c]
cmp byte [rsi + 0x318], dl
jne 0x140013d7b
lea r8, [rdi + 0x50]
mov dword [rsp + 0x28], 0x104
or r9d, 0xffffffff
mov ecx, 0xfde9
cmp byte [rdi + 0x18], dl
mov word [rbp], ax
lea rax, [rbp + 2]
mov qword [rsp + 0x20], rax
je 0x140013c51
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsi + 0x102]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp word [rcx + rbx*2], dx
jne 0x140013bb3
cmp rbx, 0x11
jbe 0x140013c0e
mov edx, 0xb5e7d51a
mov r8d, 0x24
lea rcx, [0x14016e58a]
call fcn.1400016a8
mov r8, rax
lea rax, [rsi + 0xe0]
lea rax, [rax + rbx*2]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140013bfe
add rax, 2
test ecx, ecx
jne 0x140013bea
test edx, edx
sete al
lea rcx, [rsi + 0x102]
xor edx, edx
jmp 0x140013c10
mov al, dl
test al, al
jne 0x140013c44
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or rax, 0xffffffffffffffff
xor ecx, ecx
inc rax
cmp word [rbp + rax*2], cx
jne 0x140013c22
lea r8, [rax*2]
add r8, rbp
mov rdx, rdi
mov rcx, rsi
call fcn.140013b30
xor edx, edx
mov word [rbp], dx
mov ebx, dword [rsp + 0x78]
jmp 0x140013d5b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x30]
call fcn.140022c90
nop
lea rdx, [rsi + 0x102]
mov r8d, 6
lea rcx, [rsp + 0x30]
call fcn.140022cec
xor r8d, r8d
test al, al
je 0x140013d6f
mov rbp, qword [rdi + 0x38]
mov rdx, qword [rsi + 0x590]
mov qword [rsp + 0x40], rdx
mov ecx, r8d
mov qword [rsp + 0x38], rcx
test rbp, rbp
je 0x140013d2b
cmp byte [rsi + 0x318], r8b
jne 0x140013d27
mov eax, 0x10000
mov ebx, eax
cmp rbp, rax
cmovb ebx, ebp
lea eax, [rbx + 0x7ff]
shr eax, 0xb
add dword [rsi + 0x56c], eax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdx
mov r8, rcx
mov rdx, rdi
mov rcx, qword [rsi + 0x598]
call fcn.14005a60c
cmp dword [rsp + 0x88], ebx
jne 0x140013d27
mov r8d, ebx
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140022e80
mov rcx, qword [rsp + 0x38]
add rcx, rbx
mov qword [rsp + 0x38], rcx
xor r8d, r8d
sub rbp, rbx
mov rdx, qword [rsp + 0x40]
jne 0x140013ca7
mov ebx, dword [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140022ca0
mov rbp, qword [rsp + 0x80]
xor ecx, ecx
mov word [rbp], cx
inc dword [rsi + 0x574]
inc ebx
mov dword [rsp + 0x78], ebx
lea rcx, [rsp + 0x30]
call fcn.140022c98
xor edx, edx
mov rdi, qword [rdi + 8]
test rdi, rdi
mov eax, 0x5c
jne 0x140013b67
jmp 0x140013d7f
lea rcx, [rsp + 0x30]
call fcn.140022c98
jmp 0x140013d7f
xor eax, eax
jmp 0x140013d81
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400144e4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov rbx, rdx
mov edx, 0x33
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.140014474
xor r15d, r15d
lea r8, [rbp + 0x40]
lea edx, [r15 + 0x37]
mov r9d, 0x104
mov rcx, rdi
movzx r14d, ax
mov word [rbp + 0x40], r15w
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp word [rbp + 0x40], r15w
jne 0x14001455a
xor al, al
jmp 0x1400146d8
cmp byte [rbx + 0x319], r15b
je 0x1400145f1
lea rcx, [rbp + 0x40]
call fcn.140022910
test al, al
je 0x1400145f1
mov rcx, qword [0x140175a98]
mov esi, pe_nt_image_headers64
lea r8, [rsp + 0x40]
lea edx, [rsi - 0x46]
mov r9d, esi
call fcn.140023b00
test eax, eax
jne 0x1400145b5
movzx edx, word [0x14016a672]
lea r8, [rsp + 0x40]
lea rcx, [0x14016a674]
xor edx, 0xbfbf
mov r9d, esi
call fcn.140012e14
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x250]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [0x140129d88]
lea rdx, [rbp + 0x250]
mov r9d, 0x34
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x140014553
mov word [rbx + 2], r15w
lea rsi, [rbx + 0x102]
lea rdx, [rbp + 0x40]
mov word [rsi], r15w
mov dword [rbx + 0x31a], r15d
mov byte [rbx + 0x318], r15b
mov qword [rbx + 0x358], r15
mov word [rbx + 0x360], r15w
mov rcx, rsi
mov qword [rbx + 0x568], r15
mov qword [rbx + 0x570], r15
mov qword [rbx + 0x578], r15
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 5
mov rcx, rdi
mov dword [rbx + 0x358], r15d
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov r8, rdi
cmp eax, 1
movzx edx, r14w
mov rcx, rbx
sete al
mov byte [rbx + 0x31a], al
call fcn.140012fd4
test al, al
je 0x140014553
movzx eax, byte [rbx + 0x31a]
mov rcx, qword [0x140175aa8]
mov rdx, rsi
shl eax, 0xa
xor eax, dword [rcx + 0x24]
and eax, 0x400
xor dword [rcx + 0x24], eax
call fcn.14000e7d0
mov rcx, qword [0x140175aa8]
call fcn.14000d7a4
lea rax, [rsp + 0x30]
lea r8, [0x14001356c]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [rbx + 0x580], rax
setne al
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x670
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140014700
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, word [rcx]
xor esi, esi
lea rbx, [rcx + 2]
mov dword [rsp + 0x38], esi
mov qword [r11 - 0x38], rsi
mov qword [r11 - 0x40], rsi
lea r9, [r11 - 0x28]
lea rcx, [r11 - 0x20]
mov rdx, rbx
mov r8d, pe_nt_image_headers64
mov word [rsp + 0x48], ax
mov dword [rsp + 0x4a], 0x5c003a
mov word [rsp + 0x4e], si
mov word [rbx], si
mov qword [r11 - 0x48], rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
test eax, eax
je 0x140014797
cmp word [rbx], si
jne 0x140014797
mov edx, 0x30b6ccd
mov ecx, 0x2d254805
mov r8d, 0x7f45bd09
call fcn.140001720
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140014787
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140016958
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp word [rdx], 0x2f
mov rbx, rdx
mov rdi, rcx
jne 0x140016a6d
mov edx, 0xe530f2d1
mov ecx, 0x7fdb97f2
mov r8d, 0xb6509e64
add rbx, 2
call fcn.140001828
mov rdx, rbx
sub rax, rbx
movzx r8d, word [rdx]
movzx r9d, word [rdx + rax]
sub r8d, r9d
jne 0x1400169bd
add rdx, 2
test r9d, r9d
jne 0x1400169a6
test r8d, r8d
jne 0x1400169d9
mov rcx, rdi
call fcn.14001684c
mov ecx, 1
call fcn.14000bea4
jmp 0x140016b62
mov edx, 0xc4f30f0
mov ecx, 0x96a455c3
mov r8d, 0x5f2f5c45
call fcn.140001828
mov rcx, rbx
sub rax, rbx
movzx edx, word [rcx]
movzx r8d, word [rcx + rax]
sub edx, r8d
jne 0x140016a0a
add rcx, 2
test r8d, r8d
jne 0x1400169f4
test edx, edx
jne 0x140016a1d
mov dl, 1
mov rcx, rdi
call fcn.1400056e8
jmp 0x140016b62
mov edx, 0xfe84a49b
mov ecx, 0x646fc198
mov r8d, 0xade4c821
call fcn.140001828
sub rax, rbx
movzx ecx, word [rbx]
movzx edx, word [rbx + rax]
sub ecx, edx
jne 0x140016a48
add rbx, 2
test edx, edx
jne 0x140016a35
test ecx, ecx
jne 0x140016b62
lea r8d, [rcx + 9]
lea rcx, [0x14016eba2]
mov edx, 0xf0e5eff4
call fcn.1400017b0
mov rcx, rax
jmp 0x140016b5d
mov edx, 0x22b7b550
mov ecx, 0xb85cd04d
mov r8d, 0x71d7d9e7
call fcn.140001828
mov r8d, 4
mov rcx, rbx
mov rdx, rax
call fcn.1400eae7c
test eax, eax
jne 0x140016aa4
mov rcx, rbx
call fcn.140022590
jmp 0x140016b62
cmp word [rbx + 2], 0x3a
jne 0x140016b04
mov rcx, rbx
call fcn.140022928
test al, al
je 0x140016aee
mov edx, 0xbf07bac
mov ecx, 0x911b1ec5
mov r8d, 0x5890171b
call fcn.140001828
xor r9d, r9d
mov r8, rbx
mov rcx, rdi
mov rdx, rax
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x140016b62
mov rcx, rbx
call fcn.140022910
test al, al
je 0x140016b62
mov rcx, rbx
call fcn.14001dae8
jmp 0x140016b62
mov edx, 0x78586770
mov ecx, 0xe2b30205
mov r8d, 0x2b380bc4
call fcn.140001828
mov rcx, rbx
mov rdx, rax
call fcn.1400eaea8
test rax, rax
je 0x140016b62
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
or r9d, 0xffffffff
mov r8, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x40]
call fcn.14000a180
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x1400181f8
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, qword [0x140175cb0]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov edx, 0x101f
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x1200
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rdi, eax
cmp rdi, 0x15
ja 0x14001838c
and dword [rbp - 0x49], 0
xor edx, edx
lea rcx, [rbp - 0x45]
lea r8d, [rdx + 0x50]
call fcn.1400ebf40
lea r9, [rbp - 0x49]
mov r8, rdi
mov edx, 0x103b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14001838c
xor eax, eax
mov byte [rbp + 0x17], 0
lea rcx, [rbp + 0x17]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
xor edx, edx
lea r8, [0x14016e810]
test dword [r8 + rdx*4], 0x1000
je 0x1400182b6
mov byte [rcx], al
inc rcx
inc eax
movsxd rdx, eax
cmp rdx, 0x15
jb 0x1400182a0
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov byte [rbp + 0x2f], 0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], eax
test rdi, rdi
jle 0x140018306
lea rdx, [rbp + 0x2f]
movsxd rax, dword [rbp + rcx*4 - 0x49]
cmp rax, 0x15
jae 0x1400182fe
movzx r8d, byte [rbp + rax + 0x17]
cmp r8, 0x15
jae 0x1400182fe
mov byte [rdx], r8b
inc ebx
inc rdx
inc rcx
cmp rcx, rdi
jl 0x1400182df
mov rdx, qword [0x140175b50]
lea r8, [rbp - 0x59]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001838c
test ebx, ebx
jne 0x14001834a
mov edx, 0x78e79c72
mov ecx, 0xa93cbc56
mov r8d, 0x16ff23fd
call fcn.1400014e0
mov rcx, qword [rbp - 0x59]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140018382
mov edx, 0xc8a8dfa9
mov ecx, 0x1973ffef
mov r8d, 0xa6b06026
call fcn.1400014e0
mov rcx, qword [rbp - 0x59]
mov r9d, 3
mov rdx, rax
lea rax, [rbp + 0x2f]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140018ad4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
mov ecx, edi
lea rax, str._SELECT_
movzx eax, word [rcx + rax]
lea rcx, [rcx + 2]
mov word [rsp + rcx + 0x2e], ax
test ax, ax
jne 0x140018af7
lea rcx, [rsp + 0x40]
lea rbx, str.keydb.db
call fcn.1400319b0
sub rax, rbx
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x140018b24
lea r9, [rsp + 0x30]
lea r8, str.explorer
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14001a3d4
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov edx, 0x33
mov r15, rcx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r14, rax
call qword [sym.imp.USER32.dll_CreatePopupMenu]
xor edx, edx
lea rcx, [rbp - 0x78]
lea r8d, [rdx + 0x48]
mov dword [rbp - 0x80], 0x50
mov rsi, rax
mov dword [rbp - 0x7c], 0x43
call fcn.1400ebf40
lea rax, [rbp - 0x30]
mov ebx, 1
lea rdi, [0x14016e814]
mov qword [rbp - 0x48], rax
cmp ebx, 0xc
je 0x14001a48f
mov ecx, dword [rdi]
lea rdx, [rbp - 0x30]
mov r8d, pe_nt_image_headers64
and ecx, 0x3f
call fcn.1400177b4
mov eax, dword [rdi]
lea r9, [rbp - 0x80]
shr eax, 9
mov r8d, 1
or edx, 0xffffffff
and eax, 8
mov rcx, rsi
mov dword [rbp - 0x70], ebx
mov dword [rbp - 0x74], eax
call qword [sym.imp.USER32.dll_InsertMenuItemW]
inc ebx
add rdi, 4
movsxd rax, ebx
cmp rax, 0x15
jb 0x14001a452
call qword [sym.imp.USER32.dll_GetMessagePos]
xor edi, edi
mov edx, 0x180
mov ecx, eax
mov qword [rsp + 0x30], rdi
movsx r8d, ax
shr ecx, 0x10
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edi
movsx r9d, cx
mov rcx, rsi
call qword [sym.imp.USER32.dll_TrackPopupMenu]
mov rcx, rsi
movsxd rbx, eax
call qword [sym.imp.USER32.dll_DestroyMenu]
test ebx, ebx
jle 0x14001a5a7
mov rax, rbx
cmp rbx, 0x15
ja 0x14001a5a7
lea r8, [0x14016e810]
mov ecx, edi
mov edx, 0x1000
test ebx, ebx
jle 0x14001a512
test dword [r8 + rcx*4], edx
je 0x14001a50a
inc edi
inc rcx
cmp rcx, rax
jl 0x14001a502
mov ebx, dword [r8 + rbx*4]
not ebx
xor ebx, dword [r8 + rax*4]
and ebx, edx
xor ebx, dword [r8 + rax*4]
mov dword [r8 + rax*4], ebx
test edx, ebx
je 0x14001a593
xor edx, edx
lea rcx, [rsp + 0x44]
lea r8d, [rdx + 0x34]
call fcn.1400ebf40
mov ecx, ebx
lea rax, [rbp - 0x30]
and ecx, 0x3f
shr ebx, 0xd
lea rdx, [rbp - 0x30]
and ebx, 0x1ffff
mov r8d, pe_nt_image_headers64
mov dword [rsp + 0x40], InitCommonControls
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x48], ebx
call fcn.1400177b4
lea r9, [rsp + 0x40]
movsxd r8, edi
mov edx, 0x1061
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, r14
mov rcx, r15
call fcn.1400183b0
jmp 0x14001a5a7
movsxd r8, edi
xor r9d, r9d
mov edx, 0x101c
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001abb4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r14, rdx
mov rdx, qword [0x140175b48]
mov rsi, rcx
lea r8, [rsp + 0x30]
xor ebx, ebx
mov rcx, 0xffffffff80000001
mov dil, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea r15d, [rbx + 1]
test eax, eax
je 0x14001ac11
jmp 0x14001acab
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
lea rdx, [0x140129d88]
xor r8d, r8d
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x38], 0x106
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001aca0
lea rcx, [rsp + 0x40]
call fcn.14000d868
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140129d88]
add eax, eax
mov r9d, r15d
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
movzx edi, dil
test eax, eax
cmove edi, r15d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
mov edx, 4
mov rcx, rsi
setne bl
mov r8d, ebx
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov r8d, dword [r14 + 0x28]
mov edx, 5
shr r8d, 0x1f
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov r8d, dword [r14 + 0x24]
mov edi, 7
shr r8d, 8
mov edx, edi
mov rcx, rsi
and r8d, r15d
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov r8d, dword [r14 + 0x24]
lea edx, [rdi - 1]
shr r8d, 0x1e
mov rcx, rsi
and r8d, r15d
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov r8d, dword [r14 + 0x24]
lea edx, [rdi + 2]
shr r8d, 0x1b
mov rcx, rsi
and r8d, r15d
call qword [sym.imp.USER32.dll_CheckDlgButton]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, edi
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14001aaac
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d984
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov rcx, qword [0x140175aa8]
mov rbx, rdx
lea rdx, [rsp + 0x20]
xor r8d, r8d
call fcn.14000da58
test al, al
je 0x14001d9d4
lea r8, [rsp + 0x20]
mov edx, 0x32
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [0x140175aa8]
lea rdx, [rsp + 0x20]
call fcn.14000dc3c
lea r8, [rsp + 0x20]
mov edx, 0x33
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov r8d, dword [rbx + 0x24]
mov edx, 6
shr r8d, 0x19
mov rcx, rdi
and r8d, 1
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov rax, qword [0x140175aa8]
xor ebx, ebx
cmp qword [rax + 0x38], rbx
mov edx, 6
mov rcx, rdi
setne bl
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x50
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [0x140175aa8]
mov rdx, qword [rcx + 0x38]
mov rcx, rax
mov rbx, rax
neg rdx
sbb edx, edx
not edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140175aa8]
cmp qword [rcx + 0x38], 0
jne 0x14001dac6
mov edx, 0x581fc399
mov ecx, 0xc2f4a04a
mov r8d, 0xb7faf26
call fcn.140001828
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, 0x50
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 6
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14001aaac
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x14001dae8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rbx, rcx
mov edx, 0x8bb5084f
mov r8d, 0xd8d564ec
mov ecx, 0x115e6860
call fcn.140001828
lea rcx, [rbp - 0x20]
mov r8, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.1400ebf40
lea rax, [rsp + 0x50]
lea edi, [rbx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0x68
mov dword [rbp - 0x54], edi
mov dword [rsp + 0x20], ebx
mov word [rbp - 0x50], di
mov qword [rbp - 0x78], rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
jne 0x14001dbc6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret