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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, qword [rsp + 0xe0]
cmp rcx, 0xffffffffffffffff
movsxd rsi, r9d
mov rbp, rcx
cmove rbp, qword [0x14068c268]
mov rdi, r8
lea ebx, [rsi + rsi]
test rbp, rbp
je 0x14022b0fc
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140454ec0]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbp + 0x418]
test rcx, rcx
je 0x14022b0fc
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x34], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022b109
cmp dword [rsp + 0x34], 1
jne 0x14022b109
mov eax, dword [rsp + 0x30]
jmp 0x14022b10f
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], eax
cmp eax, ebx
jae 0x14022b128
sub ebx, eax
mov ecx, eax
mov r8d, ebx
add rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x30]
cmp eax, 2
ja 0x14022b182
test eax, eax
je 0x14022b13b
cmp dword [rsp + 0xe8], 0
jne 0x14022b17e
test r14, r14
je 0x14022b17e
mov rbx, 0xffffffffffffffff
test esi, esi
jle 0x14022b15d
mov rdx, rsi
mov r9, rbx
mov r8, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test rdi, rdi
jne 0x14022b170
xor ebx, ebx
mov eax, ebx
jmp 0x14022b186
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14022b170
mov eax, ebx
jmp 0x14022b186
xor eax, eax
jmp 0x14022b186
shr eax, 1
dec eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14022b1b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, edx
mov rbx, r8
lea rdx, [rcx - 1]
mov rdi, rcx
cmp rdx, 0xfffffffffffffffd
ja 0x14022b251
cdq
lea rcx, [rsp + 0x30]
xor eax, edx
sub eax, edx
lea rdx, [0x140454ec0]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rdi + 0x418]
test rcx, rcx
je 0x14022b251
xor edi, edi
test rbx, rbx
jne 0x14022b20f
mov eax, edi
jmp 0x14022b21f
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14022b216
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 0x80004005
cmove ecx, edi
mov eax, ecx
jmp 0x14022b256
mov eax, 0x80004005
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14022b280
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, qword [rsp + 0xe0]
cmp rcx, 0xffffffffffffffff
movsxd rsi, r9d
mov rbp, rcx
cmove rbp, qword [0x14068c268]
mov rdi, r8
lea ebx, [rsi + rsi]
test rbp, rbp
je 0x14022b32c
mov eax, edx
lea rcx, [rsp + 0x40]
cdq
xor eax, edx
sub eax, edx
lea rdx, [0x140454ec8]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbp + 0x418]
test rcx, rcx
je 0x14022b32c
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x34], 7
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14022b339
cmp dword [rsp + 0x34], 7
jne 0x14022b339
mov eax, dword [rsp + 0x30]
jmp 0x14022b33f
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], eax
cmp eax, ebx
jae 0x14022b358
sub ebx, eax
mov ecx, eax
mov r8d, ebx
add rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x30]
cmp eax, 2
ja 0x14022b3b2
test eax, eax
je 0x14022b36b
cmp dword [rsp + 0xe8], 0
jne 0x14022b3ae
test r14, r14
je 0x14022b3ae
mov rbx, 0xffffffffffffffff
test esi, esi
jle 0x14022b38d
mov rdx, rsi
mov r9, rbx
mov r8, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test rdi, rdi
jne 0x14022b3a0
xor ebx, ebx
mov eax, ebx
jmp 0x14022b3b6
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14022b3a0
mov eax, ebx
jmp 0x14022b3b6
xor eax, eax
jmp 0x14022b3b6
shr eax, 1
dec eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14022b3e0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, edx
lea esi, [r9 + r9]
lea rdx, [rcx - 1]
mov rdi, r8
mov rbx, rcx
cmp rdx, 0xfffffffffffffffd
ja 0x14022b463
cdq
lea rcx, [rsp + 0x30]
xor eax, edx
sub eax, edx
lea rdx, [0x140454ec8]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022b463
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
mov r9d, 7
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov ecx, 0x80004005
test eax, eax
cmove ecx, edx
mov eax, ecx
jmp 0x14022b468
mov eax, 0x80004005
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14022b490
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp rcx, 0xffffffffffffffff
mov rbx, rcx
mov edi, r8d
cmove rbx, qword [0x14068c268]
test rbx, rbx
je 0x14022b56c
mov ecx, r8d
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov r8d, eax
sub ecx, 1
je 0x14022b506
sub ecx, 2
je 0x14022b4fd
cmp ecx, 1
lea rcx, [rsp + 0x40]
je 0x14022b4f4
lea rdx, [0x140454ec8]
jmp 0x14022b512
lea rdx, [0x140450d30]
jmp 0x14022b512
lea rdx, [0x140454eb8]
jmp 0x14022b50d
lea rdx, [0x140454ec0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022b56c
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14022b562
cmp eax, 0xea
jne 0x14022b56c
cmp edi, dword [rsp + 0x34]
jne 0x14022b56c
xor eax, eax
jmp 0x14022b571
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret

Function at 0x14022b5a0
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp rcx, 0xffffffffffffffff
mov rbx, rcx
cmove rbx, qword [0x14068c268]
test rbx, rbx
je 0x14022b651
mov eax, edx
lea rcx, [rsp + 0x20]
cdq
xor eax, edx
sub eax, edx
sub r8d, 1
je 0x14022b609
sub r8d, 2
je 0x14022b600
cmp r8d, 1
mov r8d, eax
je 0x14022b5f7
lea rdx, [0x140454ec8]
jmp 0x14022b613
lea rdx, [0x140450d30]
jmp 0x14022b613
lea rdx, [0x140454eb8]
jmp 0x14022b610
lea rdx, [0x140454ec0]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022b651
lea rdx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
mov edx, 0x80004005
test eax, eax
cmovne ecx, edx
mov eax, ecx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x70
pop rbx
ret
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x70
pop rbx
ret
Function at 0x14022b670
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp rcx, 0xffffffffffffffff
mov rbx, rcx
mov rdi, rdx
cmove rbx, qword [0x14068c268]
test rbx, rbx
je 0x14022b70c
sub r8d, 1
je 0x14022b6d2
sub r8d, 2
je 0x14022b6c9
lea rcx, [rsp + 0x20]
cmp r8d, 1
je 0x14022b6c0
lea rdx, [0x140454ec8]
jmp 0x14022b6de
lea rdx, [0x140450d30]
jmp 0x14022b6de
lea rdx, [0x140454eb8]
jmp 0x14022b6d9
lea rdx, [0x140454ec0]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x418]
test rcx, rcx
je 0x14022b70c
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
mov edx, 0x80004005
test eax, eax
cmovne ecx, edx
mov eax, ecx
jmp 0x14022b711
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x14022cd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rsi, rcx
mov r9d, dword [rcx + 0x9c]
xor r12d, r12d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
nop dword [rax]
mov edx, dword [rsi + 0x94]
mov ebp, dword [rsi + 0x58]
mov ecx, dword [rsi + 0x44]
sub ebp, edx
add ecx, 0xfffffefa
sub ebp, r9d
add ecx, ebx
cmp edx, ecx
jb 0x14022ce10
mov rcx, qword [rsi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsi + 0x74]
mov rax, qword [rsi + 0x68]
sub dword [rsi + 0x98], ebx
sub dword [rsi + 0x94], ebx
sub dword [rsi + 0x84], ebx
lea rdx, [rax + r8*2]
nop
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, bx
cmp ecx, ebx
cmovb ax, r12w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x14022cdc0
mov rax, qword [rsi + 0x60]
mov r8d, ebx
lea rdx, [rax + rbx*2]
nop dword [rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, bx
cmp ecx, ebx
cmovb ax, r12w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x14022cdf0
add ebp, ebx
mov r14, qword [rsi]
mov ecx, dword [r14 + 8]
test ecx, ecx
je 0x14022ceed
mov edx, dword [rsi + 0x9c]
mov r15d, dword [rsi + 0x94]
add r15, rdx
add r15, qword [rsi + 0x50]
cmp ecx, ebp
cmovbe ebp, ecx
test ebp, ebp
jne 0x14022ce41
mov ebp, r12d
jmp 0x14022ce99
mov rax, qword [r14 + 0x28]
sub ecx, ebp
mov dword [r14 + 8], ecx
mov ecx, dword [rax + 0x2c]
cmp ecx, 1
jne 0x14022ce64
mov rdx, qword [r14]
mov r8d, ebp
mov ecx, dword [r14 + 0x4c]
call fcn.140263db0
jmp 0x14022ce78
cmp ecx, 2
jne 0x14022ce7c
mov rdx, qword [r14]
mov r8d, ebp
mov ecx, dword [r14 + 0x4c]
call fcn.14022e110
mov dword [r14 + 0x4c], eax
mov rdx, qword [r14]
mov rcx, r15
mov r8d, ebp
mov edi, ebp
call sub.VCRUNTIME140.dll_memcpy
add qword [r14], rdi
add dword [r14 + 0xc], ebp
mov edx, dword [rsi + 0x9c]
lea r9d, [rdx + rbp]
mov dword [rsi + 0x9c], r9d
cmp r9d, 3
jb 0x14022ced7
mov eax, dword [rsi + 0x94]
mov rdx, qword [rsi + 0x50]
mov ecx, dword [rsi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rsi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rsi + 0x7c]
mov dword [rsi + 0x70], r8d
cmp r9d, 0x106
jae 0x14022ceed
mov rax, qword [rsi]
cmp dword [rax + 8], r12d
jne 0x14022cd70
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rsi
ret
Function at 0x140236270
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x840
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x830], rax
cmp dword [rcx + 8], 1
mov rbp, rcx
jne 0x140236328
cmp dword [rcx + 0x28], 0
je 0x140236328
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
mov qword [r11 + 0x10], rbx
mov r8d, 0x400
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [rbp + 0x54]
lea rax, [rsp + 0x30]
mov esi, dword [rbp + 0x50]
lea rcx, [rbp + 0x240]
mov r9d, 3
mov qword [rsp + 0x20], rax
mov r8d, edi
mov edx, esi
call qword [rbp + 0x2a8]
mov r8d, edi
mov edx, esi
mov r9d, eax
mov rcx, rbp
mov ebx, eax
call fcn.140235f40
mov rdi, qword [rsp + 0x868]
test ebx, ebx
mov rbx, qword [rsp + 0x858]
mov rsi, qword [rsp + 0x860]
je 0x140236328
mov edx, 7
mov rcx, rbp
call fcn.140237450
cmp dword [rbp + 8], 3
jae 0x140236338
xor edx, edx
mov rcx, rbp
call fcn.140236370
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x840
pop rbp
ret
Function at 0x140255f10
Capabilities:
Check for time delay via gettickcount
Get system information on windows

Disassembly:
push r14
push r15
sub rsp, 0xa8
mov r14, rcx
xor eax, eax
mov r15d, 1
lock cmpxchg dword [rcx], r15d
mov edx, dword [rcx]
cmp edx, r15d
jne 0x140255f3a
test eax, eax
je 0x140256116
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x98], rbp
xor ebp, ebp
mov qword [rsp + 0x90], rsi
mov ebx, ebp
mov qword [rsp + 0x88], rdi
mov esi, ebp
mov qword [rsp + 0x80], r12
mov edi, ebp
movabs r12, 0x38d7ea4c67fff
mov dword [rsp + 0x44], ebx
xor eax, eax
lock cmpxchg dword [r14], r15d
mov ecx, dword [r14]
cmp ecx, r15d
jne 0x140255f8f
test eax, eax
je 0x1402560ee
test ebx, ebx
jne 0x140255fbb
mov eax, dword [0x140699990]
test eax, eax
jne 0x140255fac
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x68]
cmp eax, r15d
mov ebx, 0x20
cmova ebx, ebp
mov dword [rsp + 0x44], ebx
cmp ebx, 8
jb 0x1402560a2
cmp ebx, 0x20
jae 0x140255fcf
pause
inc ebx
jmp 0x140255f74
jne 0x140256082
mov ecx, 7
call fcn.14025b9e0
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call rax
mov ecx, 0xa
call fcn.14025b9e0
lea rcx, [rsp + 0x30]
call rax
test eax, eax
jne 0x140256025
mov ecx, dword [rsp + 0xc8]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x14025604a
mov eax, dword [rsp + 0xc8]
imul r8, rax, 0x5f5e100
mov rax, r12
cqo
idiv qword [rsp + 0x30]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
mov ecx, 9
lea esi, [rax + 1]
call fcn.14025b9e0
lea rcx, [rsp + 0x20]
call rax
test eax, eax
jne 0x140256076
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
inc ebx
mov qword [rsp + 0x20], rdi
jmp 0x140255f74
mov rdi, qword [rsp + 0x20]
inc ebx
jmp 0x140255f74
test esi, esi
jne 0x1402560a9
movzx eax, byte [rsp + 0x44]
and al, r15b
je 0x1402560de
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1402560a2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x140255f74
mov ecx, 9
call fcn.14025b9e0
lea rcx, [rsp + 0x28]
call rax
test eax, eax
jne 0x1402560cd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x28], rcx
jmp 0x1402560d2
mov rcx, qword [rsp + 0x28]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x140256090
mov esi, ebp
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x140255f74
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x80]
add rsp, 0xa8
pop r15
pop r14
ret
Function at 0x140262c20
Capabilities:
Check for time delay via gettickcount
Get system information on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov eax, dword [rcx + 0xc]
xor edi, edi
mov rbx, rcx
test eax, eax
jne 0x140262c5a
mov ecx, dword [0x140699990]
test ecx, ecx
jne 0x140262c4c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
cmp ecx, 1
mov eax, 0x20
cmova eax, edi
mov dword [rbx + 0xc], eax
cmp eax, 8
jb 0x140262d4c
cmp eax, 0x20
jae 0x140262c74
pause
inc dword [rbx + 0xc]
add rsp, 0x58
pop rdi
pop rbx
ret
jne 0x140262d31
mov ecx, 7
call fcn.14025b9e0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
call rax
mov ecx, 0xa
call fcn.14025b9e0
lea rcx, [rsp + 0x88]
call rax
test eax, eax
jne 0x140262cc4
mov ecx, dword [rsp + 0x70]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x140262cf0
mov eax, dword [rsp + 0x70]
imul r8, rax, 0x5f5e100
movabs rax, 0x38d7ea4c67fff
cqo
idiv qword [rsp + 0x88]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
inc eax
mov ecx, 9
mov dword [rbx + 8], eax
call fcn.14025b9e0
lea rcx, [rsp + 0x70]
call rax
test eax, eax
jne 0x140262d1f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [rbx + 0xc]
mov eax, eax
mov qword [rbx], rax
add rsp, 0x58
pop rdi
pop rbx
ret
mov rax, qword [rsp + 0x70]
inc dword [rbx + 0xc]
mov qword [rbx], rax
add rsp, 0x58
pop rdi
pop rbx
ret
cmp dword [rbx + 8], edi
jne 0x140262d56
and al, 1
je 0x140262d88
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x140262d4c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
add rsp, 0x58
pop rdi
pop rbx
ret
mov ecx, 9
call fcn.14025b9e0
lea rcx, [rsp + 0x70]
call rax
test eax, eax
jne 0x140262d75
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
jmp 0x140262d7a
mov rcx, qword [rsp + 0x70]
sub rcx, qword [rbx]
mov eax, dword [rbx + 8]
cmp rcx, rax
jb 0x140262d3a
mov dword [rbx + 8], edi
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x140262ef0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140263011
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x140263011
test eax, eax
jne 0x14026300d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x290], rsi
lea r8, [rsp + 0x50]
xor esi, esi
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140262fea
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call sym.ErrorReportClient.exe_SfRegDeleteKey
test eax, eax
je 0x140262fea
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140262fa0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rsi, qword [rsp + 0x290]
test eax, eax
je 0x140263011
xor eax, eax
jmp 0x140263016
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0x298]
add rsp, 0x270
pop rdi
ret

Function at 0x140263040
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea r8, str.Windows_NT
lea rdx, str.SOFTWAREMicrosoft_sCurrentVersionSfTestLoginPrivilege
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x20]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1402630c7
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x258
ret
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x258
ret
Function at 0x1402631a0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x150
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x30]
mov rbp, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x1402631dc
mov eax, 0x80004005
jmp 0x1402632c0
mov qword [rsp + 0x168], rbx
mov rdx, rdi
mov qword [rsp + 0x170], rsi
mov ecx, 0x42
mov esi, 0x80004001
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
test rax, rax
je 0x1402632ae
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14026328a
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14026328a
cmp dword [rsp + 0x20], 0
je 0x14026328a
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04hX_04hXOLESelfRegister
lea rcx, [rsp + 0x40]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call sub.VERSION.dll_VerQueryValueW
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x168]
mov eax, esi
mov rsi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14039bbb0
mov rbp, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret

Function at 0x1402635e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, str.Shared_Information
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x28], rax
lea r9, str._s_s
lea rax, str.SoftwareMAGIX
xor r8d, r8d
mov edx, 0x104
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
mov ebx, 0x80004005
call sym.ErrorReportClient.exe_SfCchPrintF
xor edi, edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1402636b2
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Locale
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 eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x1402636e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x38
lea rax, [rsp + 0x68]
xor edi, edi
mov r9d, 0x20019
mov qword [rsp + 0x68], rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov rcx, 0xffffffff80000001
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140263771
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HideFileExt
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140263766
cmp dword [rsp + 0x58], 4
jne 0x140263766
cmp dword [rsp + 0x60], edi
cmove ebx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret