joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022020
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, r9
mov r14, r8
xor esi, esi
call fcn.140021d70
mov rbp, rax
test rax, rax
je 0x140022115
lea rcx, [0x140106978]
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x30], esi
mov rbx, rax
test rax, rax
je 0x1400220a5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call rbx
cmp dword [rsp + 0x30], esi
je 0x1400220a5
mov r9d, dword [rsp + 0x78]
bt r9d, 9
jb 0x1400220aa
bts r9d, 8
jmp 0x1400220aa
mov r9d, dword [rsp + 0x78]
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002210e
mov ebx, esi
mov esi, dword [rsp + 0x70]
test esi, esi
jle 0x140022103
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x38]
mov r9d, 0x104
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc ebx
add rdi, 0x208
cmp ebx, esi
jl 0x1400220e0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140022260
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor r15d, r15d
mov r14, r9
mov edi, r15d
mov rbp, r8
call fcn.140021d70
mov rsi, rax
test rax, rax
je 0x14002237f
lea rcx, [0x140106978]
mov qword [rsp + 0x80], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x40], r15d
mov rbx, rax
test rax, rax
je 0x1400222ee
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call rbx
cmp dword [rsp + 0x40], edi
je 0x1400222ee
mov r9d, dword [rsp + 0xa8]
bt r9d, 9
jb 0x1400222f6
bts r9d, 8
jmp 0x1400222f6
mov r9d, dword [rsp + 0xa8]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140022375
mov esi, dword [rsp + 0xa0]
mov ebx, r15d
test esi, esi
jle 0x14002236a
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], r15
mov edx, ebx
imul eax, edi, 0x104
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x44], 0x104
lea r8, [r14 + rax*2]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140022364
inc edi
inc ebx
cmp ebx, esi
jl 0x140022321
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x80]
mov eax, edi
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400223a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, r9
mov rbp, r8
call fcn.140021d70
mov rdi, rax
test rax, rax
mov rax, qword [rsp + 0x80]
je 0x14002249e
lea rcx, [0x140106978]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x30], 0
mov rbx, rax
test rax, rax
je 0x140022432
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call rbx
cmp dword [rsp + 0x30], 0
je 0x140022432
mov r9d, dword [rsp + 0x88]
bt r9d, 9
jb 0x14002243a
bts r9d, 8
jmp 0x14002243a
mov r9d, dword [rsp + 0x88]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x140022499
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x34], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400224b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test rcx, rcx
jne 0x1400224e3
mov eax, r9d
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
lea rcx, [0x140106978]
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x60], r9d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x80], 0
mov rdi, rax
test rax, rax
je 0x140022544
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x80]
call rdi
cmp dword [rsp + 0x80], 0
je 0x140022544
bt ebx, 9
jb 0x140022544
bts ebx, 8
lea rax, [rsp + 0x38]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, qword [rsp + 0x68]
test eax, eax
jne 0x1400225a6
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
Function at 0x1400225c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, r9
mov rbp, r8
call fcn.140021d70
mov rdi, rax
test rax, rax
mov eax, dword [rsp + 0x80]
je 0x1400226bb
lea rcx, [0x140106978]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x30], 0
mov rbx, rax
test rax, rax
je 0x140022650
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call rbx
cmp dword [rsp + 0x30], 0
je 0x140022650
mov r9d, dword [rsp + 0x88]
bt r9d, 9
jb 0x140022658
bts r9d, 8
jmp 0x140022658
mov r9d, dword [rsp + 0x88]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x1400226b7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x34]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140022700
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x488
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, qword [rsp + 0x4d0]
mov r14, r9
mov r15, r8
call fcn.140021d70
mov rbp, rax
test rax, rax
je 0x14002283d
mov qword [rsp + 0x480], rbx
lea rcx, [0x140106978]
mov qword [rsp + 0x478], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov rdi, rax
mov dword [rsp + 0x34], ebx
test rax, rax
je 0x1400227a6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x34]
call rdi
cmp dword [rsp + 0x34], ebx
je 0x1400227a6
mov r9d, dword [rsp + 0x4d8]
bt r9d, 9
jb 0x1400227ae
bts r9d, 8
jmp 0x1400227ae
mov r9d, dword [rsp + 0x4d8]
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rax
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, qword [rsp + 0x478]
test eax, eax
jne 0x140022833
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140022812
mov word [rsi], bx
mov dword [rsp + 0x30], ebx
jmp 0x140022824
lea r8, [rsp + 0x50]
mov edx, 0x104
mov rcx, rsi
call fcn.1400c3900
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140027790
add rsp, 0x488
pop r15
pop r14
pop rsi
pop rbp
ret
Function at 0x140022980
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
mov dword [rsp + 0x40], 0x208
mov r12, r9
mov qword [rsp + 0x70], rsi
mov rbp, r8
mov r14, rdx
mov r15, rcx
lea rdi, [rbx - 1]
test rbx, rbx
je 0x1400229c5
mov rcx, rbx
call fcn.1400277b4
mov ecx, dword [rsp + 0x40]
mov eax, 2
shr rcx, 1
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140027a58
mov rbx, rax
test rax, rax
je 0x140022a58
lea rax, [rsp + 0x40]
mov r9d, 0x10000026
mov qword [rsp + 0x30], rax
mov r8, rbp
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbx
mov rdx, r14
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
cmp eax, 0xea
je 0x1400229b8
test eax, eax
jne 0x140022a4c
cmp dword [rsp + 0x44], 7
jne 0x140022a34
mov r8d, dword [rsp + 0x40]
shr r8, 1
jmp 0x140022a41
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140022a34
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call fcn.140007ac0
mov rcx, rbx
call fcn.1400277b4
mov eax, esi
jmp 0x140022a5d
mov eax, reloc.WS2_32.dll_ntohl
mov rsi, qword [rsp + 0x70]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140022d50
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, r9
mov r14, r8
xor ebx, ebx
call fcn.140021d70
mov rbp, rax
test rax, rax
je 0x140022e40
lea rcx, [0x140106978]
mov qword [rsp + 0x50], rsi
mov dword [0x1401744f0], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x30], ebx
mov rsi, rax
test rax, rax
je 0x140022dc2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call rsi
lea rax, [rsp + 0x38]
mov r9d, 0x2011f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rsi, qword [rsp + 0x50]
test eax, eax
jne 0x140022e34
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140022e0c
mov rcx, qword [rsp + 0x38]
lea ebx, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140022e3e
mov r8, rdi
lea rcx, str.RemoveRegValue___remove_registry_error____ld_for__s_n
mov edx, eax
call fcn.1400213c0
mov rcx, qword [rsp + 0x38]
mov dword [0x1401744f0], 2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140022e3e
mov dword [0x1401744f0], 1
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140022e60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x70
mov r14, r9
mov rbp, r8
xor ebx, ebx
call fcn.140021d70
mov rsi, rax
test rax, rax
je 0x140022f7b
mov rax, qword [rsp + 0xa0]
lea rcx, [0x140106978]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x50], ebx
mov rdi, rax
test rax, rax
je 0x140022ef5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x50]
call rdi
cmp dword [rsp + 0x50], ebx
je 0x140022ef5
mov eax, dword [rsp + 0xa8]
bt eax, 9
jb 0x140022efc
bts eax, 8
jmp 0x140022efc
mov eax, dword [rsp + 0xa8]
lea rcx, [rsp + 0x54]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
lea rcx, [rsp + 0x58]
mov rdx, rbp
mov qword [rsp + 0x38], rcx
mov rcx, rsi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rdi, qword [rsp + 0x80]
test eax, eax
jne 0x140022f79
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 8
mov r9d, reloc.WS2_32.dll_inet_addr
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140022fa0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x60
mov edi, dword [rsp + 0xa0]
xor ebx, ebx
mov r15, r8
mov r14, rdx
mov rbp, rcx
test rcx, rcx
je 0x1400230a9
lea rcx, [0x140106978]
mov qword [rax + 0x10], rsi
mov dword [rax + 8], r9d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0xa0], ebx
mov rsi, rax
test rax, rax
je 0x140023029
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0xa0]
call rsi
cmp dword [rsp + 0xa0], ebx
je 0x140023029
bt edi, 9
jb 0x140023029
bts edi, 8
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rdx, r14
mov qword [rsp + 0x38], rax
mov rcx, rbp
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rsi, qword [rsp + 0x88]
test eax, eax
jne 0x1400230a9
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400230d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x70
mov r14, r9
mov rbp, r8
xor ebx, ebx
call fcn.140021d70
mov rsi, rax
test rax, rax
je 0x1400231e9
mov eax, dword [rsp + 0xa0]
lea rcx, [0x140106978]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x50], ebx
mov rdi, rax
test rax, rax
je 0x140023163
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x50]
call rdi
cmp dword [rsp + 0x50], ebx
je 0x140023163
mov eax, dword [rsp + 0xa8]
bt eax, 9
jb 0x14002316a
bts eax, 8
jmp 0x14002316a
mov eax, dword [rsp + 0xa8]
lea rcx, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, rbp
mov qword [rsp + 0x38], rcx
mov rcx, rsi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rdi, qword [rsp + 0x80]
test eax, eax
jne 0x1400231e7
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x54]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140023200
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x60
mov r14, r9
mov rbp, r8
xor ebx, ebx
call fcn.140021d70
mov rsi, rax
test rax, rax
je 0x14002331d
lea rcx, [0x140106978]
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x50], ebx
mov rdi, rax
test rax, rax
je 0x140023285
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x50]
call rdi
cmp dword [rsp + 0x50], ebx
je 0x140023285
mov eax, dword [rsp + 0x98]
bt eax, 9
jb 0x14002328c
bts eax, 8
jmp 0x14002328c
mov eax, dword [rsp + 0x98]
lea rcx, [rsp + 0x54]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
lea rcx, [rsp + 0x58]
mov rdx, rbp
mov qword [rsp + 0x38], rcx
mov rcx, rsi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140023316
mov rcx, qword [rsp + 0x90]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x1400232d2
lea eax, [rax*2 + 2]
mov edi, 1
mov dword [rsp + 0x28], eax
mov r9d, edi
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmove ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x70]
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140024ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r14
sub rsp, 0x20
mov rax, r9
mov r10, r8
movzx r9d, word [rsp + 0x60]
mov rsi, rdx
mov r8, rax
mov rdx, r10
mov rcx, rsi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov r14, rax
test rax, rax
je 0x1400250a1
mov rdx, rax
mov qword [rsp + 0x30], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp qword [rsp + 0x50], rbx
je 0x14002509d
cmp dword [rsp + 0x58], edi
jb 0x14002509d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140025085
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14002507c
mov rcx, qword [rsp + 0x50]
mov r8d, edi
mov rdx, rax
call fcn.1400c0dd0
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov eax, edi
jmp 0x140025087
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14003bc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx r15d, r8b
mov rsi, rdx
mov r13, qword [rcx]
mov rbx, qword [r13 + 8]
mov r14, r13
mov dil, 1
cmp byte [rbx + 0x19], 0
jne 0x14003bc9b
mov r14, rbx
test r15b, r15b
je 0x14003bc70
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.14003c350
mov edi, eax
shr edi, 0x1f
xor dil, 1
jmp 0x14003bc82
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.14003c350
shr eax, 0x1f
movzx edi, al
test dil, dil
je 0x14003bc8c
mov rbx, qword [rbx]
jmp 0x14003bc90
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x14003bc51
mov rcx, qword [rsp + 0x70]
mov rbx, r14
test dil, dil
je 0x14003bd3a
cmp r14, qword [r13]
jne 0x14003bce0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8b, 1
lea rdx, [rsp + 0x70]
call fcn.14003b960
mov rax, qword [rax]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov rax, rsi
jmp 0x14003bd8d
cmp byte [r14 + 0x19], 0
je 0x14003bced
mov rbx, qword [r14 + 0x10]
jmp 0x14003bd3a
mov rax, qword [r14]
cmp byte [rax + 0x19], 0
jne 0x14003bd12
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14003bd3a
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x14003bd03
jmp 0x14003bd3a
mov rax, qword [r14 + 8]
cmp byte [rax + 0x19], 0
jne 0x14003bd32
nop dword [rax]
cmp rbx, qword [rax]
jne 0x14003bd32
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14003bd20
cmp byte [rbx + 0x19], 0
cmove rbx, rax
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.14003c350
shr eax, 0x1f
test al, al
je 0x14003bd83
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, r14
movzx r8d, dil
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14003b960
mov rax, qword [rax]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov rax, rsi
jmp 0x14003bd8d
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret