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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov r13, rdx
mov qword [rsp + 0x78], 0xf5
mov qword [rsp + 0x70], 4
lea rax, [0x1400f6ff0]
sub r15, rdx
nop word [rax + rax]
xor r14d, r14d
xor ebx, ebx
lea edi, [rbx + 0x18]
nop dword [rax + rax]
mov esi, 0x18
lea rbp, [rbx + rax]
lea r12d, [rsi - 0x14]
nop dword [rax]
mov edx, dword [r15 + r13]
movzx r8d, byte [rbp]
mov ecx, esi
shr edx, cl
lea rcx, [rsp + 0x78]
call fcn.140085130
mov ecx, edi
sub esi, 8
movzx r11d, al
add rbp, 4
shl r11d, cl
xor r14d, r11d
sub r12, 1
jne 0x14007d470
inc rbx
sub edi, 8
lea rax, [0x1400f6ff0]
cmp rbx, 4
jl 0x14007d460
mov dword [r13], r14d
add r13, 4
sub qword [rsp + 0x70], 1
lea rax, [0x1400f6ff0]
jne 0x14007d450
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007db70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rdx]
mov rsi, qword [rcx + 0xb0]
mov rdi, rcx
mov qword [rsi], rax
mov rax, qword [rdx + 8]
lea rcx, [r11 - 0x18]
lea rdx, [r11 + 8]
mov ebp, reloc.WS2_32.dll_recv
mov qword [r11 + 8], 4
mov qword [rsi + 8], rax
mov qword [r11 - 0x18], rbp
call fcn.14007b790
xor ebx, ebx
mov r11, rax
shr r11, 2
mov rdx, rbx
test r11, r11
je 0x14007dbf4
nop dword [rax + rax]
mov ecx, dword [rsi + rdx*4]
inc rdx
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [rsi + rdx*4 - 4], eax
cmp rdx, r11
jb 0x14007dbd0
lea rdx, [0x1400f7000]
lea r8, [0x1400f7020]
nop word [rax + rax]
mov rax, qword [rdi + 0xb0]
add rdx, 4
add rbp, 0x10
mov ecx, dword [rax + rbp - 0x14]
rol ecx, 8
xor ecx, dword [rax + rbp - 0x20]
xor ecx, dword [rdx - 4]
mov dword [rax + rbp - 0x10], ecx
mov rcx, qword [rdi + 0xb0]
mov eax, dword [rcx + rbp - 0x1c]
xor eax, dword [rcx + rbp - 0x10]
mov dword [rcx + rbp - 0xc], eax
mov rcx, qword [rdi + 0xb0]
mov eax, dword [rcx + rbp - 0x18]
xor eax, dword [rcx + rbp - 0xc]
mov dword [rcx + rbp - 8], eax
mov rcx, qword [rdi + 0xb0]
mov eax, dword [rcx + rbp - 8]
xor eax, dword [rcx + rbp - 0x14]
cmp rdx, r8
mov dword [rcx + rbp - 4], eax
jl 0x14007dc10
mov rax, qword [rdi - 8]
lea rcx, [rdi - 8]
call qword [rax + 0x38]
test al, al
je 0x14007dcaf
mov esi, 8
nop word [rax + rax]
mov rax, qword [rdi + 0xb0]
lea rcx, [rbx + rax]
mov rdx, rcx
call fcn.14007d410
add rbx, 0x10
sub rsi, 1
jne 0x14007dc90
jmp 0x14007dd19
mov r11d, 0x80
nop word [rax + rax]
mov r9, r11
mov r10d, 4
nop dword [rax]
mov rax, qword [rdi + 0xb0]
lea rdx, [r9 + rax]
lea r8, [rbx + rax]
cmp r8, rdx
je 0x14007dcee
mov eax, dword [rdx]
mov ecx, dword [r8]
mov dword [r8], eax
mov dword [rdx], ecx
add r9, 4
add rbx, 4
sub r10, 1
jne 0x14007dcd0
sub r11, 0x10
cmp r11, 0x40
jg 0x14007dcc0
mov rcx, qword [rdi + 0xb0]
sub rcx, 0xffffffffffffff80
mov rdx, rcx
call fcn.14007d410
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14007e030
Capabilities:
Encrypt data using twofish

Disassembly:
mov qword [rsp + 8], rbx
mov eax, ecx
mov r10d, ecx
mov r11, rdx
shl eax, 8
lea rbx, [0x1400fdd00]
or eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or r10d, eax
sub r8d, 2
je 0x14007e10a
sub r8d, 1
je 0x14007e0bc
mov eax, r10d
cmp r8d, 1
jne 0x14007e1a9
shr eax, 0x18
movzx ecx, al
mov eax, r10d
movzx edx, byte [rcx + rbx + 0x100]
shr eax, 0x10
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbx]
xor edx, eax
mov eax, r10d
shr eax, 8
shl edx, 8
movzx ecx, al
movzx eax, byte [rcx + rbx]
xor edx, eax
movzx eax, r10b
movzx eax, byte [rax + rbx + 0x100]
shl edx, 8
mov r10d, edx
xor r10d, eax
xor r10d, dword [r11 + 0x18]
mov eax, r10d
shr eax, 0x18
movzx ecx, al
mov eax, r10d
movzx edx, byte [rcx + rbx]
shr eax, 0x10
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbx]
xor edx, eax
mov eax, r10d
shr eax, 8
shl edx, 8
movzx ecx, al
movzx eax, byte [rcx + rbx + 0x100]
xor edx, eax
movzx eax, r10b
movzx eax, byte [rax + rbx + 0x100]
shl edx, 8
mov r10d, edx
xor r10d, eax
xor r10d, dword [r11 + 0x10]
mov eax, r10d
shr eax, 0x18
movzx ecx, al
mov eax, r10d
movzx r9d, byte [rcx + rbx + 0x100]
shr eax, 0x10
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rbx]
xor r9d, eax
mov eax, r10d
shr eax, 8
shl r9d, 8
movzx ecx, al
movzx eax, byte [rcx + rbx + 0x100]
xor r9d, eax
movzx eax, r10b
movzx ecx, byte [rax + rbx]
shl r9d, 8
xor r9d, ecx
xor r9d, dword [r11 + 8]
mov eax, r9d
shr eax, 0x18
movzx ecx, al
mov eax, r9d
movzx r8d, byte [rcx + rbx + 0x100]
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbx + 0x100]
xor r8d, eax
mov eax, r9d
shr eax, 8
shl r8d, 8
movzx ecx, al
movzx eax, byte [rcx + rbx]
movzx ecx, r9b
movzx edx, byte [rcx + rbx]
xor eax, r8d
shl eax, 8
xor eax, edx
xor eax, dword [r11]
mov rbx, qword [rsp + 8]
ret
Function at 0x14007eee0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub rsp, 8
mov eax, dword [rdx]
mov qword [rsp], r12
mov r12d, dword [rcx + 0x40]
mov r10d, eax
xor r11d, r11d
ror r10d, 8
and r10d, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or r10d, eax
mov eax, dword [rdx + 4]
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
test r12d, r12d
je 0x14007efa3
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov ebx, dword [rax + 4]
mov ebp, dword [rax + 0xc]
mov qword [rsp + 0x20], rsi
mov esi, dword [rax + 8]
mov qword [rsp + 0x28], rdi
mov edi, dword [rax]
nop word [rax + rax]
add r11d, 0x9e3779b9
mov ecx, edx
mov eax, edx
shl ecx, 4
shr eax, 5
add ecx, edi
add eax, ebx
xor ecx, eax
lea eax, [r11 + rdx]
xor ecx, eax
add r10d, ecx
mov ecx, r10d
mov eax, r10d
shr ecx, 5
shl eax, 4
add ecx, ebp
add eax, esi
xor ecx, eax
lea eax, [r11 + r10]
xor ecx, eax
add edx, ecx
cmp r11d, r12d
jne 0x14007ef50
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov r12, qword [rsp]
test r8, r8
je 0x14007efcd
mov eax, r10d
ror eax, 8
and eax, 0xff00ff00
rol r10d, 8
and r10d, 0xff00ff
or eax, r10d
xor eax, dword [r8]
mov dword [r9], eax
jmp 0x14007efe9
mov eax, r10d
ror eax, 8
and eax, 0xff00ff00
rol r10d, 8
and r10d, 0xff00ff
or eax, r10d
mov dword [r9], eax
test r8, r8
je 0x14007f015
add r8, 4
je 0x14007f015
mov eax, edx
ror eax, 8
and eax, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or eax, edx
xor eax, dword [r8]
mov dword [r9 + 4], eax
add rsp, 8
ret
mov eax, edx
ror eax, 8
and eax, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or eax, edx
mov dword [r9 + 4], eax
add rsp, 8
ret
Function at 0x140082ee0
Capabilities:
Encode data using xor

