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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2b60
call fcn.1400839f0
sub rsp, rax
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x2b50], rax
mov al, byte [0x140099940]
or r8, 0xffffffffffffffff
movsd xmm0, qword [str.ICEsound]
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x20]
movsd qword [rsp + 0x20], xmm0
inc r8
cmp byte [rax + r8], 0
jne 0x14001e5f2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x430]
call fcn.14004ad50
mov r8d, 0x1534
lea rdx, [0x1400cf9b0]
lea rcx, [rsp + 0x438]
call fcn.14004ad50
or r8d, 0xffffffff
lea rdi, [rsp + 0x430]
xor r11d, r11d
lea r10, [rsp + 0x30]
mov ebx, 0x153c
xor r9d, r9d
mov edx, r11d
lea ecx, [r9 + 7]
test dl, 1
je 0x14001e65a
mov eax, 1
shl eax, cl
or r9d, eax
shr edx, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x14001e64b
shl r9d, 0x18
mov ecx, 8
mov dword [r10], r9d
mov edx, r9d
lea eax, [r9 + r9]
sar edx, 0x1f
and edx, 0x4c11db7
xor edx, eax
mov r9d, edx
sub rcx, 1
jne 0x14001e66f
xor r9d, r9d
mov dword [r10], edx
lea ecx, [r9 + 0x1f]
test dl, 1
je 0x14001e6a3
mov eax, 1
shl eax, cl
or r9d, eax
shr edx, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x14001e694
mov dword [r10], r9d
inc r11d
add r10, 4
cmp r11d, 0xff
jle 0x14001e641
movzx eax, byte [rdi]
mov ecx, r8d
movzx edx, r8b
inc rdi
xor rdx, rax
shr ecx, 8
mov r8d, dword [rsp + rdx*4 + 0x30]
xor r8d, ecx
sub rbx, 1
jne 0x14001e6bf
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x2b50]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x2b70]
add rsp, 0x2b60
pop rdi
ret
Function at 0x140021ed4
Capabilities:
Print debug messages

Disassembly:
push rdi
mov eax, 0x2040
call fcn.1400839f0
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x2050], rbx
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rdx]
call fcn.14002237c
test al, al
je 0x140021f54
mov rdi, qword [rdi]
lea rcx, [0x1400e5b30]
call fcn.140048634
test eax, eax
je 0x140021f20
mov ecx, eax
call fcn.140048ce8
lea rdx, [rdi + 0x38]
mov edi, 0x2010
mov r8d, edi
lea rcx, [rsp + 0x30]
call fcn.14004ad50
nop
lea rcx, [0x1400e5b30]
call fcn.140048658
test eax, eax
je 0x140021f4f
mov ecx, eax
call fcn.140048ce8
nop
mov r8, rdi
jmp 0x140021f6c
lea rcx, str.RpcServer:_RTA_update_failed._returning_invalid_SpectrumDTO_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
and dword [rsp + 0x30], 0
mov r8d, 0x2010
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004ad50
mov rax, rbx
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret
Function at 0x140022bd0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x870]
sub rsp, 0x970
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x860], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x54], 0x400
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.AudioEngineAudioProcessingObjects
mov rcx, 0xffffffff80000000
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140022d4f
xor ebx, ebx
and qword [rsp + 0x38], rbx
and qword [rsp + 0x30], rbx
and qword [rsp + 0x28], rbx
and qword [rsp + 0x20], rbx
xor edx, edx
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x54]
lea r8, [rbp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x140022d4f
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140022d22
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.FriendlyName
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140022d22
cmp dword [rsp + 0x50], 1
jne 0x140022d22
lea rdx, str.ICEsoundAPOCapture
lea rcx, [rsp + 0x60]
call fcn.14004a55c
test rax, rax
je 0x140022d22
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.MajorVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140022d22
cmp dword [rsp + 0x50], 4
jne 0x140022d22
cmp dword [rsp + 0x5c], 1
jg 0x140022d4b
and qword [rsp + 0x38], 0
inc ebx
and qword [rsp + 0x30], 0
mov edx, ebx
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x54], 0x400
jmp 0x140022c45
mov al, 1
jmp 0x140022d51
xor al, al
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x980]
add rsp, 0x970
pop rbp
ret
Function at 0x1400441fc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x410], rax
movups xmm0, xmmword [rcx]
movsxd rdi, edx
lea rcx, [rsp + 0x50]
xor esi, esi
lea rdx, [rbp + 0xf0]
mov r8d, 0xc8
mov qword [rsp + 0x30], rsi
movdqu xmmword [rsp + 0x50], xmm0
mov ebx, 1
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
test eax, eax
jne 0x140044264
mov word [rbp + 0xf0], si
lea r9, [rbp + 0xf0]
mov edx, 0x190
lea r8, str.SOFTWAREICEpowerICEsoundParameters_sSettings
lea rcx, [rsp + 0x60]
call fcn.14001ff84
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044379
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x280]
mov dword [rsp + 0x40], 0x190
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ActiveSetting
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140044379
cmp dword [rsp + 0x44], ebx
jne 0x140044379
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov r9d, 0x102
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x280]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044379
lea r9d, [rdi + 1]
mov dword [rsp + 0x40], 4
lea r8, str.Param_d
mov edx, 0x190
lea rcx, [rsp + 0x60]
call fcn.14001ff84
mov eax, dword [rsp + 0x40]
lea rcx, [0x1400cf9b0]
lea rcx, [rcx + rdi*4]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
cmovne ebx, esi
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140044389
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140044399
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x550]
add rsp, 0x520
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400443c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp + 0x270], rax
and qword [rsp + 0x30], 0
lea r8, str.SOFTWAREICEpowerICEsoundParametersDFF21CE1_F70F_11D0_B917_00A0C9223196Settings
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
mov edi, 0x190
mov bl, 1
mov edx, edi
call fcn.14001ff84
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044510
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.ActiveSetting
lea rax, [rbp + 0xe0]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140044489
lea r8, [0x14009f03c]
mov edx, edi
lea rcx, [rbp + 0xe0]
call fcn.1400253bc
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044510
mov r9d, 0x52d
mov dword [rsp + 0x40], 4
lea r8, str.Param_d
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14001ff84
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [0x1400d0e60]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp dword [rsp + 0x44], 3
jne 0x14004450e
cmp eax, 2
jne 0x140044510
xor bl, bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140044520
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140044530
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140046df0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140045e10
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rsi, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea rdx, str.SOFTWAREICEpowerICEsoundDefaults
mov r9d, 0x1010b
xor r8d, r8d
mov bl, 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x140045e80
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x140045e85
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140045e8d
test rcx, rcx
je 0x140045e8b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor bl, bl
lea rax, [rbp - 0x10]
mov r9d, 0x1010b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREICEpowerICEsoundParameters
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x140045ecf
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x140045ed4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140045edc
test rcx, rcx
je 0x140045eda
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor bl, bl
lea rax, [rbp - 0x10]
mov r9d, 0x1010b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREICEpowerICEsound
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x140045f30
lea rdx, str.TuningVersion
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x10]
lea rdx, str.HardwareOutputPath
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140045f3d
test rcx, rcx
je 0x140045f3b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor bl, bl
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x140046114
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x50], rax
and qword [rsp + 0x40], 0
xor bl, bl
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14004614c
xor al, al
jmp 0x1400461d1
lea rax, [rsp + 0x40]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREICEpowerICEsound
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400461bf
and dword [rsp + 0x48], eax
mov r9d, 0x10
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov r8, rsi
lea rax, [rsp + 0x48]
mov dword [rsp + 0x4c], 4
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x1400461bf
mov eax, dword [rsp + 0x48]
mov bl, 1
mov dword [rdi], eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400461cf
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140046df0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400461f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x280], rax
and qword [rsp + 0x30], 0
xor bl, bl
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test r8, r8
jne 0x14004622e
xor al, al
jmp 0x1400462ee
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x200
call fcn.14004aaa0
lea r9, str.SOFTWAREICEpowerICEsound
mov qword [rsp + 0x20], rbp
lea r8, str._s_s
mov edx, 0x100
lea rcx, [rsp + 0x80]
call fcn.14001ff84
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x40
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400462dc
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400462dc
xor edx, edx
lea r8d, [rax + 0xa]
lea rcx, [rsp + 0x40]
call fcn.140052834
mov dword [rdi], eax
mov bl, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400462ec
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140046314
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x40], rax
and qword [r11 - 0x28], 0
lea rax, [r11 - 0x28]
mov rdi, rcx
mov dword [rsp + 0x38], edx
lea rdx, str.SOFTWAREICEpowerICEsound
mov qword [r11 - 0x38], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x102
xor r8d, r8d
xor bl, bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140046397
mov rcx, qword [rsp + 0x30]
lea r9d, [rax + 4]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400463a7
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400463c4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x460
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
and qword [rsp + 0x38], 0
xor dil, dil
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x50]
call fcn.14004aaa0
mov qword [rsp + 0x20], rbx
lea r9, str.SOFTWAREICEpowerICEsound
lea r8, str._s_s
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.14001ff84
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x102
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400464eb
call fcn.1400212f4
mov rcx, rax
test rax, rax
je 0x140046521
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov r8d, ebp
lea rdx, [0x14009f2a4]
lea rcx, [rsp + 0x40]
call fcn.140046c84
mov rbx, qword [rsp + 0x40]
mov eax, dword [rbx - 0x10]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov ebp, 1
mov r9d, ebp
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx edi, dil
test eax, eax
cmove edi, ebp
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, ebp
jg 0x1400464eb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400464fb
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140046df0
mov rbx, qword [rsp + 0x498]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140044efc
int3
Function at 0x1400508a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14005072b
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14005072b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005072b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005072b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005072b
cmp dword [rcx + 0x84], 0xe
jbe 0x14005072b
cmp dword [rcx + 0xf8], 0
je 0x14005072b
mov ecx, ebx
call fcn.1400507cc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400505a8
cmp dword [rbp + 0x20], 0
je 0x140050778
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140050780
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400506c4
Function at 0x140002634
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
xor dl, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx

Function at 0x140002654
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
xor dl, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx

Function at 0x1400026f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b

Function at 0x140002710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad
Function at 0x140002780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x20
lea rax, [fcn.140002780]
mov qword [rsp + 0x18], 0x330210ae
mov qword [rsp + 8], rax
jmp 0x1400027e7

Function at 0x1400027b4
Capabilities:
Parse pe header

Disassembly:
mov ax, word [rsp + 0x16]
sub ax, word [rsp + 0x16]
mov rcx, qword [rsp + 0x18]
xor rcx, 0xffffffffccfde0ae
mov word [rsp + 0x16], ax
and al, 0x16
and al, 0x16
mov rdx, qword [rsp]
add rdx, rcx
and rdx, 0xfffffffffffff000
mov qword [rsp + 8], rdx
jmp 0x1400027e7
mov rax, qword [rsp]
add rsp, 0x20
ret
mov rax, qword [rsp]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
je 0x1400027cb
jmp 0x14000279b
mov rax, qword [rsp + 8]
cmp word [rax], 0x5a4d
mov qword [rsp], rax
je 0x1400027d4
jmp 0x14000279b

Function at 0x140002bd0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
mov r8w, word [rsp + 0x46]
xor r8w, 0xffff
mov rdx, qword [rsp + 0x20]
mov r9b, byte [rdx + rcx]
movzx r10d, r9b
mov word [rsp + 0x46], r8w
mov r11d, ecx
mov dword [rsp], eax
mov eax, r11d
xor edx, edx
mov r11d, dword [rsp + 0x2c]
div r11d
mov edx, edx
mov esi, edx
mov rdi, qword [rsp + 0x30]
movzx edx, byte [rdi + rsi]
mov ebx, dword [rsp + 0x58]
add ebx, 0x87d7262f
mov ebp, dword [rsp]
add ebp, r10d
add ebp, edx
mov eax, ebp
cdq
idiv ebx
movsxd rsi, edx
mov r14, qword [rsp + 0x20]
mov r15b, byte [r14 + rsi]
mov byte [r14 + rcx], r15b
mov byte [r14 + rsi], r9b
mov r8w, word [rsp + 0x46]
add rcx, 1
and r8w, 0xe
mov word [rsp + 0x46], r8w
cmp rcx, 0x100
mov qword [rsp + 8], rcx
mov dword [rsp + 4], edx
push rsp
and al, 4
push rsp
and al, 4
jne 0x140002bcd
mov eax, dword [rsp + 0x5c]
add eax, 0x1d76967a
mov dword [rsp + 0x5c], eax
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret