joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112ac
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x50], rax
and dword [rsp + 0x24], 0
and dword [rsp + 0x34], 0
mov rdi, rdx
mov dword [rdx + 8], 6
lea rcx, [rsp + 0x38]
mov r8d, 0x10c
xor edx, edx
mov dword [rsp + 0x30], 0x114
call fcn.1400ebf40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 5
jne 0x1400113ab
mov edx, 0x861f3fc2
mov ecx, 0x524346b5
mov r8d, 0x4e78e78
mov dword [rsp + 0x20], 4
call fcn.1400015fc
mov rbx, 0xffffffff80000000
lea r9, [rsp + 0x20]
lea r8, [rdi + 0x10]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edx, 0xa4b4052a
mov ecx, 0x70e87c31
mov r8d, 0x264cb490
mov dword [rsp + 0x20], 4
call fcn.1400015fc
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x24]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [rsp + 0x24]
dec ecx
je 0x1400113a4
dec ecx
je 0x14001139b
cmp ecx, 2
jne 0x1400113ab
mov dword [rdi + 0xc], 3
jmp 0x1400113ab
mov dword [rdi + 0xc], 2
jmp 0x1400113ab
mov dword [rdi + 0xc], 1
mov al, 1
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400113d0
Capabilities:
Check os version
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x260], rax
and dword [rsp + 0x24], 0
movsxd rdi, edx
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x10c
mov dword [rsp + 0x20], 0x114
call fcn.1400ebf40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 5
jne 0x1400114fe
mov edx, 0x3efd9cc5
mov ecx, 0xeaa1e338
mov r8d, 0xbc052d53
call fcn.1400015fc
mov edx, 0xc0b3fedc
mov ecx, 0x14ef8685
mov r8d, 0x424b4f66
mov rbx, rax
call fcn.1400015fc
lea r8, [rbp + 0x40]
mov rcx, 0xffffffff80000000
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140011487
lea r8, [rbp + 0x40]
lea edx, [rax + 5]
mov rcx, rbx
call fcn.14000fd48
lea eax, [rdi - 1]
mov ebx, 1
mov dword [rbp + 0x44], 2
mov dword [rbp + 0x40], ebx
mov dword [rbp + 0x48], 4
cmp eax, 2
ja 0x1400114a9
mov ebx, dword [rbp + rdi*4 + 0x3c]
mov edx, 0x16fb904b
mov ecx, 0xc2a7efd6
mov r8d, 0x940321dd
call fcn.1400015fc
mov edx, 0xc7e6ff10
mov ecx, 0x13ba80e9
mov r8d, 0x451e4eaa
mov rdi, rax
call fcn.1400015fc
lea r8, [rbp + 0x40]
mov rcx, 0xffffffff80000000
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14001153f
lea r8, [rbp + 0x40]
mov edx, ebx
mov rcx, rdi
call fcn.14000fd48
jmp 0x14001153f
lea rdx, [rbp + 0x50]
mov ecx, 0x23
call fcn.14000fce0
mov edx, 0xe28dffe9
mov ecx, 0x36d18070
mov r8d, 0x60754e5e
movsxd rbx, eax
call fcn.1400015fc
lea rcx, [rbp + 0x50]
lea rcx, [rcx + rbx*2]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14001157c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x460
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
lea rdx, [rsp + 0x240]
mov ecx, 0x1a
mov r14d, r8d
call fcn.14000fce0
xor r13d, r13d
mov edx, 0x130a4d1b
mov ecx, 0xc756324c
mov r8d, 0x91f2fcaa
movsxd rbx, eax
mov esi, r13d
mov ebp, r13d
mov word [rsp + 0x30], r13w
call fcn.1400015fc
lea rcx, [rsp + 0x240]
lea rcx, [rcx + rbx*2]
mov rdx, rax
mov r8d, r14d
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0xa70189ee
mov ecx, 0x735df6e7
mov r8d, 0x25f93875
call fcn.1400015fc
lea ebx, [r13 + 1]
lea r9, [0x140011564]
mov rdx, rax
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x240]
mov r8b, bl
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.140022694
cmp word [rsp + 0x30], r13w
je 0x1400116c8
lea rcx, [rsp + 0x30]
call fcn.140022910
test al, al
je 0x1400116c8
cmp r14d, 6
jne 0x140011663
mov dword [rdi + 8], 3
jmp 0x14001167b
cmp r14d, 5
jne 0x140011672
mov dword [rdi + 8], 2
jmp 0x14001167b
cmp r14d, 3
jne 0x14001167b
mov dword [rdi + 8], ebx
lea r9, [rsp + 0x30]
lea rdx, str.BDRegionCode
lea rcx, str.General
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, 0x3c658b45
mov ecx, 0xe839f5aa
mov r8d, 0xbe9d3ade
mov esi, eax
call fcn.1400015fc
lea r9, [rsp + 0x30]
lea rcx, str.General
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
dec esi
je 0x1400116e7
dec esi
je 0x1400116de
cmp esi, 2
jne 0x1400116ea
mov dword [rdi + 0xc], 3
jmp 0x1400116ea
mov dword [rdi + 0xc], 2
jmp 0x1400116ea
mov dword [rdi + 0xc], ebx
cmp ebp, 0xaf01cec2
je 0x14001173c
cmp ebp, 0xbc110012
je 0x140011737
cmp ebp, 0xd3a535fb
je 0x14001172e
cmp ebp, 0xdcab1f36
je 0x140011725
cmp ebp, 0xf0cc1274
je 0x14001171c
test ebp, ebp
jne 0x140011743
mov dword [rdi + 0x10], r13d
jmp 0x140011743
mov dword [rdi + 0x10], 3
jmp 0x140011743
mov dword [rdi + 0x10], 4
jmp 0x140011743
mov dword [rdi + 0x10], 5
jmp 0x140011743
mov dword [rdi + 0x10], ebx
jmp 0x140011743
mov dword [rdi + 0x10], 2
mov al, bl
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x490]
add rsp, 0x460
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011f54
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
cmp r8d, 4
jne 0x140011f8f
mov cl, r9b
call fcn.14000fbf4
mov eax, 5
jmp 0x140012081
cmp r8d, 5
jne 0x14001207f
mov dword [rbp - 0x18], 0x320030
mov dword [rbp - 0x14], 0x470050
mov dword [rbp - 0x10], 0x560031
mov dword [rbp - 0xc], 0x30
cmp r9d, 1
je 0x140011fd5
cmp r9d, 2
jne 0x140011fc7
lea eax, [r8 + 0x32]
jmp 0x140011fd1
cmp r9d, 3
jne 0x140011fd5
lea eax, [r9 + 0x3f]
mov word [rbp - 0x10], ax
mov edx, 0xb66158b1
mov ecx, 0x623d24a8
mov r8d, 0x3499e92b
call fcn.1400015fc
lea r8, [rbp - 0x20]
mov rcx, 0xffffffff80000000
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14001209d
mov edx, 0xe94e0af
mov ecx, 0xdac89352
mov r8d, 0x8c6c513e
call fcn.1400015fc
mov rcx, qword [rbp - 0x20]
mov r9d, 1
mov rdx, rax
lea rax, [rbp - 0x18]
xor r8d, r8d
mov dword [rsp + 0x28], InitCommonControls
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 5
jne 0x14001209d
mov edx, 0x4f3b9438
mov ecx, 0x9b67e7d7
mov r8d, 0xcdc32582
call fcn.1400015fc
lea r9d, [rbx + 0xb]
lea r8, [0x140129d88]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
mov eax, 4
jmp 0x140012081

Function at 0x140012c50
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 0x140012cb3
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400eda30
sub rsp, rax
lea rdx, [rsp + 0x30]
test r8, r8
jle 0x140012cdf
mov rcx, rdx
sub rbx, rdx
mov al, byte [rbx + rcx + 2]
xor al, 0xbf
mov byte [rcx], al
inc rcx
dec r8
jne 0x140012ccf
mov rcx, qword [0x140175aa0]
mov qword [rsp + 0x20], r9
mov r8, rsi
mov r9, rdi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
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 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, 0x460ad32f
mov r8d, 0x24
lea rcx, [0x14016e58a]
call fcn.1400016a4
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.14005a510
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 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, 0xcf8eb6c7
mov ecx, 0x399620a9
mov r8d, 0xe607f761
call fcn.14000171c
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, 0x92f82cf1
mov ecx, 0x1221d16f
mov r8d, 0x2b43f50c
add rbx, 2
call fcn.140001824
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, 0xb16d7b93
mov ecx, 0x31b4861d
mov r8d, 0x8d6a26e
call fcn.140001824
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, 0xb6109cc8
mov ecx, 0x36c96176
mov r8d, 0xfab453a
call fcn.140001824
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, 0xa9ba26be
call fcn.1400017ac
mov rcx, rax
jmp 0x140016b5d
mov edx, 0x3f56ce5f
mov ecx, 0xbf8f33ff
mov r8d, 0x86ed17a0
call fcn.140001824
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, 0xf8a464ee
mov ecx, 0x787d993a
mov r8d, 0x411fbd11
call fcn.140001824
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, 0xe2cd2065
mov ecx, 0x6214ddad
mov r8d, 0x5b76f999
call fcn.140001824
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, 0xd0387335
mov ecx, 0xa6a1ad9c
mov r8d, 0x7e841c37
call fcn.1400014e0
mov rcx, qword [rbp - 0x59]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140018382
mov edx, 0x4c1e32f8
mov ecx, 0x3a87ec33
mov r8d, 0xe2a25dfa
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.14003198c
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 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
invalid
invalid
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, 0xfbcabd12
mov ecx, 0x7b13467c
mov r8d, 0x427164e5
call fcn.140001824
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, 0x678f0477
mov r8d, 0xde34dd9c
mov ecx, 0xe756fce5
call fcn.140001824
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