joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005288
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400052b3
cmp dword [rsp + 0x48], 4
jae 0x1400052d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rsp + 0x48]
lea rcx, str.error__d__d_n
mov edx, eax
call fcn.1400116ec
lea rcx, str.Internal_Error:_readInt
call fcn.140004f2c
mov eax, dword [rsp + 0x50]
add rsp, 0x38
ret

Function at 0x1400052e4
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000530f
cmp dword [rsp + 0x50], 2
jae 0x14000532f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error__d_n
mov edx, eax
call fcn.1400116ec
lea rcx, str.Internal_Error:_readShort
call fcn.140004f2c
mov ax, word [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x14000533c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
call fcn.140005288
movsxd rdi, eax
lea edx, [rdi + 1]
movsxd rcx, edx
call fcn.140015fd4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rdx, rax
mov r8d, edi
mov rcx, rbx
mov rsi, rax
mov byte [rdi + rax], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000538c
cmp dword [rsp + 0x48], edi
jae 0x140005398
lea rcx, str.Internal_Error:_readString
call fcn.140004f2c
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400053ac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.140005288
mov rcx, 0xffffffffffffffff
mov ebp, eax
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
mov eax, 2
lea edx, [rbx + 1]
movsxd r8, edx
mul r8
cmovo rax, rcx
mov rcx, rax
call fcn.140015fd4
mov rcx, rbx
xor ebx, ebx
mov word [rax + rcx*2], bx
lea r9, [rsp + 0x48]
mov r8d, ebp
mov rcx, rdi
mov rdx, rax
mov rsi, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x140005422
cmp dword [rsp + 0x48], ebp
jae 0x14000542e
lea rcx, str.Internal_Error:_readWString
call fcn.140004f2c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140006bc4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x17a0
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x1790], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
call fcn.140006af4
lea rdx, [rsp + 0x20]
lea rcx, str.tempPath_is__S
call fcn.1400116ec
lea rdx, [0x1400339e0]
lea rcx, [rsp + 0x20]
mov r9, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x140006c9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetTempFileName_failed__last_error__d_
mov edx, eax
call fcn.1400116ec
lea rcx, [rsp + 0x20]
call fcn.140016100
test eax, eax
jle 0x140006c66
cdqe
cmp byte [rsp + rax + 0x1f], 0x5c
je 0x140006c66
cmp byte [rsp + rax + 0x1f], 0x2f
je 0x140006c66
lea rdx, [0x1400333c4]
lea rcx, [rsp + 0x20]
call fcn.140016630
xor ecx, ecx
call fcn.140018004
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul eax, ebx
mov ecx, eax
call fcn.140018600
call fcn.140018618
lea r8, [rsp + 0x20]
lea rdx, str._se4j_d
mov r9d, eax
mov rcx, rdi
call fcn.140017528
lea rcx, str.tempFile_is__S
mov rdx, rdi
call fcn.1400116ec
mov rcx, qword [rsp + 0x1790]
xor rcx, rsp
call fcn.140016820
mov rbx, qword [rsp + 0x17b8]
add rsp, 0x17a0
pop rdi
ret
Function at 0x14000764c
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1960
call fcn.140030b10
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1998], rbx
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x1950], rax
mov rbp, r8
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x1e0]
call fcn.1400166d0
lea rdx, [0x140033ac8]
lea rcx, [rsp + 0x1e0]
call fcn.140016630
cmp byte [rbx], 0x2e
je 0x1400076c3
lea rdx, [0x1400333e0]
lea rcx, [rsp + 0x1e0]
call fcn.140016630
mov rdx, rbx
lea rcx, [rsp + 0x1e0]
call fcn.140016630
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400076f9
xor eax, eax
jmp 0x1400078a6
mov ecx, 8
call fcn.140016a18
test rax, rax
je 0x140007712
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x140007714
xor eax, eax
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140006ff4
mov qword [rsp + 0x48], rax
and qword [rsp + 0x50], 0
mov ecx, 0x1770
call fcn.1400187e4
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xcc]
mov rcx, rax
call fcn.1400166d0
mov rdi, qword [rsp + 0x48]
lea r9, [rsp + 0x60]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000702c
mov rbx, rax
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400074e8
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
sete al
test al, al
je 0x14000772e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x50]
movsxd rcx, esi
imul rcx, rcx, 0x1770
call fcn.1400187e4
mov qword [rbp], rax
cmp qword [rsp + 0x50], 0
jbe 0x140007853
xor ebx, ebx
mov rax, qword [rsp + 0x48]
mov rdi, qword [rax]
mov r11, qword [rsp + 0x20]
test r11, r11
jne 0x1400077ea
call fcn.1400169f8
xor r11d, r11d
jmp 0x1400077ed
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x28]
jne 0x1400077f8
call fcn.1400169f8
mov rcx, qword [rbp]
mov rax, qword [rdi + 0x10]
mov qword [rbx + rcx], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140007430
add rbx, 8
cmp qword [rsp + 0x50], 0
ja 0x1400077ce
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov qword [rax], rax
mov rax, qword [rsp + 0x48]
mov qword [rax + 8], rax
and qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x48]
cmp rdx, rcx
je 0x14000788f
mov rbx, qword [rdx]
mov rcx, rdx
call fcn.140016490
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rcx
jne 0x140007877
call fcn.140016490
and qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x20]
call fcn.140016490
mov eax, esi
mov rcx, qword [rsp + 0x1950]
xor rcx, rsp
call fcn.140016820
mov rbx, qword [rsp + 0x1998]
add rsp, 0x1960
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c170
Capabilities:
Set registry value

