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

Disassembly:
jmp 0x140016fe0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rcx
lea rcx, str.Inside_SetSystemDockingTransformation_n
call fcn.1400030c1
lea rcx, [0x14009b1d0]
call fcn.140002667
xor ebx, ebx
mov rbp, rax
mov byte [rsp + 0x68], bl
mov edi, ebx
mov esi, ebx
test rax, rax
je 0x1400170be
mov rdx, rax
lea rcx, str.SetSystemDockingTransformation_DevicePath____ws__n
call fcn.1400030c1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001706f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetSystemDockingTransformation:_CreateFile_Error__08d__n
jmp 0x1400170cb
movzx eax, byte [r14]
lea rdx, [rsp + 0x68]
xor r9d, r9d
mov byte [rsp + 0x68], al
mov rcx, rdi
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test eax, eax
jne 0x1400170a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Inside_SetSystemDockingTransformation:_WriteFile_Error__08d__n
jmp 0x1400170cb
movzx edx, byte [rsp + 0x68]
lea rcx, str.SetSystemDockingTransformation:_WriteFile_0x_08x__n
call fcn.1400030c1
mov esi, 1
jmp 0x1400170d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetSystemDockingTransformation:_GetDevicePath_Error__08d__n
mov edx, eax
mov ebx, eax
call fcn.1400030c1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400170ea
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
lea rcx, str.Return_SetSystemDockingTransformation:_Status__08d__n
call fcn.1400030c1
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140017330
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017330
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rcx
lea rcx, str.Inside_SetSystemTransformation_n
call fcn.1400030c1
lea rcx, [0x14009b1b8]
call fcn.140002667
xor ebx, ebx
mov rbp, rax
mov byte [rsp + 0x68], bl
mov edi, ebx
mov esi, ebx
test rax, rax
je 0x14001740e
mov rdx, rax
lea rcx, str.SetSystemTransformation_DevicePath____ws__n
call fcn.1400030c1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400173bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetSystemTransformation:_CreateFile_Error__08d__n
jmp 0x14001741b
movzx eax, byte [r14]
lea rdx, [rsp + 0x68]
xor r9d, r9d
mov byte [rsp + 0x68], al
mov rcx, rdi
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test eax, eax
jne 0x1400173f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Inside_SetSystemTransformation:_WriteFile_Error__08d__n
jmp 0x14001741b
movzx edx, byte [rsp + 0x68]
lea rcx, str.SetSystemTransformation:_WriteFile_0x_08x__n
call fcn.1400030c1
mov esi, 1
jmp 0x140017424
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetSystemTransformation:_GetDevicePath_Error__08d__n
mov edx, eax
mov ebx, eax
call fcn.1400030c1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14001743a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
lea rcx, str.Return_SetSystemTransformation:_Status__08d__n
call fcn.1400030c1
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x1400174b0
Capabilities:
Create thread

Disassembly:
jmp 0x1400174b0
sub rsp, 0x38
test ecx, ecx
je 0x1400174f6
cmp qword [0x1400c24d8], 0
jne 0x14001751f
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea r8, [0x1400032b5]
xor ecx, ecx
mov dword [rsp + 0x40], eax
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400c24d8], rax
add rsp, 0x38
ret
cmp qword [0x1400c24d8], 0
je 0x140017516
mov rcx, qword [0x1400c24f0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov qword [0x1400c24d8], rax
add rsp, 0x38
jmp fcn.140003d3c
add rsp, 0x38
ret
Function at 0x140017770
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017770
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
lea rcx, [0x14009b1b8]
call fcn.140002667
xor ebx, ebx
mov rbp, rax
mov byte [rsp + 0x50], bl
mov edi, ebx
mov esi, ebx
test rax, rax
je 0x140017839
mov rdx, rax
lea rcx, str.ToggleConversionIndicator:_DevicePath____ws__n
call fcn.1400030c1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400177f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.RotationLockButtonPress:_CreateFile_Error__08d__n
jmp 0x140017846
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test eax, eax
jne 0x140017821
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ToggleConversionIndicator:_WriteFile_Error__08d__n
jmp 0x140017846
movzx edx, byte [rsp + 0x50]
lea rcx, str.ToggleConversionIndicator:_WriteFile_0x_08x__n
call fcn.1400030c1
mov esi, 1
jmp 0x14001784f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ToggleConversionIndicator:_GetDevicePath_Error__08d__n
mov edx, eax
mov ebx, eax
call fcn.1400030c1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140017865
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
lea rcx, str.Return_ToggleConversionIndicator:_Status__08d__n
call fcn.1400030c1
mov rbx, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140017f10
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x140017f10
sub rsp, 0x38
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
call fcn.140004345
test eax, eax
je 0x140017f54
mov eax, dword [rsp + 0x40]
sub eax, 2
je 0x140017f4c
cmp eax, 1
je 0x140017f42
mov dword [rsp + 0x40], 0
jmp 0x140017f54
mov dword [rsp + 0x40], 2
jmp 0x140017f54
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCTransformCurrentStatus
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017fbe
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
lea r9d, [rax + 4]
mov rcx, qword [rsp + 0x48]
lea rdx, [0x14009b730]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140018b70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140018b70
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
lea rcx, str.Enter_CopyTimeStampToPrev___n
call fcn.1400030c1
xorps xmm0, xmm0
lea r9, [rsp + 0x34]
xor eax, eax
lea rdx, str.ModeChangeTimeStamp
mov word [rsp + 0x68], ax
xor ebx, ebx
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140018c57
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x38]
mov rcx, rdi
lea rdx, str.ModeChangeTimeStamp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140018c57
mov eax, dword [rsp + 0x30]
lea rdx, str.PrevTimeStamp
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x98], rsi
mov esi, 1
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove ebx, esi
mov rsi, qword [rsp + 0x98]
lea rcx, str.Exit_CopyTimeStampToPrev___n
call fcn.1400030c1
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001e15
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x140018f10
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140018f10
push rbx
sub rsp, 0x50
xor ebx, ebx
mov dword [rsp + 0x70], 4
lea rcx, str.Enter_SystemTransformationCreateCurrentStatusToReg___n
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], ebx
call fcn.1400030c1
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCTransformCurrentStatus
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140018f8d
lea rcx, str.Error_SystemTransformationCreateCurrentStatusToReg_RegCreateKeyEx_error____n
call fcn.1400030c1
jmp 0x140019016
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
call fcn.140003760
cmp dword [rsp + 0x68], 2
lea rdx, [0x1400a78a8]
mov rcx, qword [rsp + 0x78]
jne 0x140018fd7
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, str.SystemTransformationCreateCurrentStatusToReg___already_have_than_read_the_dwMultiMode_read_value:__x_n
jmp 0x140018fff
mov eax, dword [rsp + 0x70]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, str.SystemTransformationCreateCurrentStatusToReg___Crelate_and_set_dwMultiMode_read_value:__x_n
mov edx, dword [rsp + 0x60]
call fcn.1400030c1
mov ecx, dword [rsp + 0x60]
call fcn.14000326a
mov ebx, 1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140019026
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateCurrentStatusToReg___n
call fcn.1400030c1
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140019340
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140019340
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov dword [rsp + 0x30], 0x80
xor ebx, ebx
mov dword [rsp + 0x34], 1
lea rcx, str.Enter_SystemTransformationCreateReg___n
mov qword [rsp + 0x38], rbx
call fcn.1400030c1
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400193c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_SystemTransformationCreateReg_RegCreateKeyEx_error____d_n
call fcn.1400030c1
jmp 0x140019430
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001940e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_SystemTransformationCreateReg_RegQueryValueEx_error____d_n
call fcn.1400030c1
jmp 0x140019430
lea rdx, [rsp + 0x40]
lea rcx, str.SystemTransformationCreateReg___already_have_than_read_the_dwCurrentSetting_read_value:__s_n
call fcn.1400030c1
lea rcx, [rsp + 0x40]
call fcn.140003981
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140019440
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateReg___n
call fcn.1400030c1
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001e15
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140019540
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x140019540
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rcx, str.Enter_SystemTransformationSetCurrentStatusToReg___n
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x68], ebx
call fcn.1400030c1
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCTransformCurrentStatus
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400195b1
lea rcx, str.Error_SystemTransformationSetCurrentStatusToReg_RegCreateKeyEx_error____n
call fcn.1400030c1
jmp 0x140019607
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
call fcn.140003760
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, [0x1400a78a8]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400195fe
lea rcx, str.Error_SystemTransformationSetCurrentStatusToReg_RegSetValueEx_error____n
call fcn.1400030c1
jmp 0x140019607
mov ecx, dword [rsp + 0x60]
call fcn.14000326a
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140019617
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.SystemTransformationSetCurrentStatusToReg___n
call fcn.1400030c1
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140019670
Capabilities:
Set registry value

Disassembly:
jmp 0x140019670
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, str.Enter_UpdateCurrentModeRegValue___n
call fcn.1400030c1
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.CurrentMode
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
lea rcx, str.Exit_UpdateCurrentModeRegValue___n
test eax, eax
sete bl
call fcn.1400030c1
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400196f0
Capabilities:
Set registry value

Disassembly:
jmp 0x1400196f0
mov dword [rsp + 8], ecx
sub rsp, 0x38
lea rcx, str.ENTER_UpdateDolbyMultimodeRegistry___n
call fcn.1400030c1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREDolbyDAX
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019785
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, str.MultimodeFormFactor
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14001978c
test rcx, rcx
je 0x140019779
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.EXIT_Error_UpdateDolbyMultimodeRegistry___n
call fcn.1400030c1
xor eax, eax
add rsp, 0x38
ret
test rcx, rcx
je 0x140019797
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.EXIT_UpdateDolbyMultimodeRegistry___n
call fcn.1400030c1
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400197e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400197e0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, str.Enter_UpdatePrevMultimode__._n
call fcn.1400030c1
xor ecx, ecx
lea r9, [rsp + 0x38]
xor eax, eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x50], eax
lea rdx, [0x1400a78a8]
lea rax, [rsp + 0x34]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rbx
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400198d2
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x1400a78a8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400198d2
mov ecx, dword [rsp + 0x30]
lea r8d, [rax + 0xa]
lea rdx, [rsp + 0x40]
call fcn.140001ac3
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0xa
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.PrevMode
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400198d2
lea rcx, str.Exit_UpdatePrevMultimode__._n
call fcn.1400030c1
mov eax, 1
jmp 0x1400198d4
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001e15
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140019a30
Capabilities:
Set registry value

Disassembly:
jmp 0x140019a30
push rbx
sub rsp, 0x70
mov rax, qword [0x1400c1008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
lea rcx, str.Enter_UpdateTimeStampRegValue___n
call fcn.1400030c1
xorps xmm0, xmm0
xor eax, eax
mov rcx, rbx
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.140001b6d
mov edx, 0x19
lea rcx, [rsp + 0x30]
call fcn.1400024ff
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x19
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.ModeChangeTimeStamp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, str.Exit_UpdateTimeStampRegValue___n
mov ebx, eax
call fcn.1400030c1
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001e15
add rsp, 0x70
pop rbx
ret
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a310
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a355
xor al, al
jmp 0x14000a3a2
cmp word [rbx], 0
je 0x14000a36d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a360
cmp word [rsp + 0x30], 0
je 0x14000a39b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a3c3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a380
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b510
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fb44
int3
Function at 0x14000aba0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001fcf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fdd0]
lea rsi, [0x140034e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac19
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a3d0
test al, al
je 0x14000acf9
lea rcx, [rsp + 0x20]
call fcn.140014240
movsxd r11, dword [0x14002fdd0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fdd0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac54
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac44
add rax, 2
test ecx, ecx
jne 0x14000ac30
test edx, edx
je 0x14000ac77
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac24
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac60
cmp rax, 2
jne 0x14000ac7b
cmp word [rdi + 2], 0x3a
jne 0x14000ac7b
mov al, 1
jmp 0x14000acd8
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000aca6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000accd
mov bl, 1
cmp dword [0x14002fdd0], 0x400
jge 0x14000accd
mov rcx, rdi
call fcn.140014240
movsxd rdx, dword [0x14002fdd0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fdd0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b510
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000a9f0
int3
Function at 0x14000ae20
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000ae5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae4e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000af4e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298d8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140032610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af2f
test al, 0x10
je 0x14000af2f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aed5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret