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

Disassembly:
jmp 0x180083b74
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov rsi, rcx
mov ebx, r12d
mov dword [rbp + 0x5c], r12d
mov qword [rbp + 0x50], rbx
mov r15d, r12d
mov qword [rbp - 0x10], r12
mov dword [rbp + 0x40], r12d
mov dword [rbp + 0x48], r12d
test byte [0x1800b78f3], 0x20
je 0x180083bc3
lea ecx, [r12 + 0x20]
mov r8, rsi
lea rdx, [0x18009f490]
call fcn.1800879b4
test rsi, rsi
je 0x180083bd2
xor eax, eax
mov rdi, rsi
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
lea r8, [rbp - 0x10]
mov edx, 1
mov ecx, 0x20019
call fcn.180085458
mov edi, eax
test eax, eax
jns 0x180083bf7
mov dword [rbp + 0x5c], 0x381
jmp 0x180083d09
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x58], r12
xor r9d, r9d
mov qword [rsp + 0x50], r12
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor edx, edx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyA]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x180083c4a
movzx edi, ax
or edi, 0x80070000
test edi, edi
jns 0x180083c5a
mov dword [rbp + 0x5c], 0x383
jmp 0x180083d09
mov eax, dword [rbp + 0x40]
test eax, eax
jne 0x180083c69
mov edi, r12d
jmp 0x180083d09
imul ecx, eax, 0x82
lea rdx, [rbp + 0x50]
call fcn.18008330c
mov rbx, qword [rbp + 0x50]
mov edi, eax
test eax, eax
jns 0x180083c8b
mov dword [rbp + 0x5c], 0x38a
jmp 0x180083d09
mov r14d, r12d
cmp dword [rbp + 0x40], r12d
jbe 0x180083cfb
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x48]
mov qword [rsp + 0x38], r12
mov edx, r14d
mov eax, r15d
imul r8, rax, 0x82
mov qword [rsp + 0x30], r12
add r8, rbx
mov qword [rsp + 0x28], r12
mov dword [rbp + 0x48], 0x41
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x180083cfb
test eax, eax
jg 0x180083ce2
mov edi, eax
jmp 0x180083ceb
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x180083d64
inc r15d
inc r14d
cmp r14d, dword [rbp + 0x40]
jb 0x180083c94
mov qword [rsi + 8], rbx
mov rbx, r12
mov qword [rbp + 0x50], rbx
mov dword [rsi], r15d
test byte [0x1800b78f3], 0x20
je 0x180083d26
mov ecx, 0x21
lea rdx, [0x18009f490]
mov r8d, edi
call fcn.1800876bc
mov ecx, edi
call fcn.180011928
mov edi, eax
test rbx, rbx
je 0x180083d3d
lea rcx, [rbp + 0x50]
call fcn.180030b30
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x180083d52
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp + 0x5c], 0x394
jmp 0x180083d09
Function at 0x180085fe4
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x18008600d
movzx eax, byte [r10 + rdx]
inc r10
add eax, dword [rcx]
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor eax, r9d
mov dword [rcx], eax
cmp r10, r8
jb 0x180085fec
ret
Function at 0x1400016c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [str.GSGameHook64.dll]
movzx eax, word [0x140015558]
mov rsi, rcx
movups xmm1, xmmword [0x140015548]
xor edx, edx
mov word [rsp + 0x48], ax
xor ecx, ecx
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
lea eax, [rdi + 0x11]
mov dword [rsi], eax
test edi, edi
je 0x14000176e
mov ecx, eax
add rcx, rcx
mov qword [rsp + 0x78], rbx
call fcn.140003f40
mov r8d, dword [rsi]
xor edx, edx
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.140002770
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, 0x5c
lea ecx, [rdi - 1]
lea r8, [rsp + 0x28]
mov word [rbx + rcx*2], ax
lea rcx, [rbx + rdi*2]
mov edx, dword [rsi]
lea r9d, [rax - 0x4c]
sub edx, edi
call fcn.140003f48
mov rax, rbx
mov rbx, qword [rsp + 0x78]
jmp 0x140001773
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400017a0
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140004c0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004a38
Function at 0x1400012ac
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x17c0
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x17b0], rax
xor edi, edi
mov bpl, r9b
mov rsi, r8
mov r13, rdx
mov r12, rcx
test r8, r8
jle 0x140001395
mov r14d, 0x1770
mov r8d, esi
mov rax, rsi
lea r9, [rsp + 0x30]
sub r8d, edi
sub rax, rdi
lea rdx, [rsp + 0x40]
cmp rax, r14
mov rcx, r12
cmovg r8d, r14d
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400013db
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400013db
test bpl, bpl
je 0x140001350
test ecx, ecx
je 0x140001350
lea rax, [rsp + 0x40]
mov rdx, rcx
xor byte [rax], 0x88
inc rax
sub rdx, 1
jne 0x140001344
xor ebx, ebx
test ecx, ecx
je 0x140001387
and qword [rsp + 0x20], 0
sub ecx, ebx
movsxd rax, ebx
mov r8d, ecx
lea rdx, [rsp + rax + 0x40]
lea r9, [rsp + 0x34]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400013b9
add ebx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp ebx, ecx
jb 0x140001356
mov eax, ecx
add rdi, rax
cmp rdi, rsi
jl 0x1400012f3
xor eax, eax
mov rcx, qword [rsp + 0x17b0]
xor rcx, rsp
call fcn.140014d30
add rsp, 0x17c0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rsp + 0x30]
lea rcx, str.WriteFile_failed__d__d
sub edx, ebx
mov r8d, eax
call fcn.140010418
mov eax, 2
jmp 0x140001397
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rsp + 0x30]
lea rcx, str.ReadFile_failed__d__d__I64d
mov r8d, eax
mov r9, rdi
call fcn.140010418
mov eax, 1
jmp 0x140001397
Function at 0x1400048dc
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
mov eax, 0x17a0
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x1790], rax
mov bl, cl
lea rcx, str.extracting_files
call fcn.1400104ac
mov ecx, 0x7d2
call fcn.140004654
lea rcx, [0x1400301f0]
mov edx, eax
mov edi, eax
call fcn.1400104ac
xor r14d, r14d
cmp edi, r14d
jne 0x14000495d
movzx eax, byte [0x140048fb0]
cmp bl, r14b
cmovne eax, r14d
mov byte [0x140048fb0], al
jmp 0x140004ad9
cmp bl, r14b
je 0x140004967
call fcn.140012e38
call fcn.140001054
mov edx, dword [0x14003d2a4]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0x7d3
call fcn.14000458c
lea rdx, [0x1400301ec]
mov r12d, r14d
mov rcx, rax
mov rbp, rax
call fcn.14001587c
cmp edi, r14d
mov rbx, rax
jle 0x140004aa2
cmp rbx, r14
je 0x140004aa2
mov rcx, rbx
call fcn.140014610
cmp rax, r14
je 0x140004aa2
lea r8, [0x140048fb0]
lea rdx, [0x1400301e4]
lea rcx, [rsp + 0x20]
mov r9, rbx
call fcn.140015a38
mov edx, 0x5c
mov rcx, rbx
call fcn.1400145d8
mov r13, rax
cmp rax, r14
je 0x140004a52
lea rcx, [0x140048fb0]
call fcn.140014610
sub r13, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + r13 + 0x21]
mov byte [rcx + rax], r14b
lea rcx, str.creating_directory__S
call fcn.1400104ac
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r14d
jne 0x140004a52
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140004a52
lea rdx, [rsp + 0x20]
lea rcx, str.failed_to_create_directory__S
call fcn.140010418
lea r8, [0x140048fb0]
lea rdx, [0x1400301e4]
lea rcx, [rsp + 0x20]
mov r9, rbx
call fcn.140015a38
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140002c8c
mov ebx, eax
cmp eax, r14d
jne 0x140004b0d
lea rdx, [0x1400301ec]
xor ecx, ecx
inc r12d
call fcn.14001587c
cmp r12d, edi
mov rbx, rax
jl 0x1400049af
mov rcx, rbp
call fcn.1400149a0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rsi
mov dword [0x14003d2a0], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.extracting_files_done
call fcn.1400104ac
xor eax, eax
mov rcx, qword [rsp + 0x1790]
xor rcx, rsp
call fcn.140014d30
lea r11, [rsp + 0x17a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
lea rdx, [rsp + 0x20]
lea rcx, str.Failed_to_extract__S
call fcn.140010418
mov rcx, rbp
call fcn.1400149a0
mov eax, ebx
jmp 0x140004adb

Function at 0x140004db0
Capabilities:
Delete directory
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x14004a740], 0
mov ebx, ecx
jne 0x140004ded
lea rcx, [0x140048fb0]
call fcn.140014610
test rax, rax
je 0x140004ded
lea rcx, [0x140048fb0]
mov dl, 1
call fcn.140004f64
lea rcx, [0x140048fb0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140004f64
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x3050
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x3040], rax
mov sil, dl
lea rdx, [0x1400303c0]
mov r8d, 1
mov rbx, rcx
call fcn.140015980
test eax, eax
je 0x140005149
mov rcx, rbx
call fcn.140014610
test rax, rax
je 0x140005149
lea rcx, [0x1400303a8]
mov rdx, rbx
call fcn.1400104ac
mov rcx, rbx
call fcn.140014610
test rax, rax
je 0x140005149
lea rcx, [rsp + 0x18d0]
mov rdx, rbx
call fcn.140014be0
lea rcx, [rsp + 0x18d0]
call fcn.140014610
cmp byte [rsp + rax + 0x18d0], 0x5c
je 0x14000501a
lea rdx, [0x1400303a4]
lea rcx, [rsp + 0x18d0]
call fcn.140014b40
lea rdx, [0x1400303a0]
lea rcx, [rsp + 0x18d0]
call fcn.140014b40
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x18d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140005149
lea rdx, [0x1400303c0]
lea rcx, [rsp + 0x4c]
call fcn.1400165b0
test eax, eax
je 0x14000512a
lea rdx, [0x14003039c]
lea rcx, [rsp + 0x4c]
call fcn.1400165b0
test eax, eax
je 0x14000512a
lea rcx, [rsp + 0x160]
mov rdx, rbx
call fcn.140014be0
lea rcx, [rsp + 0x160]
call fcn.140014610
cmp byte [rsp + rax + 0x160], 0x5c
je 0x1400050bb
lea rdx, [0x1400303a4]
lea rcx, [rsp + 0x160]
call fcn.140014b40
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x160]
call fcn.140014b40
test byte [rsp + 0x20], 0x10
lea rdx, [rsp + 0x160]
jbe 0x140005110
lea rcx, str.attempting_to_remove__S___d_
movzx r8d, sil
call fcn.1400104ac
test sil, sil
je 0x140005100
lea rcx, [rsp + 0x160]
xor edx, edx
call fcn.140004f64
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x14000512a
lea rcx, str.attempting_to_delete__S
call fcn.1400104ac
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000504e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x3040]
xor rcx, rsp
call fcn.140014d30
lea r11, [rsp + 0x3050]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000522c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005257
cmp dword [rsp + 0x48], 8
jae 0x140005277
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error__d_n
mov edx, eax
call fcn.1400104ac
lea rcx, str.Internal_Error:_readLong
call fcn.140004f28
mov rax, qword [rsp + 0x50]
add rsp, 0x38
ret
Function at 0x140005284
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 0x1400052af
cmp dword [rsp + 0x48], 4
jae 0x1400052d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rsp + 0x48]
lea rcx, str.error__d__d_n
mov edx, eax
call fcn.1400104ac
lea rcx, str.Internal_Error:_readInt
call fcn.140004f28
mov eax, dword [rsp + 0x50]
add rsp, 0x38
ret

Function at 0x1400052e0
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 0x14000530b
cmp dword [rsp + 0x50], 2
jae 0x14000532b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error__d_n
mov edx, eax
call fcn.1400104ac
lea rcx, str.Internal_Error:_readShort
call fcn.140004f28
mov ax, word [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x140005338
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.140005284
movsxd rdi, eax
lea edx, [rdi + 1]
movsxd rcx, edx
call fcn.1400144dc
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 0x140005388
cmp dword [rsp + 0x48], edi
jae 0x140005394
lea rcx, str.Internal_Error:_readString
call fcn.140004f28
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400053a8
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.140005284
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.1400144dc
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 0x14000541e
cmp dword [rsp + 0x48], ebp
jae 0x14000542a
lea rcx, str.Internal_Error:_readWString
call fcn.140004f28
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 0x1400066e4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x17a0
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x1790], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
call fcn.140006614
lea rdx, [rsp + 0x20]
lea rcx, str.tempPath_is__S
call fcn.1400104ac
lea rdx, [0x140030930]
lea rcx, [rsp + 0x20]
mov r9, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1400067bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetTempFileName_failed__last_error__d_
mov edx, eax
call fcn.1400104ac
lea rcx, [rsp + 0x20]
call fcn.140014610
test eax, eax
jle 0x140006786
cdqe
cmp byte [rsp + rax + 0x1f], 0x5c
je 0x140006786
cmp byte [rsp + rax + 0x1f], 0x2f
je 0x140006786
lea rdx, [0x1400303a4]
lea rcx, [rsp + 0x20]
call fcn.140014b40
xor ecx, ecx
call fcn.140016514
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul eax, ebx
mov ecx, eax
call fcn.140016b10
call fcn.140016b28
lea r8, [rsp + 0x20]
lea rdx, str._se4j_d
mov r9d, eax
mov rcx, rdi
call fcn.140015a38
lea rcx, str.tempFile_is__S
mov rdx, rdi
call fcn.1400104ac
mov rcx, qword [rsp + 0x1790]
xor rcx, rsp
call fcn.140014d30
mov rbx, qword [rsp + 0x17b8]
add rsp, 0x17a0
pop rdi
ret
Function at 0x14000716c
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1960
call fcn.14002d9b0
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1998], rbx
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x1950], rax
mov rbp, r8
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x1e0]
call fcn.140014be0
lea rdx, [0x140030a18]
lea rcx, [rsp + 0x1e0]
call fcn.140014b40
cmp byte [rbx], 0x2e
je 0x1400071e3
lea rdx, [0x1400303c0]
lea rcx, [rsp + 0x1e0]
call fcn.140014b40
mov rdx, rbx
lea rcx, [rsp + 0x1e0]
call fcn.140014b40
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007219
xor eax, eax
jmp 0x1400073c6
mov ecx, 8
call fcn.140014f28
test rax, rax
je 0x140007232
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x140007234
xor eax, eax
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140006b14
mov qword [rsp + 0x48], rax
and qword [rsp + 0x50], 0
mov ecx, 0x1770
call fcn.140016c48
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xcc]
mov rcx, rax
call fcn.140014be0
mov rdi, qword [rsp + 0x48]
lea r9, [rsp + 0x60]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140006b4c
mov rbx, rax
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140007008
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 0x14000724e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x50]
movsxd rcx, esi
imul rcx, rcx, 0x1770
call fcn.140016c48
mov qword [rbp], rax
cmp qword [rsp + 0x50], 0
jbe 0x140007373
xor ebx, ebx
mov rax, qword [rsp + 0x48]
mov rdi, qword [rax]
mov r11, qword [rsp + 0x20]
test r11, r11
jne 0x14000730a
call fcn.140014f08
xor r11d, r11d
jmp 0x14000730d
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x28]
jne 0x140007318
call fcn.140014f08
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.140006f50
add rbx, 8
cmp qword [rsp + 0x50], 0
ja 0x1400072ee
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 0x1400073af
mov rbx, qword [rdx]
mov rcx, rdx
call fcn.1400149a0
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rcx
jne 0x140007397
call fcn.1400149a0
and qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x20]
call fcn.1400149a0
mov eax, esi
mov rcx, qword [rsp + 0x1950]
xor rcx, rsp
call fcn.140014d30
mov rbx, qword [rsp + 0x1998]
add rsp, 0x1960
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b77c
Capabilities:
Set registry value

Disassembly:
push rbx
mov eax, 0x17e0
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
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.14000b710
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 0x14000b85c
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.140014610
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.140014d30
add rsp, 0x17e0
pop rbx
ret
Function at 0x14000b878
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
mov eax, 0x17e0
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
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.14000b710
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 0x14000b9eb
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 0x14000b9e0
cmp dword [rsp + 0x30], 8
jne 0x14000b9e0
lea r8d, [rax + 8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140017e50
test eax, eax
jne 0x14000b9e0
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 0x14000b9e0
cmp dword [rsp + 0x30], 1
jae 0x14000b995
mov byte [rbx], 0
jmp 0x14000b9a4
mov eax, dword [rsp + 0x30]
cmp byte [rax + rbx - 1], 0
je 0x14000b9a4
mov byte [rax + rbx], 0
lea rdx, str.1.7.
mov rcx, rbx
call fcn.1400165b0
test eax, eax
je 0x14000b9dd
lea rdx, str.1.6.
mov rcx, rbx
call fcn.1400165b0
test eax, eax
je 0x14000b9dd
lea rdx, str.1.5.
mov rcx, rbx
call fcn.1400165b0
test eax, eax
jne 0x14000b9e0
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.140014d30
mov rbx, qword [rsp + 0x1808]
add rsp, 0x17e0
pop rdi
ret
Function at 0x14000bd94
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 0x14000bdfc
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