Disassembly:
push rbx
mov eax, 0x17e0
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x17d0], rax
mov qword [rsp + 0x58], rdx
mov rbx, r8
mov rdx, rcx
lea rcx, [rsp + 0x60]
lea r8, str.SOFTWAREej_technologiesexe4jjvms_
call fcn.14000c104
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000c250
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea rdx, str.LastWriteTime
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.140016100
mov rcx, qword [rsp + 0x50]
lea rdx, str.Version
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x17d0]
xor rcx, rsp
call fcn.140016820
add rsp, 0x17e0
pop rbx
ret
Function at 0x14000c26c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
mov eax, 0x17e0
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x17d0], rax
mov qword [rsp + 0x48], rdx
mov rbx, r8
mov rdx, rcx
lea rcx, [rsp + 0x60]
lea r8, str.SOFTWAREej_technologiesexe4jjvms_
xor dil, dil
call fcn.14000c104
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000c3df
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.LastWriteTime
xor r8d, r8d
mov dword [rsp + 0x30], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c3d4
cmp dword [rsp + 0x30], 8
jne 0x14000c3d4
lea r8d, [rax + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140019ad0
test eax, eax
jne 0x14000c3d4
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.Version
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x30], 0x1770
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete dil
test dil, dil
je 0x14000c3d4
cmp dword [rsp + 0x30], 1
jae 0x14000c389
mov byte [rbx], 0
jmp 0x14000c398
mov eax, dword [rsp + 0x30]
cmp byte [rax + rbx - 1], 0
je 0x14000c398
mov byte [rax + rbx], 0
lea rdx, str.1.7.
mov rcx, rbx
call fcn.1400180a0
test eax, eax
je 0x14000c3d1
lea rdx, str.1.6.
mov rcx, rbx
call fcn.1400180a0
test eax, eax
je 0x14000c3d1
lea rdx, str.1.5.
mov rcx, rbx
call fcn.1400180a0
test eax, eax
jne 0x14000c3d4
xor dil, dil
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rsp + 0x17d0]
xor rcx, rsp
call fcn.140016820
mov rbx, qword [rsp + 0x1808]
add rsp, 0x17e0
pop rdi
ret

Function at 0x14000c404
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor r8d, r8d
xor edx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xor ebx, ebx
movsxd rsi, eax
test eax, eax
jle 0x14000c486
mov rcx, rsi
call fcn.140015fd4
mov r8d, esi
mov rcx, rdi
mov rdx, rax
mov rbx, rax
mov byte [rax], 0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [rsi - 1]
cmp eax, ecx
je 0x14000c469
mov rcx, rbx
call fcn.140016490
lea rcx, str.error_reading__S
mov rdx, rdi
xor ebx, ebx
call fcn.1400116ec
jmp 0x14000c47b
lea rcx, str._S_is__S
mov r8, rbx
mov rdx, rdi
call fcn.1400116ec
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c8cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x10]
mov rdi, r9
mov rsi, r8
mov r9d, 0x20019
xor r8d, r8d
xor ebx, ebx
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x14000c934
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
cmp eax, ebx
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000ca20
Capabilities:
Check os version
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1840
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x1830], rax
mov rdi, rcx
mov ebx, 0x94
lea rcx, [rsp + 0x20]
mov r8, rbx
xor edx, edx
call fcn.1400184b0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
jb 0x14000ca83
jne 0x14000cb39
cmp dword [rsp + 0x28], 4
jae 0x14000cb39
mov rcx, rdi
call fcn.140016100
lea rcx, [rax + 0x64]
call fcn.140015fd4
lea rdx, str._sucrtbase.dll
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.140017528
mov rcx, rbx
call fcn.140005b7c
test al, al
je 0x14000cb31
lea rcx, str.Preloading_ucrtbase.dll_4
call fcn.1400116ec
lea rdx, [rsp + 0xc0]
mov ecx, 0x1770
mov byte [rsp + 0xc0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rcx, str.ucrtbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x14000cb11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x14000cb11
lea rcx, str.Could_not_preload_ucrtbase.dll
call fcn.1400116ec
lea rcx, [rsp + 0xc0]
call fcn.140016100
test rax, rax
je 0x14000cb31
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rcx, rbx
call fcn.140016490
mov rcx, qword [rsp + 0x1830]
xor rcx, rsp
call fcn.140016820
mov rbx, qword [rsp + 0x1858]
add rsp, 0x1840
pop rdi
ret
Function at 0x14000f308
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x46b8
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x46a0], rax
mov r12, qword [rsp + 0x4710]
mov r13, qword [rsp + 0x4718]
mov ebx, edx
mov rdi, r8
mov rsi, rcx
lea rdx, [rsp + 0x50]
mov r8d, 0x1770
mov ecx, 0xa0
mov rbp, r9
call fcn.140004504
lea rdx, [rsp + 0x50]
lea rcx, str.checking_app_id__S___d___p_
mov r9, rsi
mov r8d, ebx
call fcn.1400116ec
lea rcx, [rsp + 0x50]
call fcn.140016100
test rax, rax
je 0x14000f4e1
lea rax, [rsp + 0x38]
or ebx, 0x20019
lea rdx, str.SOFTWAREej_technologiesinstall4jinstallations
xor r8d, r8d
mov rcx, rsi
mov r9d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000f4d3
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2f30]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x30], 0x1770
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000f4b8
cmp dword [rsp + 0x30], eax
jbe 0x14000f4b8
lea rdx, [rsp + 0x2f30]
lea rcx, str.found_installations:__S
call fcn.1400116ec
lea rcx, [rsp + 0x2f30]
lea rdx, [0x14003320c]
call fcn.14001736c
mov rbx, rax
test rax, rax
je 0x14000f4c6
mov rcx, rax
call fcn.140016100
test rax, rax
je 0x14000f4c6
lea rdx, str._sjre
lea rcx, [rsp + 0x17c0]
mov r8, rbx
call fcn.140017528
lea rdx, [rsp + 0x17c0]
mov rcx, rdi
call fcn.14000c044
test al, al
je 0x14000f499
mov r9, r13
mov r8, r12
mov rdx, rbp
mov rcx, rdi
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
call fcn.14000f090
test al, al
jne 0x14000f4b4
lea rcx, str.java_version_did_not_match_in__S
jmp 0x14000f4a0
lea rcx, str.did_not_find_java_in__S
lea rdx, [rsp + 0x17c0]
call fcn.1400116ec
xor ecx, ecx
jmp 0x14000f41d
mov al, 1
jmp 0x14000f4e3
lea rcx, str.could_not_query_value_node__d
xor edx, edx
call fcn.1400116ec
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000f4e1
lea rcx, str.could_not_open_installation_node__d
mov edx, eax
call fcn.1400116ec
xor al, al
mov rcx, qword [rsp + 0x46a0]
xor rcx, rsp
call fcn.140016820
add rsp, 0x46b8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000f77c
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x17b0
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x17a0], rax
mov r14, qword [rsp + 0x1810]
mov rax, r8
mov r12, rdx
mov rbp, rcx
lea rdx, [rsp + 0x30]
mov r8d, 0x1770
mov rcx, rax
mov r13, r9
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14000f83f
lea rcx, [rsp + 0x30]
xor esi, esi
call fcn.140016100
lea ebx, [rsi + 1]
test rax, rax
je 0x14000f80a
lea rdi, [rsp + 0x30]
cmp byte [rdi], 0x2f
jne 0x14000f7f3
mov byte [rdi], 0x5c
lea rcx, [rsp + 0x30]
add esi, ebx
add rdi, rbx
call fcn.140016100
movsxd rcx, esi
cmp rcx, rax
jb 0x14000f7eb
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14000c044
test al, al
je 0x14000f839
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rbp
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], 0
call fcn.14000f090
test al, al
jne 0x14000f83b
xor ebx, ebx
mov al, bl
jmp 0x14000f841
xor al, al
mov rcx, qword [rsp + 0x17a0]
xor rcx, rsp
call fcn.140016820
add rsp, 0x17b0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ffd0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r15, rdx
lea rax, [r11 - 0x50]
mov r12, r8
xor bpl, bpl
lea rdx, str.SOFTWAREej_technologiesexe4jlocatedjvms_
mov r9d, 0x20019
mov byte [r8], bpl
xor r8d, r8d
mov qword [r11 - 0x78], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400101b1
mov edi, 0x1770
mov rcx, rdi
mov dword [rsp + 0xb0], edi
mov dword [rsp + 0x40], edi
call fcn.140015fd4
mov rcx, rdi
mov r13, rax
call fcn.140015fd4
mov rcx, rdi
mov rsi, rax
call fcn.140015fd4
mov rcx, rdi
mov rbx, rax
call fcn.140015fd4
xor r14d, r14d
mov rdi, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
and qword [rsp + 0x20], r14
xor edx, edx
jmp 0x140010168
mov byte [rbx], 0
mov rcx, rsi
mov byte [rdi], 0
call fcn.140016100
inc eax
movsxd r8, eax
test eax, eax
jle 0x1400100be
mov rdx, rsi
mov rcx, rbx
sub rdx, rbx
movzx eax, byte [rdx + rcx]
mov r9d, 0x5c
cmp al, 0x2f
cmove eax, r9d
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400100a3
cmp byte [rsp + 0xc8], 0
jne 0x1400100dc
lea rdx, str.i4j_jres
mov rcx, rbx
call fcn.140018a0c
test rax, rax
je 0x14001012d
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov rdx, rdi
mov rcx, rbx
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
call fcn.14000f090
test al, al
je 0x14001012d
mov rdx, r12
mov rcx, rdi
call fcn.14000ee00
test al, al
je 0x14001012d
mov rdx, rdi
mov rcx, r12
call fcn.1400166d0
mov rdx, rbx
mov rcx, r15
call fcn.1400166d0
mov bpl, 1
lea rax, [rsp + 0x50]
inc r14d
mov dword [rsp + 0xb0], 0x1770
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov dword [rsp + 0x40], 0x1770
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
and qword [rsp + 0x20], 0
mov edx, r14d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x140010083
mov rcx, rbx
call fcn.140016490
mov rcx, rdi
call fcn.140016490
mov rcx, r13
call fcn.140016490
mov rcx, rsi
call fcn.140016490
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bpl
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010cfc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r10, rdx
test r8d, r8d
jle 0x140010d30
mov r9d, r8d
mov r8d, dword [rcx]
movsx eax, byte [r10]
inc r10
xor rax, r8
shr r8d, 8
movzx edx, al
lea rax, [0x14003f120]
mov eax, dword [rax + rdx*4]
xor eax, r8d
sub r9, 1
mov dword [rcx], eax
jne 0x140010d07
repz ret

Function at 0x140011114
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.140016100
cmp eax, 3
jl 0x14001120b
cmp byte [rbx + 1], 0x2d
jne 0x14001120b
mov rcx, qword [0x14003f118]
lea rdi, [0x14003f118]
jmp 0x1400111a8
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.140016100
mov rbp, rax
lea ecx, [rax + 1]
movsxd rcx, ecx
call fcn.140015fd4
test ebp, ebp
jle 0x14001118a
movsxd r8, ebp
mov rdx, rax
sub rsi, rax
mov cl, byte [rsi + rdx]
xor cl, 0xbb
mov byte [rdx], cl
inc rdx
sub r8, 1
jne 0x140011179
movsxd r8, ebp
mov rdx, rax
mov rcx, rbx
mov byte [r8 + rax], 0
call fcn.140017470
test eax, eax
je 0x14001120b
add rdi, 8
mov rcx, qword [rdi]
call fcn.140016100
test rax, rax
jne 0x140011153
movsx ecx, byte [rbx]
sub ecx, 0x41
je 0x1400111e7
sub ecx, 4
je 0x1400111db
sub ecx, 7
je 0x1400111e7
sub ecx, 7
je 0x1400111e7
cmp ecx, 1
jne 0x14001120b
mov rcx, rbx
call fcn.140010b60
add eax, 0xfffffffc
jmp 0x1400111f2
mov dl, 1
mov rcx, rbx
call fcn.140011084
jmp 0x140011210
mov rcx, rbx
call fcn.140010b60
add eax, 0xfffffffe
cmp eax, 1
ja 0x14001120b
mov rcx, rbx
call fcn.140010fa4
neg al
sbb eax, eax
and eax, 2
add eax, 0xfffffffd
jmp 0x140011210
mov eax, 0xfffffffd
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001176c
Capabilities:
Set registry value

Disassembly:
mov eax, 0x17e8
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x17d0], rax
call fcn.140005c5c
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov rdx, rax
call fcn.140006ee4
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
lea rdx, str.SOFTWAREej_technologiesexe4jpids_
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14001181e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x58]
mov r9d, 4
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x17d0]
xor rcx, rsp
call fcn.140016820
add rsp, 0x17e8
ret

Function at 0x140011838
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
mov eax, 0x17d0
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x17c0], rax
call fcn.140005c5c
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov rdx, rax
call fcn.140006ee4
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREej_technologiesexe4jpids_
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1400118e8
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1400118dd
cmp dword [rsp + 0x30], 4
cmove ebx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x17c0]
xor rcx, rsp
call fcn.140016820
add rsp, 0x17d0
pop rbx
ret