joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d5ec
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401a2e90]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, r8
mov r12, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
cvtsi2sd xmm0, r8
test r8, r8
jns 0x14001d649
addsd xmm0, qword [0x14013f1c0]
divsd xmm0, qword [0x14013f188]
call fcn.1400ddab0
mulsd xmm0, qword [0x14013f190]
xor eax, eax
movsd xmm1, qword [0x14013f1b8]
comisd xmm0, xmm1
jb 0x14001d685
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14001d685
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rsi, xmm0
add rsi, rax
mov qword [rsp + 0x40], rsi
lea rcx, [rsi + 1]
call fcn.1400bcf98
mov r14, rax
test rax, rax
jne 0x14001d73d
mov eax, dword [0x1401aad80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
cmp ecx, 1
jne 0x14001d727
mov rsi, rbx
lea r14d, [rcx + 0x70]
call fcn.1400be2e0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rsp + rsi*8 + 0x60], xmm0
inc rsi
cmp rsi, r14
jb 0x14001d6d7
mov eax, 0x70
jmp 0x14001d71a
movsd xmm1, qword [rsp + rax*8 + 0x60]
movsd xmm0, qword [rsp + rax*8 + 0x58]
comisd xmm1, xmm0
jbe 0x14001d717
movsd qword [rsp + rax*8 + 0x60], xmm0
movsd qword [rsp + rax*8 + 0x58], xmm1
dec rax
cmp rax, rbx
jg 0x14001d6f9
inc rbx
dec r14
jne 0x14001d6f2
mov rcx, rdi
call fcn.14002386c
nop
mov dword [rsp + 0x30], 1
jmp 0x14001d809
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, r14
mov rdx, r15
mov rcx, r12
call fcn.14001d058
test al, al
jne 0x14001d7bc
mov rcx, r14
call fcn.1400be048
mov ecx, dword [0x1401aad80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0x13
jne 0x14001d7af
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov rcx, rdi
call fcn.14002386c
jmp 0x14001d730
mov rax, qword [rsp + 0x40]
mov byte [r14 + rax], bl
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140002df8
nop
mov rcx, r14
call fcn.1400be048
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140002d5c
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001d809
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400bd920
add rsp, 0x400
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002386c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401a2e90]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov qword [rbp - 0x29], rcx
xor r15d, r15d
mov dword [rbp - 0x39], r15d
mov dword [rbp - 0x19], 0x5f005f
mov dword [rbp - 0x15], 0x520043
mov dword [rbp - 0x11], 0x40005f
mov dword [rbp - 0xd], 0x410046
mov dword [rbp - 9], 0x4c0049
mov dword [rbp - 5], 0x440045
mov dword [rbp - 1], 0x44005f
mov dword [rbp + 3], 0x57004f
mov dword [rbp + 7], 0x4c004e
mov dword [rbp + 0xb], 0x41004f
mov dword [rbp + 0xf], 0x5f0044
mov dword [rbp + 0x13], 0x450052
mov dword [rbp + 0x17], 0x440041
mov dword [rbp + 0x1b], 0x5f0040
mov dword [rbp + 0x1f], 0x520043
mov dword [rbp + 0x23], 0x5f005f
mov word [rbp + 0x27], r15w
lea rdx, [rbp - 0x19]
call fcn.140001f6c
nop
mov dword [rbp - 0x39], 1
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400bd920
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400248b8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x50
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rdx
and qword [rax - 0x28], 0
mov dword [rax - 0x30], 0x80
mov dword [rax - 0x38], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140024929
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, eax
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140024922
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x1400249b6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [rsp + 0x60], 0
mov rax, qword [rdi]
mov ebx, dword [rax - 0x10]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
or eax, ecx
jge 0x14002495e
xor edx, edx
mov rcx, rdi
call fcn.140002210
lea r8d, [rbx + rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 1
sete bl
mov rdx, qword [rdi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400249b4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400249c8
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401a2e90]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r8d, dword [0x1401aad80]
mov r10, rcx
mov rsi, rdx
lea eax, [r8 + 1]
lea ecx, [r8 + 2]
xor ebx, ebx
imul ecx, eax
mov eax, 0x6bca1af3
imul ecx, r8d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 7
jne 0x140024a99
jmp 0x140024a94
mov eax, r8d
and eax, 0x80000001
jge 0x140024a38
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x140024a4f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov dword [0x1401aad80], eax
jmp 0x140024a5e
lea r8d, [r8*2 + 1]
mov dword [0x1401aad80], r8d
mov eax, 0x55555556
mov ecx, r8d
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
sub ecx, eax
je 0x140024a82
sub ecx, 2
je 0x140024a86
dec ecx
je 0x140024a89
jmp 0x140024a94
add r8d, 2
inc r8d
add r8d, 2
mov dword [0x1401aad80], r8d
test r8d, r8d
jne 0x140024a27
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, r10
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140024acb
xor eax, eax
jmp 0x140024b3f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r8d, dword [0x1401aad80]
mov eax, eax
lea ecx, [r8 + 1]
mov qword [rsi], rax
mov eax, 0x2aaaaaab
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0x11
jne 0x140024b2b
lea rdx, [rsp + 0x40]
mov ecx, dword [rdx]
inc ebx
lea rdx, [rdx + 4]
imul ecx, ecx, 0x25
add r8d, ecx
movsxd rcx, ebx
cmp rcx, 0x68
jb 0x140024b0d
mov dword [0x1401aad80], r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400bd920
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140025184
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov r9d, dword [0x1401aad80]
mov rsi, rdx
mov eax, 0x38e38e39
mov r8d, r9d
xor ebx, ebx
or r14, 0xffffffffffffffff
mov rdi, rcx
imul r8d, r9d
imul r8d, r9d
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 5
jne 0x140025213
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rbx + 4]
imul edx, edx, 0x64
sub r9d, edx
add r9d, 0x2f4
movsxd rcx, r9d
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400bcf98
mov rcx, rax
call fcn.1400be048
mov rcx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [r9 + 2]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, r14
je 0x140025337
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r8d, dword [0x1401aad80]
mov eax, 0x30c30c31
lea ecx, [r8 + 1]
mov dword [rsp + 0x50], ebx
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 0x11
jne 0x1400252aa
mov ecx, ebx
test r8d, r8d
je 0x1400252a4
mov eax, r8d
and eax, 1
add ecx, eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
jne 0x14002528f
mov dword [0x1401aad80], ecx
mov rdx, qword [rsi]
lea r9, [rsp + 0x50]
mov rcx, rdi
mov r8d, dword [rdx - 0x10]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14002532e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [0x1401aad80]
mov r8d, eax
imul r8d, eax
imul r8d, eax
mov eax, 0x38e38e39
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 7
jne 0x140025323
lea ecx, [r8 - 3]
call fcn.1400be0e0
mov rbx, rax
call fcn.1400be2e0
mov rcx, rbx
mov dword [rbx], eax
mov dword [0x1401aad80], eax
call fcn.1400bd904
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov al, bl
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret
Function at 0x140025684
Capabilities:
Encode data using xor