Disassembly:
movzx eax, cl
mov r9, rdx
or al, dl
or al, r8b
test al, 7
jne 0x140082f14
shr r8, 3
test r8, r8
je 0x140082f34
sub r9, rcx
nop dword [rax + rax]
mov rax, qword [r9 + rcx]
add rcx, 8
xor qword [rcx - 8], rax
sub r8, 1
jne 0x140082f00
repz ret
xor edx, edx
test r8, r8
je 0x140082f34
sub r9, rcx
nop
movzx eax, byte [rcx + r9]
inc edx
inc rcx
xor byte [rcx - 1], al
mov eax, edx
cmp rax, r8
jb 0x140082f20
repz ret

Function at 0x140082f40
Capabilities:
Encode data using xor

Disassembly:
movzx eax, cl
mov r10, rcx
or al, dl
or al, r8b
or al, r9b
test al, 7
jne 0x140082f89
shr r9, 3
test r9, r9
je 0x140082fba
sub rdx, r8
sub r10, r8
nop word [rax + rax]
mov rax, qword [rdx + r8]
add r8, 8
xor rax, qword [r8 - 8]
sub r9, 1
mov qword [r10 + r8 - 8], rax
jne 0x140082f70
repz ret
xor ecx, ecx
test r9, r9
je 0x140082fba
sub rdx, r8
sub r10, r8
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc ecx
inc r8
xor al, byte [r8 - 1]
mov byte [r8 + r10 - 1], al
mov eax, ecx
cmp rax, r9
jb 0x140082fa0
repz ret

Function at 0x1400898a0
Capabilities:
Delete directory
Delete file

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, r8
mov rbx, rcx
cmp edx, 1
jne 0x1400898db
test r8, r8
je 0x1400898d4
mov dword [r8], 0
call fcn.14008b2b0
mov qword [rdi + 8], rax
xor al, al
jmp 0x1400899ed
cmp edx, 3
je 0x14008996e
cmp edx, 0xb
je 0x14008996e
mov qword [rsp + 0x48], send
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
mov r8d, 0x19
lea rdx, str.boost::filesystem::remove
lea rcx, [rsp + 0x28]
call fcn.140002ce0
nop
cmp qword [rbx + 0x20], 8
jb 0x140089929
mov rcx, qword [rbx + 8]
jmp 0x14008992d
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete cl
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbx
call fcn.1400896f0
movzx ebx, al
cmp qword [rsp + 0x48], 0x10
jb 0x140089962
mov rcx, qword [rsp + 0x30]
call fcn.14000fdf8
test bl, bl
je 0x1400899eb
xor al, al
jmp 0x1400899ed
mov qword [rsp + 0x48], send
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
mov r8d, 0x19
lea rdx, str.boost::filesystem::remove
lea rcx, [rsp + 0x28]
call fcn.140002ce0
nop
cmp qword [rbx + 0x20], 8
jb 0x1400899aa
mov rcx, qword [rbx + 8]
jmp 0x1400899ae
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
test al, al
sete cl
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbx
call fcn.1400896f0
movzx ebx, al
cmp qword [rsp + 0x48], 0x10
jb 0x1400899e3
mov rcx, qword [rsp + 0x30]
call fcn.14000fdf8
test bl, bl
je 0x1400899eb
xor al, al
jmp 0x1400899ed
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140089b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x20], 8
mov rsi, rdx
mov rdi, rcx
jb 0x140089b82
mov rcx, qword [rcx + 8]
jmp 0x140089b86
add rcx, 8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140089bb5
lea rcx, [rsp + 0x30]
mov r8, rsi
mov rdx, rdi
call fcn.140089a00
mov eax, dword [rax]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x140089bc9
mov dword [rsi], 0
call fcn.14008b2b0
mov qword [rsi + 8], rax
bt ebx, 0xa
jae 0x140089c10
mov rcx, rdi
call fcn.140088e40
test al, al
je 0x140089bfb
test bl, 0x10
mov eax, 4
mov ecx, reloc.WS2_32.dll_inet_addr
cmovne eax, ecx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, 9
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140089f10
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], send
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov r8d, 0x19
lea rdx, str.boost::filesystem::rename
lea rcx, [rsp + 0x38]
call fcn.140002ce0
nop
cmp qword [rdi + 0x20], 8
jb 0x140089f6e
mov rdx, qword [rdi + 8]
jmp 0x140089f72
lea rdx, [rdi + 8]
cmp qword [rbx + 0x20], 8
jb 0x140089f7f
mov rcx, qword [rbx + 8]
jmp 0x140089f83
lea rcx, [rbx + 8]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
sete cl
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rdi
mov rdx, rbx
call fcn.1400897c0
nop
cmp qword [rsp + 0x58], 0x10
jb 0x140089fbf
mov rcx, qword [rsp + 0x40]
call fcn.14000fdf8
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14008c360
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14008c3ec
test rdx, rdx
je 0x14008c3ec
movzx eax, byte [rdx]
cmp al, 0xbc
jne 0x14008c3aa
cmp byte [rdx + 1], 0xbd
jne 0x14008c3aa
add rdx, 2
xor r8d, r8d
call fcn.140067cf0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.140067f60
mov byte [rax + rbx - 4], 0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
xor al, 0x23
xor r9d, r9d
mov byte [rcx], al
cmp byte [rdx], r9b
je 0x14008c3dc
mov r8, rcx
sub r8, rdx
nop dword [rax]
movzx ecx, byte [rdx + 1]
movzx eax, byte [r8 + rdx]
inc rdx
dec cl
inc r9d
xor al, cl
mov byte [r8 + rdx], al
cmp byte [rdx], 0
jne 0x14008c3c0
movsxd rax, r9d
mov byte [rax + rbx], 0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400c85b0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14001ed20
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], 0xc3d2e1f0
xor eax, eax
add rsp, 0x28
ret
Function at 0x140006b80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006c55
cmp byte [rcx + 0x72], 0
je 0x140006c55
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140006c51
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006c16
sub eax, 1
je 0x140006c1a
cmp eax, 2
jne 0x140006c51
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b3120
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006c48
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140006c51
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140006bfe
xor al, al
jmp 0x140006bfe
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b3120
add rsp, 0x60
pop rbx
ret

Function at 0x140006f70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
lea r8, [rsp + 0x20]
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400093d0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, 0x100
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x14000705a
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000701c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007017
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3088
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], ax
mov rcx, rdi
call fcn.140001af0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400b3120
mov rbx, qword [rsp + 0x118]
add rsp, 0x100
pop rdi
ret
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140003e70
mov rbx, rax
mov r8, rdi
lea rdx, str.Error_while_deleting_registry_key
lea rcx, [rsp + 0x90]
call fcn.140005ec0
nop
lea r8, [0x1400c3824]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140005e50
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140005dc0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006870
lea rdx, [0x1401392e8]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400070d0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x120
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
mov edx, 0x102
call fcn.140007f70
mov rbx, rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000711b
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebp, eax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x140007167
mov rcx, rsi
call fcn.140001af0
nop
mov rcx, rdi
call fcn.140001af0
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400b3120
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
mov edx, ebp
lea rcx, [rsp + 0x50]
call fcn.140003e70
mov rbx, rax
mov r8, rsi
lea rdx, str.Error_while_deleting_registry_value
lea rcx, [rsp + 0x70]
call fcn.140005ec0
nop
lea r8, [0x1400c382c]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140005e50
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140005df0
nop
lea r8, [0x1400c3824]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140005e50
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140005dc0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006870
lea rdx, [0x1401392e8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140007210
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x44], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x44], 1
mov edx, 0x108
mov rcx, r15
call fcn.140007f70
mov r14, rax
mov dword [rsp + 0x40], 0x100
mov esi, r12d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
mov edi, eax
jne 0x140007393
inc esi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400072f0
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.140003cb0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140007337
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x58], r12w
add qword [rbx + 8], 0x20
jmp 0x140007349
lea r8, [rsp + 0x58]
mov rcx, rbx
call fcn.140005fd0
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140007382
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000737d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000738c
call fcn.1400b3088
mov edx, esi
mov rcx, r14
jmp 0x14000728d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x103
jne 0x1400073da
mov rcx, r15
call fcn.140001af0
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400b3120
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, edi
lea rcx, [rsp + 0x78]
call fcn.140003e70
mov rbx, rax
mov r8, r15
lea rdx, str.Error_while_enumerating_sub_keys_of_registry_key
lea rcx, [rbp - 0x68]
call fcn.140005ec0
nop
lea r8, [0x1400c3824]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140005e50
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140005dc0
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006870
lea rdx, [0x1401392e8]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140007830
Capabilities:
Get file version info

Disassembly:
push rsi
push r14
sub rsp, 0x28
cmp dword [0x14015c3f8], 0
mov esi, edx
mov r14d, ecx
jne 0x1400078ce
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
lea rcx, str.kernel32.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
je 0x1400078c9
mov ecx, edi
mov qword [rsp + 0x58], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [rsp + 0x40]
lea rcx, str.kernel32.dll
mov r9, rax
mov r8d, edi
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400078bb
lea r9, [rsp + 0x48]
mov rcx, rbx
lea r8, [rsp + 0x50]
lea rdx, [0x1400c382c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400078bb
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 0x10]
mov dword [0x14015c3f8], ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x20]
mov eax, 0xcccccccd
mul r14d
mov eax, 0xcccccccd
shr edx, 3
lea ecx, [rdx + rdx*2]
mul esi
lea r8d, [r14 + rcx*2]
shr edx, 3
shl r8d, 0x10
lea ecx, [rdx + rdx*2]
lea eax, [rsi + r8]
lea ecx, [rax + rcx*2]
cmp dword [0x14015c3f8], ecx
setae al
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x1400080c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140158238]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x1400080f1
xor eax, eax
jmp 0x140008234
mov rdx, qword [rcx + 0x40]
mov rcx, qword [rdx]
test rcx, rcx
je 0x140008121
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rdx, [rcx + r8*2]
cmp rcx, rdx
jae 0x140008121
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Pninc_void____ptr64]
mov word [rax], si
movzx eax, si
jmp 0x140008234
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140008229
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008168
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008192
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, di
je 0x140008229
movzx edi, si
jmp 0x140008229
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], si
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400081e8
sub eax, 1
je 0x1400081e8
cmp eax, 2
jne 0x140008229
movzx ecx, word [rsp + 0x40]
jmp 0x140008174
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140008216
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140008229
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
movzx eax, si
jne 0x14000822c
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400b3120
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret