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

Disassembly:
jmp 0x14001dfa0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov r14, rcx
lea rcx, [0x14009a4e0]
mov byte [rsp + 0x68], bl
mov esi, ebx
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x14001e03d
mov rdx, rax
lea rcx, str.SetSystemTransformation_DevicePath____ws__n
call fcn.1400045d9
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_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e03d
movzx eax, byte [r14]
lea r8d, [rbx + 1]
xor r9d, r9d
mov byte [rsp + 0x68], al
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14001e03d
lea edi, [rbx + 1]
jmp 0x14001e045
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001e05b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
jmp 0x14001e0b0
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCConfigurationsScreenRotation
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001e117
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov ebx, 1
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.TNSPMode
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001e127
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14001e150
Capabilities:
Create thread

Disassembly:
jmp 0x14001e150
sub rsp, 0x38
cmp dword [0x1400b81fc], 0
jne 0x14001e1ba
xor edx, edx
lea r8, [0x1400b8788]
xor r9d, r9d
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
xor edx, edx
mov dword [rsp + 0x40], 0
xor r9d, r9d
lea r8, [rsp + 0x40]
lea ecx, [rdx + 0x72]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [rsp + 0x40], 0
je 0x14001e1a0
mov dword [0x1400b8788], 0
jmp 0x14001e1ba
cmp dword [0x1400b8788], 0
je 0x14001e1ba
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x11]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rcx, [rsp + 0x40]
call fcn.14000118b
test al, al
je 0x14001e20a
mov eax, dword [rsp + 0x40]
lea r9, [0x1400b84ac]
or eax, 0xe0000000
lea r8, [0x140003e90]
mov dword [0x1400b84ac], eax
xor edx, edx
lea rax, [rsp + 0x48]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
Function at 0x14001e240
Capabilities:
Create thread

Disassembly:
jmp 0x14001e240
sub rsp, 0x38
test ecx, ecx
je 0x14001e286
cmp qword [0x1400b8648], 0
jne 0x14001e2af
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea r8, [0x140001b22]
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 [0x1400b8648], rax
add rsp, 0x38
ret
cmp qword [0x1400b8648], 0
je 0x14001e2a6
mov rcx, qword [0x1400b8768]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov qword [0x1400b8648], rax
add rsp, 0x38
jmp fcn.1400013de
add rsp, 0x38
ret

Function at 0x14001e540
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e540
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rcx, [0x14009a4e0]
mov esi, ebx
mov byte [rsp + 0x50], bl
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x14001e5d8
mov rdx, rax
lea rcx, str.ToggleConversionIndicator:_DevicePath____ws__n
call fcn.1400045d9
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_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e5d8
xor r9d, r9d
mov byte [rsp + 0x50], bl
lea r8d, [rbx + 1]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14001e5d8
lea edi, [rbx + 1]
jmp 0x14001e5e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14001e5f6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140020830
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140020830
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rcx, str.Enter_CopyTimeStampToPrev___n
call fcn.1400045d9
xor eax, eax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rdx, str.ModeChangeTimeStamp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov byte [rsp + 0x50], al
mov rcx, rdi
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002090a
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_RegQueryValueExA]
test eax, eax
jne 0x14002090a
mov eax, dword [rsp + 0x30]
lea rdx, str.PrevTimeStamp
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rsi
mov esi, 1
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
cmove ebx, esi
mov rsi, qword [rsp + 0x78]
lea rcx, str.Exit_CopyTimeStampToPrev___n
call fcn.1400045d9
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140020ad0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140020ad0
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.1400045d9
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_RegCreateKeyExA]
test eax, eax
je 0x140020b4d
lea rcx, str.Error_SystemTransformationCreateCurrentStatusToReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x140020bd6
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
call fcn.140003b25
cmp dword [rsp + 0x68], 2
lea rdx, [0x14009f60c]
mov rcx, qword [rsp + 0x78]
jne 0x140020b97
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_RegQueryValueExA]
lea rcx, str.SystemTransformationCreateCurrentStatusToReg___already_have_than_read_the_dwMultiMode_read_value:__x_n
jmp 0x140020bbf
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_RegSetValueExA]
lea rcx, str.SystemTransformationCreateCurrentStatusToReg___Crelate_and_set_dwMultiMode_read_value:__x_n
mov edx, dword [rsp + 0x60]
call fcn.1400045d9
mov ecx, dword [rsp + 0x60]
call fcn.140002e0f
mov ebx, 1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140020be6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateCurrentStatusToReg___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140020f00
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140020f00
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0xc0], 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.1400045d9
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_RegOpenKeyExA]
test eax, eax
je 0x140020f86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_SystemTransformationCreateReg_RegCreateKeyEx_error____d_n
call fcn.1400045d9
jmp 0x140020ff0
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_RegQueryValueExA]
test eax, eax
je 0x140020fce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_SystemTransformationCreateReg_RegQueryValueEx_error____d_n
call fcn.1400045d9
jmp 0x140020ff0
lea rdx, [rsp + 0x40]
lea rcx, str.SystemTransformationCreateReg___already_have_than_read_the_dwCurrentSetting_read_value:__s_n
call fcn.1400045d9
lea rcx, [rsp + 0x40]
call fcn.1400025d6
mov dword [rdi], eax
mov ebx, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140021000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateReg___n
call fcn.1400045d9
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x140021100
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x140021100
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.1400045d9
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_RegCreateKeyExA]
test eax, eax
je 0x140021171
lea rcx, str.Error_SystemTransformationSetCurrentStatusToReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x1400211c7
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
call fcn.140003b25
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, [0x14009f60c]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400211be
lea rcx, str.Error_SystemTransformationSetCurrentStatusToReg_RegSetValueEx_error____n
call fcn.1400045d9
jmp 0x1400211c7
mov ecx, dword [rsp + 0x60]
call fcn.140002e0f
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400211d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.SystemTransformationSetCurrentStatusToReg___n
call fcn.1400045d9
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140021230
Capabilities:
Set registry value

Disassembly:
jmp 0x140021230
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, str.Enter_UpdateCurrentModeRegValue___n
call fcn.1400045d9
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_RegSetValueExA]
xor ebx, ebx
lea rcx, str.Exit_UpdateCurrentModeRegValue___n
test eax, eax
sete bl
call fcn.1400045d9
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400212b0
Capabilities:
Set registry value

Disassembly:
jmp 0x1400212b0
mov dword [rsp + 8], ecx
sub rsp, 0x38
lea rcx, str.ENTER_UpdateDolbyMultimodeRegistry___n
call fcn.1400045d9
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_RegOpenKeyExA]
test eax, eax
jne 0x140021345
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_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14002134c
test rcx, rcx
je 0x140021339
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.EXIT_Error_UpdateDolbyMultimodeRegistry___n
call fcn.1400045d9
xor eax, eax
add rsp, 0x38
ret
test rcx, rcx
je 0x140021357
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.EXIT_UpdateDolbyMultimodeRegistry___n
call fcn.1400045d9
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400213a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400213a0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, str.Enter_UpdatePrevMultimode__._n
call fcn.1400045d9
xor eax, eax
lea r9, [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], ax
lea rdx, [0x14009f60c]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14002140f
xor eax, eax
jmp 0x1400214a0
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, [0x14009f60c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140021408
mov ecx, dword [rsp + 0x30]
lea r8d, [rax + 0xa]
lea rdx, [rsp + 0x40]
call fcn.140001181
mov edx, 0xa
lea rcx, [rsp + 0x40]
call fcn.140003f58
mov dword [rsp + 0x28], eax
lea rdx, str.PrevMode
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140021408
lea rcx, str.Exit_UpdatePrevMultimode__._n
call fcn.1400045d9
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140021600
Capabilities:
Set registry value

Disassembly:
jmp 0x140021600
push rbx
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
lea rcx, str.Enter_UpdateTimeStampRegValue___n
call fcn.1400045d9
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], al
call fcn.1400012c6
mov edx, 0x19
lea rcx, [rsp + 0x30]
call fcn.140002f63
mov edx, 0x19
lea rcx, [rsp + 0x30]
call fcn.140003f58
mov dword [rsp + 0x28], eax
lea rdx, str.ModeChangeTimeStamp
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.Exit_UpdateTimeStampRegValue___n
mov ebx, eax
call fcn.1400045d9
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x60
pop rbx
ret
Function at 0x140021820
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140021820
push rbx
sub rsp, 0x30
mov rbx, rcx
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x100
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14002186d
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.SystemFamily
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140021865
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400218a8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x14006ccec
Capabilities:
Create thread
Print debug messages

Disassembly:
jmp 0x14006ccec
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.140002ccf
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14006cd3f
test rbx, rbx
je 0x14006cd30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14006cd3f
mov edi, 4
jmp 0x14006cde8
call fcn.140001519
test al, al
jne 0x14006cd5c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14006cde8
test bpl, bpl
je 0x14006cdbf
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14006caa4]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006cde8
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14006cdb9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006cde8
mov edi, dword [rsp + 0x44]
jmp 0x14006cdb1
call fcn.140003e13
test al, al
jne 0x14006cdd0
bts esi, 0x15
xor ecx, ecx
jmp 0x14006cdd8
call fcn.140001f46
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.140003341
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x416620
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4167ab
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00434ae0
xorps xmm15, xmm15
mov r14, qword [0x00604fb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416685
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416694
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4166b3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4166c3
cmp rbx, 0x1000
jae 0x41668b
jmp 0x41672d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4166d5
xor edx, edx
jmp 0x416724
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00434ae0
xorps xmm15, xmm15
mov r14, qword [0x00604fb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4166b9
jmp 0x4166a8
call fcn.00467c00
xorps xmm15, xmm15
mov r14, qword [0x00604fb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438b80
lea rax, [0x004cc259]
mov ebx, 0x18
nop dword [rax]
call fcn.00439400
mov rax, qword [rsp + 0x38]
call fcn.00439140
lea rax, [0x004cc84a]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439400
mov rax, qword [rsp + 0x30]
call fcn.00439140
call fcn.00438dc0
call fcn.00438be0
lea rax, [0x004cf134]
mov ebx, 0x21
call fcn.004370e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004644e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416620
Function at 0x4167e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416a06
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434b60
xorps xmm15, xmm15
mov r14, qword [0x00604fb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416853
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416862
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416885
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416895
cmp rbx, 0x1000
jae 0x416859
nop
jmp 0x416918
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4168ad
xor esi, esi
jmp 0x41690a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434b60
xorps xmm15, xmm15
mov r14, qword [0x00604fb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41688b
jmp 0x416876
call fcn.00467c00
xorps xmm15, xmm15
mov r14, qword [0x00604fb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4169a0
nop dword [rax + rax]
call fcn.00438b80
lea rax, [0x004cc863]
mov ebx, 0x19
call fcn.00439400
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00439140
lea rax, [0x004cc84a]
mov ebx, 0x19
call fcn.00439400
mov eax, dword [rsp + 0x34]
call fcn.00439140
nop
call fcn.00438dc0
call fcn.00438be0
lea rax, [0x004c8662]
mov ebx, 0xd
call fcn.004370e0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416940
call fcn.00438b80
lea rax, [0x004cc863]
mov ebx, 0x19
call fcn.00439400
mov rax, qword [rsp + 0x38]
call fcn.00439140
lea rax, [0x004cc84a]
mov ebx, 0x19
call fcn.00439400
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00439140
call fcn.00438dc0
call fcn.00438be0
lea rax, [0x004ce8d1]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.004370e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004644e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004167e0