joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a784
Capabilities:
Get disk information

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x90
xor eax, eax
xor r9d, r9d
mov r8d, 3
mov sil, byte [rcx]
lea rbp, [rsp + 0x5d]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov r12d, edx
mov dword [rsp + 0x5d], 0x5c2e5c5c
mov edx, 0xc0000000
mov rcx, rbp
mov dword [rsp + 0x60], 0x3a235c
mov dword [rsp + 0x28], pe_nt_image_headers64
mov byte [rsp + 0x61], sil
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a814
call fcn.140038579
movsx ecx, sil
mov qword [rsp + 0x48], rax
call qword [sym.imp.msvcrt.dll_toupper]
mov r8, qword [rsp + 0x48]
lea rcx, str.Failed_to_open__c:_for_flushing:__s
mov edx, eax
call fcn.1400380b9
jmp 0x14000a85b
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
test eax, eax
jne 0x14000a848
call fcn.140038579
movsx ecx, sil
mov qword [rsp + 0x48], rax
call qword [sym.imp.msvcrt.dll_toupper]
mov r8, qword [rsp + 0x48]
lea rcx, str.Failed_to_flush__c:__s
mov edx, eax
call fcn.1400380b9
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a85b
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov r8d, 0x33
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointA]
test eax, eax
jne 0x14000a878
mov esi, 1
jmp 0x14000a8e7
mov rdx, rbp
mov rcx, rbx
call fcn.14000a458
mov esi, eax
test eax, eax
je 0x14000a8ab
test r12d, r12d
jne 0x14000a871
movsx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_toupper]
mov rdx, rbp
lea rcx, str.Successfully_remounted__s_as__c:
mov r8d, eax
call fcn.1400380b9
jmp 0x14000a871
test r12d, r12d
jne 0x14000a8da
call fcn.140038579
movsx ecx, byte [rbx]
mov qword [rsp + 0x48], rax
call qword [sym.imp.msvcrt.dll_toupper]
mov r9, qword [rsp + 0x48]
mov rdx, rbp
lea rcx, str.Could_not_remount__s_as__c:__s
mov r8d, eax
call fcn.1400380b9
mov rax, qword [0x1400b42b0]
mov dword [rax], 0xe0031209
mov eax, esi
add rsp, 0x90
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14000d240
Capabilities:
Query or enumerate registry value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
xor r10d, r10d
xor eax, eax
xor r9d, r9d
mov dword [rdx], r10d
mov rbx, rcx
lea rdi, [rsp + 0x7c]
mov ecx, 0x41
rep stosd dword [rdi], eax
mov rcx, rbx
mov qword [rsp + 0x68], r9
mov rbp, rdx
mov qword [rsp + 0x70], r9
lea r13, [rsp + 0x7c]
mov dword [rsp + 0x60], 0xffffffff
mov dword [rsp + 0x64], 4
call sub.msvcrt.dll_strlen
mov rcx, rax
mov r12, rax
test r12, r12
je 0x14000d336
cmp byte [rbx + r12], 0x5c
je 0x14000d2ae
dec r12
jmp 0x14000d299
cmp r12, 0x103
ja 0x14000d3fa
mov eax, 0x104
inc rcx
mov rdi, r13
mov rsi, rbx
cmp rcx, rax
cmova rcx, rax
mov ecx, ecx
rep movsb byte [rdi], byte [rsi]
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r9d, 0x20019
mov rcx, 0xffffffff80000001
lea rdx, [rax + 1]
cmp rdx, 0x104
mov edx, 0x103
cmovae rax, rdx
xor r8d, r8d
mov rdx, r13
mov byte [rsp + rax + 0x7c], 0
lea rax, [rsp + 0x70]
mov byte [rsp + r12 + 0x7c], 0
inc r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000d3b3
xor r8d, r8d
mov qword [rsp + 0x70], r8
jmp 0x14000d3d9
lea rax, [rsp + 0x68]
xor r8d, r8d
mov r9d, 0x2001d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
lea rdx, [0x14008b356]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000d36a
xor ecx, ecx
mov qword [rsp + 0x68], rcx
jmp 0x14000d3d9
lea rax, [rsp + 0x5c]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor eax, eax
mov dword [rsp + 0x20], edx
lea rdx, [0x14008b35f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 7
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000d329
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rbp
lea rdx, [rbx + r12]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000d3e9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000d3fa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x14000d4a0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
xor r9d, r9d
mov dword [rcx + 0x30], eax
lea rax, [rcx + 0x10]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, eax
mov eax, 1
test edx, edx
jne 0x14000d4e0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
sete al
movzx eax, al
neg eax
mov dword [rbx + 8], eax
add rsp, 0x30
pop rbx
ret

Function at 0x14000d4e9
Capabilities:
Delete file

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14000d193
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14000d515
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, esi
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.DLL_SetLastError]
Function at 0x14001739f
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
xor r9d, r9d
mov r8d, 0x10000
mov dword [rcx + 0x30], eax
lea rax, [rcx + 0x10]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, eax
mov eax, 1
test edx, edx
jne 0x1400173e5
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
sete al
movzx eax, al
neg eax
mov dword [rbx + 8], eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400178af
Capabilities:
Read file on windows

Disassembly:
push r15
mov eax, 0x1188
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140076d90
sub rsp, rax
xor eax, eax
lea rsi, [rsp + 0x108f]
mov r12d, ecx
mov ecx, 0x40
mov rbp, r8
and rsi, 0xffffffffffffffc0
mov rdi, rsi
rep stosd dword [rdi], eax
xor ecx, ecx
test rdx, rdx
sete al
test r8, r8
mov dword [rsp + 0x4c], ecx
sete cl
or al, cl
jne 0x140017a3d
cmp r12d, 3
ja 0x140017a3d
mov rcx, rdx
call fcn.140017298
xor edx, edx
xor r9d, r9d
mov r8d, 1
mov qword [rsp + 0x30], rdx
mov rcx, rax
mov rdi, rax
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r13d, eax
test rdi, rdi
je 0x14001795c
mov rcx, rdi
call sub.msvcrt.dll_free
mov ecx, r13d
call qword [sym.imp.KERNEL32.DLL_SetLastError]
cmp rbx, 0xffffffffffffffff
mov r13, qword [0x1400b42b0]
jne 0x140017993
call fcn.140038579
lea rcx, str.Could_not_open_file:__s
mov rdx, rax
call fcn.1400380b9
mov dword [r13], 0xc003006e
jmp 0x140017a41
mov edi, r12d
lea rax, [0x14007ca60]
mov rcx, rsi
call qword [rax + rdi*8]
lea r14, [rsp + 0x4c]
lea r12, [0x14007ca40]
mov eax, dword [r13]
test eax, eax
jns 0x1400179c1
cmp ax, 0x4c7
je 0x140017a41
xor eax, eax
lea r15, [rsp + 0x50]
mov r9, r14
mov r8d, 0x1000
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x140017a04
mov dword [r13], 0xc003001e
call fcn.140038579
lea rcx, str.__Read_error:__s
mov rdx, rax
call fcn.1400380b9
jmp 0x140017a41
mov r8d, dword [rsp + 0x4c]
test r8d, r8d
je 0x140017a1a
mov rdx, r15
mov rcx, rsi
call qword [r12 + rdi*8]
jmp 0x1400179af
lea rax, [0x14007ca20]
mov rcx, rsi
call qword [rax + rdi*8]
lea rax, [0x14007ca80]
mov ecx, dword [rax + rdi*4]
mov rdi, rbp
rep movsb byte [rdi], byte [rsi]
mov esi, 1
jmp 0x140017a43
or rbx, 0xffffffffffffffff
xor esi, esi
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140017a56
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
add rsp, 0x1188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400186ff
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov edx, 0x205
lea rcx, str.Found__d_officially_revoked_UEFI_bootloaders_from_embedded_list
call fcn.1400380b9
call fcn.140025c31
test eax, eax
je 0x140018733
mov edx, dword [0x1400ceac8]
lea rcx, str.Found__d_additional_revoked_UEFI_bootloaders_from_this_systems_SKUSiPolicy.p7b
add rsp, 0x28
jmp fcn.1400380b9
lea rcx, str.WARNING:_Could_not_parse_this_systems_SkuSiPolicy.p7b_for_additional_revoked_UEFI_bootloaders
add rsp, 0x28
jmp fcn.1400380b9
Function at 0x140018a9b
Capabilities:
Get graphical window text

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1a0
lea r8, str._sautorun.inf
mov edx, 0x40
lea rbx, [rsp + 0x60]
mov r9, rcx
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__snprintf]
lea rdx, [0x14008e216]
mov rcx, rbx
mov byte [rsp + 0x9f], 0
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
je 0x140018afd
mov rdx, rbx
lea rcx, str._s_already_exists___keeping_it
call fcn.1400380b9
mov rcx, rsi
call sub.msvcrt.dll_fclose
jmp 0x140018b2f
lea rdx, [0x14008e237]
mov rcx, rbx
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
jne 0x140018b36
lea rcx, str.Unable_to_create__s
mov rdx, rbx
call fcn.1400380b9
lea rcx, str.NOTE:_This_may_be_caused_by_a_poorly_designed_security_solution._See_https:__goo.gl_QTobxX.
call fcn.1400380b9
xor eax, eax
jmp 0x140018bf5
mov rax, qword [0x1400b4b60]
lea rdi, [rsp + 0xa0]
lea rbp, [rsp + 0x20]
mov r12, qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov rcx, qword [rax]
call r12
mov rax, qword [0x1400b4b90]
mov r8d, 0x20
mov rdx, rbp
mov rcx, qword [rax]
call r12
mov r8, rbp
lea rdx, str.__Created_by__s_n__https:__rufus.ie_n
mov rcx, rsi
call sub.msvcrt.dll_fwprintf_s
mov r8, rdi
lea rdx, str._autorun__nicon___autorun.ico_nlabel___s_n
mov rcx, rsi
call sub.msvcrt.dll_fwprintf_s
mov rcx, rsi
call sub.msvcrt.dll_fclose
lea rcx, str.Created:__s
mov rdx, rbx
call fcn.1400380b9
mov rcx, rbx
call sub.msvcrt.dll_strlen
cmp rax, 1
ja 0x140018bd9
mov r8d, 0xbd
lea rdx, str.icon.c
lea rcx, str.strlen_filename____2
call qword [sym.imp.msvcrt.dll__wassert]
mov rcx, rbx
mov byte [rsp + rax + 0x5f], 0x6f
call sub.msvcrt.dll_strlen
xor edx, edx
mov rcx, rbx
mov byte [rsp + rax + 0x5e], 0x63
call fcn.140018750
add rsp, 0x1a0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140019d0c
Capabilities:
Copy file

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rdx
call fcn.140019c5f
mov rcx, rbx
mov rsi, rax
call fcn.140019c5f
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebp, eax
test rsi, rsi
je 0x140019d50
mov rcx, rsi
call sub.msvcrt.dll_free
test rbx, rbx
je 0x140019d5d
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, ebp
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, edi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140019e76
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140019c5f
mov rbx, rax
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wmkdir]
test rbx, rbx
je 0x140019e9e
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_free
add rsp, 0x20
pop rbx
ret

Function at 0x14001afc4
Capabilities:
Delete file

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140019c5f
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14001aff0
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, esi
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.DLL_SetLastError]
Function at 0x14001d866
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov ecx, 0x11
movabs rax, 0x616d695f63736964
movabs rdx, 0x6f73692e6567
mov qword [rsp + 0x6f], rax
lea rdi, [rsp + 0x7f]
xor eax, eax
lea rbx, [rsp + 0x6f]
rep stosb byte [rdi], al
lea rax, [0x14008f6ad]
mov ecx, 0xbdc
mov qword [rsp + 0x77], rdx
mov qword [rsp + 0x38], rax
call fcn.14001e311
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400b4d80]
mov qword [rsp + 0x48], 1
cmp dword [rax], 0
jne 0x14001daaf
mov rsi, qword [0x1400b4a50]
cmp qword [rsi], 0
jne 0x14001daaf
lea rcx, [0x1400ff4a0]
mov dword [0x1400ff4a0], 1
call fcn.14000266d
test eax, eax
jne 0x14001d92b
lea rcx, str.No_dumpable_optical_media_found.
call fcn.1400380b9
jmp 0x14001daaf
mov rax, qword [0x1400ff4b0]
mov edx, 0x80000000
mov dword [0x1400ff4a8], 0x2000000
cmp rax, rdx
jg 0x14001d964
cmp rax, 0x40000000
jg 0x14001d95a
mov dword [0x1400ff4a8], 0x800000
jmp 0x14001d964
mov dword [0x1400ff4a8], 0x1000000
mov r9, qword [0x1400ff4c8]
test r9, r9
je 0x14001d993
cmp byte [r9], 0
je 0x14001d993
lea r8, str._s.iso
mov edx, 0x21
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__snprintf]
mov byte [rsp + 0x8f], 0
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, 1
call fcn.14003a9b3
mov qword [0x1400ff4c0], rax
test rax, rax
je 0x14001daaf
mov rcx, qword [0x1400ff4b0]
xor r8d, r8d
xor edx, edx
call fcn.1400389a1
lea rcx, str.ISO_media_size__s
mov rdx, rax
call fcn.1400380b9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov rbx, qword [0x1400b4b90]
mov rbp, qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
call rbp
mov rdi, qword [0x1400b42b0]
xor edx, edx
xor ecx, ecx
mov dword [rdi], edx
xor edx, edx
call fcn.14002d51e
mov ecx, 1
call fcn.14004499e
xor ecx, ecx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rcx
lea r9, [0x1400ff4a0]
xor ecx, ecx
mov dword [rsp + 0x20], r8d
lea r8, [0x14001afff]
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rsi], rax
test rax, rax
je 0x14001da73
lea rcx, str._r_nSave_to_ISO_operation_started
call fcn.1400380b9
or r9d, 0xffffffff
xor r8d, r8d
xor edx, edx
mov ecx, 1
call fcn.14001e4cb
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8009
call rbp
jmp 0x14001daaf
lea rcx, str.Unable_to_start_ISO_save_thread
call fcn.1400380b9
mov rcx, qword [0x1400ff4c0]
mov dword [rdi], 0xe0031205
call sub.msvcrt.dll_free
xor eax, eax
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [0x1400ff4c0], rax
xor r8d, r8d
mov edx, 0x8000
call qword [sym.imp.USER32.dll_PostMessageW]
nop
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14001ddd2
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.localization:_invalid_parameter_for_add_message_command_n
test rbx, rbx
je 0x14001ddff
movsxd rax, dword [rbx + 4]
lea edx, [rax - 0xbb9]
cmp edx, 0x15d
jbe 0x14001de09
lea rcx, str.localization:_invalid_MSG__index_n
add rsp, 0x20
pop rbx
jmp fcn.1400380b9
mov rdx, qword [0x1400ffa80]
mov rcx, qword [rdx + rax*8 - 0x5dc0]
call sub.msvcrt.dll_free
movsxd rdx, dword [rbx + 4]
mov rax, qword [0x1400ffa80]
xor ecx, ecx
lea rax, [rax + rdx*8 - 0x5dc0]
xor edx, edx
mov qword [rax], rdx
mov rdx, qword [rbx + 0x20]
mov qword [rax], rdx
mov qword [rbx + 0x20], rcx
add rsp, 0x20
pop rbx
ret

Function at 0x14001de83
Capabilities:
Print debug messages

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa0
movsxd rbx, ecx
mov rbp, rdx
test rdx, rdx
je 0x14001dea9
mov r12, qword [rdx + 0x18]
test r12, r12
je 0x14001dea9
cmp ebx, 9
jbe 0x14001dec2
lea rcx, str.localization:_invalid_parameter_for_add_dialog_command_n
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400380b9
lea eax, [rbx + 0x30]
mov rcx, r12
mov rsi, r12
mov byte [rsp + 0x20], al
mov al, byte [rdx]
add eax, 0x30
mov byte [rsp + 0x21], al
call sub.msvcrt.dll_strlen
lea rdx, [rsp + 0x22]
lea rcx, [rax + 1]
mov eax, 0x7e
mov rdi, rdx
cmp rcx, rax
cmova rcx, rax
mov ecx, ecx
rep movsb byte [rdi], byte [rsi]
mov rcx, r12
call sub.msvcrt.dll_strlen
lea rcx, [rsp + 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x7e
mov edx, 0x7d
cmovae rax, rdx
lea rdx, [0x14010fb00]
mov byte [rsp + rax + 0x22], 0
call fcn.140035bae
test eax, eax
je 0x14001df6d
mov eax, eax
imul rsi, rax, 0x18
mov rax, qword [0x14010fb00]
mov rcx, qword [rax + rsi + 0x10]
test rcx, rcx
je 0x14001df61
mov rax, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x30]
mov qword [rdx], rax
mov qword [rax + 8], rdx
xor eax, eax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
call fcn.14001de48
mov rax, qword [0x14010fb00]
mov qword [rax + rsi + 0x10], rbp
shl rbx, 5
lea r8, [0x140082de0]
lea rdx, [rbp + 0x28]
lea rax, [r8 + rbx]
lea r8, [r8 + rbx + 0x10]
mov rcx, qword [rax + 0x18]
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x30], rcx
mov qword [rcx], rdx
mov qword [rax + 0x18], rdx
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14001ea1f
Capabilities:
Identify system language via api

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
call qword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
mov esi, eax
test rbx, rbx
je 0x14001ebcf
movzx edx, byte [rbx + 1]
xor eax, eax
movzx r9d, si
cmp edx, eax
jle 0x14001eaae
mov rcx, qword [rbx + 0x10]
mov ecx, dword [rcx + rax*4]
inc rax
cmp ecx, r9d
jne 0x14001ea47
mov rdi, qword [0x1400b4f40]
mov rbx, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.Will_use_default_UI_locale_0x_04X
mov rcx, qword [rdi]
sub rdx, rcx
add rcx, rbx
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rbx
mov byte [rbx + 0xffb], 0
call sub.msvcrt.dll_strlen
lea rdx, [rax + 2]
mov byte [rbx + rax], 0xd
mov byte [rbx + rax + 1], 0xa
mov byte [rbx + rax + 2], 0
mov eax, esi
mov qword [rdi], rdx
jmp 0x14001eb79
xor eax, eax
xor esi, esi
lea r12, [0x14001dc3c]
mov dword [0x14010fac8], eax
movzx eax, byte [rbx + 1]
cmp eax, esi
jle 0x14001eb7e
mov rax, qword [rbx + 0x10]
lea rbp, [rsp + 0x36]
lea r8, str._04X
mov edx, 5
mov rcx, rbp
lea rdi, [rsi*4]
mov r9d, dword [rax + rsi*4]
inc rsi
call qword [sym.imp.msvcrt.dll__snwprintf]
mov r8, rbp
mov edx, 4
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnumUILanguagesW]
cmp dword [0x14010fac8], 0
je 0x14001eabf
mov rax, qword [rbx + 0x10]
mov rbp, qword [0x1400b4f40]
mov edx, 0xffc
lea r8, str.Detected_installed_Windows_Language_Pack_for_0x_04X___s_
mov rsi, qword [0x1400b4f30]
mov rcx, qword [rbp]
mov r9d, dword [rax + rdi]
mov rax, qword [rbx + 0x20]
sub rdx, rcx
add rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rsi
mov byte [rsi + 0xffb], 0
call sub.msvcrt.dll_strlen
mov byte [rsi + rax], 0xd
lea rdx, [rax + 2]
mov byte [rsi + rax + 1], 0xa
mov byte [rsi + rax + 2], 0
mov rax, qword [rbx + 0x10]
mov qword [rbp], rdx
mov eax, dword [rax + rdi]
or ah, 4
jmp 0x14001ebd4
mov rdi, qword [0x1400b4f40]
mov rsi, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.NOTE:_No_Windows_Language_Pack_is_installed_for__s_on_this_system._r_nThis_means_that_some_controls_may_still_be_displayed_using_the_system_locale.
mov r9, qword [rbx + 0x20]
mov rcx, qword [rdi]
sub rdx, rcx
add rcx, rsi
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rsi
mov byte [rsi + 0xffb], 0
call sub.msvcrt.dll_strlen
lea rdx, [rax + 2]
mov byte [rsi + rax], 0xd
mov qword [rdi], rdx
mov byte [rsi + rax + 1], 0xa
mov byte [rsi + rax + 2], 0
mov eax, 0x400
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14001f22c
Capabilities:
Query or enumerate registry value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
xor eax, eax
xor r10d, r10d
mov rbx, rcx
lea rdi, [rsp + 0x7c]
mov ecx, 0x41
mov rbp, r8
rep stosd dword [rdi], eax
mov ecx, r9d
mov rdi, r8
mov qword [rsp + 0x68], r10
rep stosb byte [rdi], al
mov rcx, rbx
mov qword [rsp + 0x70], r10
lea r13, [rsp + 0x7c]
mov dword [rsp + 0x60], 0xffffffff
mov dword [rsp + 0x64], r9d
call sub.msvcrt.dll_strlen
mov rcx, rax
mov r12, rax
test r12, r12
je 0x14001f321
cmp byte [rbx + r12], 0x5c
je 0x14001f299
dec r12
jmp 0x14001f284
cmp r12, 0x103
ja 0x14001f3e5
mov eax, 0x104
inc rcx
mov rdi, r13
mov rsi, rbx
cmp rcx, rax
cmova rcx, rax
mov ecx, ecx
rep movsb byte [rdi], byte [rsi]
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r9d, 0x20019
mov rcx, 0xffffffff80000001
lea rdx, [rax + 1]
cmp rdx, 0x104
mov edx, 0x103
cmovae rax, rdx
xor r8d, r8d
mov rdx, r13
mov byte [rsp + rax + 0x7c], 0
lea rax, [rsp + 0x70]
mov byte [rsp + r12 + 0x7c], 0
inc r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001f39e
xor r8d, r8d
mov qword [rsp + 0x70], r8
jmp 0x14001f3c4
lea rax, [rsp + 0x68]
xor r8d, r8d
mov r9d, 0x2001d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
lea rdx, [0x1400932c5]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001f355
xor ecx, ecx
mov qword [rsp + 0x68], rcx
jmp 0x14001f3c4
lea rax, [rsp + 0x5c]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor eax, eax
mov dword [rsp + 0x20], edx
lea rdx, [0x1400932ce]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 7
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14001f314
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rbp
lea rdx, [rbx + r12]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001f3d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001f3e5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14001f3f5
Capabilities:
Set registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov esi, edx
mov ebp, r9d
mov edx, 0x5c
xor r9d, r9d
mov qword [rsp + 0x60], r9
mov rbx, rcx
mov rdi, r8
mov qword [rsp + 0x68], r9
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14001f43e
mov r8d, 0x91
lea rdx, [0x1400932e4]
lea rcx, [0x1400932fa]
call qword [sym.imp.msvcrt.dll__wassert]
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov r9d, 0x2001d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001f46e
xor r8d, r8d
mov qword [rsp + 0x60], r8
jmp 0x14001f4d9
lea rax, [rsp + 0x5c]
xor edx, edx
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x30], rdx
lea rdx, [0x140093338]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 7
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001f4bc
xor eax, eax
mov qword [rsp + 0x68], rax
jmp 0x14001f4d9
mov dword [rsp + 0x28], ebp
mov rcx, qword [rsp + 0x68]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001f4e9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001f4fa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x14001f503
Capabilities:
Delete file

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001ed5a
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14001f52f
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, esi
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.DLL_SetLastError]