Disassembly:
mov r8d, dword [0x1401aad80]
mov eax, 0x4ec4ec4f
mov r9d, 1
mov r10d, r8d
imul r10d, r8d
mov ecx, r10d
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 0xa
jne 0x140025749
lea eax, [r8 + 1]
lea ecx, [r8 + 2]
imul ecx, eax
mov eax, 0x66666667
imul ecx, r8d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 0xc
je 0x140025746
mov eax, 0x38e38e39
imul r10d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub r10d, eax
cmp r10d, 6
jne 0x140025746
xor edx, edx
mov r10d, edx
mov r11d, 8
mov ecx, r10d
mov eax, r10d
and ecx, r9d
sar eax, 1
sub ecx, r9d
not ecx
and ecx, r8d
mov r10d, ecx
xor r10d, eax
sub r11, r9
jne 0x140025713
add edx, r9d
add r8d, r10d
cmp edx, 0x100
jl 0x14002570a
mov dword [0x1401aad80], r8d
xor r9b, r9b
mov al, r9b
ret
Function at 0x14003aa68
Capabilities:
Encode data using xor

Disassembly:
mov r10d, dword [0x1401aad80]
mov r11d, 0x66666667
mov r9d, 1
mov r8d, r10d
mov eax, r11d
imul r8d, r10d
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub eax, ecx
cmp eax, 3
jne 0x14003ab1f
imul r8d, r10d
and r8d, 0x8000000f
jge 0x14003aab8
sub r8d, r9d
or r8d, 0xfffffff0
add r8d, r9d
cmp r8d, 6
je 0x14003ab1c
lea ecx, [r10 + 1]
mov eax, r11d
imul ecx, r10d
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
cmp ecx, 4
jne 0x14003ab1c
xor edx, edx
mov r8d, edx
mov r11d, 8
mov ecx, r8d
mov eax, r8d
and ecx, r9d
sar eax, 1
sub ecx, r9d
not ecx
and ecx, r10d
mov r8d, ecx
xor r8d, eax
sub r11, r9
jne 0x14003aae9
add edx, r9d
add r10d, r8d
cmp edx, 0x100
jl 0x14003aae0
mov dword [0x1401aad80], r10d
xor r9b, r9b
mov al, r9b
ret

Function at 0x14003adb8
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, 1
movzx edx, al
cmp edx, 6
ja 0x14003addb
jne 0x14003add9
shr ax, 8
cmp al, cl
ja 0x14003addb
xor ecx, ecx
mov al, cl
add rsp, 0x28
ret

Function at 0x14003ade4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x1401aad80]
xor r8d, r8d
movzx ebp, al
mov eax, 0x2aaaaaab
imul ecx, ecx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 7
jne 0x14003ae76
mov eax, dword [0x1401aad80]
lea r10d, [r8 + 0x28]
mov ecx, r8d
cdq
sub eax, edx
sar eax, 1
mov edi, eax
test edi, edi
jle 0x14003ae6f
mov eax, dword [0x1401aad80]
mov r9d, r8d
mov rbx, rdi
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x14003ae67
mov edx, r9d
mov r11d, eax
add r10d, edx
dec edx
dec r11
jne 0x14003ae5d
add r9d, ecx
dec rbx
jne 0x14003ae53
inc ecx
cmp ecx, r10d
jl 0x14003ae3a
mov rbx, qword [rsp + 0x30]
cmp ebp, 6
mov rbp, qword [rsp + 0x38]
setb al
add rsp, 0x20
pop rdi
ret
Function at 0x14003c244
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rdx, qword [rcx]
mov rcx, qword [0x1401a5d58]
lea rax, [r11 + 8]
mov rsi, r8
mov r9d, 0xf003f
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
je 0x14003c285
xor al, al
jmp 0x14003c2e9
mov rax, qword [rsi]
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x40]
cmp dword [rax - 0x10], ebx
jne 0x14003c29f
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x14003c2d9
lea rax, [rsp + 0x58]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14003c2d9
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003ccc8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov r10d, dword [0x1401aad80]
lea r11d, [r10 + 1]
mov eax, r11d
imul eax, r10d
and eax, 0x8000000f
jge 0x14003cd14
dec eax
or eax, 0xfffffff0
inc eax
mov edi, 0xd
cmp eax, edi
cmove r10d, r11d
mov dword [0x1401aad80], r10d
xor ebp, ebp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.14003aa68
test al, al
jne 0x14003cd4f
lea ecx, [rdi - 9]
call fcn.1400be0e0
mov ecx, dword [0x1401aad80]
mov dword [rax], ecx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], pe_nt_image_headers64
mov r8, qword [rsi]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140019d04
test eax, eax
je 0x14003cd9d
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
mov r8, qword [rsi]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140019d04
test eax, eax
je 0x14003cd9d
mov dil, bpl
mov rbx, qword [rsp + 0x48]
jmp 0x14003ce05
mov rcx, qword [r14]
mov eax, ebp
test rcx, rcx
setne al
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x14003cde5
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x14003cdb5
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test rbx, rbx
je 0x14003cdfb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rbp
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebp
test edi, edi
sete dil
test rbx, rbx
je 0x14003ce18
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov al, dil
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14003ce3c
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
and qword [rbp - 0x28], 0
and dword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], pe_nt_image_headers64
mov r8, qword [r8]
mov rdx, r9
lea rcx, [rbp - 0x28]
call fcn.140019d04
test eax, eax
je 0x14003ceb8
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
mov r8, qword [rbx]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140019d04
test eax, eax
je 0x14003ceb8
xor dil, dil
mov rbx, qword [rbp - 0x28]
jmp 0x14003cf05
mov eax, dword [r14]
mov dword [rbp - 0x30], eax
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test rbx, rbx
je 0x14003cefb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rbp - 0x28], rbx
and dword [rbp - 0x20], 0
test edi, edi
sete dil
test rbx, rbx
je 0x14003cf18
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 0x28], 0
and dword [rbp - 0x20], 0
mov al, dil
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14003d070
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, r9
mov rbx, rdx
mov rdi, rcx
and qword [rbp - 0x20], 0
and dword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov r9d, 0x2001f
mov r8, qword [r8]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140019dc4
test eax, eax
je 0x14003d115
mov eax, dword [0x1401aad80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0x17
jne 0x14003d109
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x1401aad80]
mov edx, 7
test rax, rax
cmove ecx, edx
mov dword [0x1401aad80], ecx
xor dil, dil
mov rbx, qword [rbp - 0x20]
jmp 0x14003d1a5
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, qword [rbx]
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14003d154
mov eax, dword [rbp - 0x30]
sub eax, 4
neg eax
sbb edi, edi
and edi, 0xd
call fcn.14003ab24
test al, al
jne 0x14003d187
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test rbx, rbx
je 0x14003d19b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rbp - 0x20], rbx
and dword [rbp - 0x18], 0
test edi, edi
sete dil
test rbx, rbx
je 0x14003d1b8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 0x20], 0
and dword [rbp - 0x18], 0
mov al, dil
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14003d1d4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
lea rcx, [r11 + 0x18]
mov rax, r9
mov rbx, rdx
mov rdx, qword [r8]
mov qword [r11 - 0x28], rcx
mov rcx, rax
mov r9d, 0x2001f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
test eax, eax
je 0x14003d264
mov eax, dword [0x1401aad80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 0xb
jne 0x14003d260
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor al, al
jmp 0x14003d2a4
mov r8, qword [rbx]
mov rdx, qword [rsi]
mov r9d, 1
mov ecx, dword [r8 - 0x10]
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14003db00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x40
mov eax, dword [0x1401aad80]
xor edi, edi
mov rbx, r9
lea r10d, [rax + 1]
mov rsi, r8
mov r14, rcx
imul r10d, eax
mov eax, 0x66666667
imul r10d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub r10d, eax
cmp r10d, 7
jne 0x14003db71
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rdx, qword [rsi]
lea rax, [rsp + 0x70]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003db98
xor al, al
jmp 0x14003dbd0
mov rdx, qword [r14]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret