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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.140016660
mov ebx, eax
test eax, eax
jne 0x140016cb7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140016c91
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140016ba0
mov ebx, eax
test eax, eax
jne 0x140016cb7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140016c40
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140016ca6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.140015bc0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140016cc7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400325f0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400171e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140017277
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140017277
call fcn.140015810
mov ebx, eax
jmp 0x14001739c
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140017298
call fcn.140015810
jmp 0x14001738b
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400172bb
call fcn.140015810
jmp 0x14001738b
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400172dd
mov ebx, 0x8007000e
jmp 0x14001738d
mov ecx, eax
test eax, eax
je 0x140017312
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400173d4
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140017312
lea rcx, [rsp + 0x60]
call fcn.140015660
jmp 0x14001731c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14001732f
cmp qword [rsp + 0x60], 0
jne 0x14001733e
mov ebx, 0x8007000e
jmp 0x14001738d
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140017368
call fcn.140015810
jmp 0x14001738b
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140016cf0
mov ebx, eax
test rdi, rdi
je 0x14001739c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400173b3
lea rcx, [rsp + 0x60]
call fcn.140015d00
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400325f0
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140015840
int3
Function at 0x140021be0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea r8, [0x140041808]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140021ca4
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
xor edx, edx
call fcn.14000a1b0
test eax, eax
je 0x140021ca4
mov ebx, 1
jmp 0x140021ca6
xor ebx, ebx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400325f0
add rsp, 0x290
pop rbx
ret
Function at 0x140022550
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor ebx, ebx
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsOUTLOOK.EXE
mov r9d, 0x2001f
mov qword [rsp + 0x38], rbx
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
call fcn.140016660
test eax, eax
jne 0x140022632
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 0x410
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140045190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140022632
mov eax, dword [rsp + 0x4c]
dec eax
cmp eax, 1
ja 0x140022632
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140022611
test al, 1
jne 0x140022632
shr rax, 1
cmp word [rsp + rax*2 + 0x5e], bx
je 0x140022616
jmp 0x140022632
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x140022632
cmp dword [rsp + 0x50], 6
sete bl
cmp qword [rsp + 0x30], 0
je 0x140022645
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400325f0
add rsp, 0x480
pop rbx
ret
Function at 0x140023160
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea r8, [0x140041808]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140023237
mov rcx, rdi
call fcn.140021be0
test eax, eax
je 0x140023237
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov ebx, 1
mov r8d, ebx
mov rcx, rdi
call fcn.140022840
jmp 0x140023239
xor ebx, ebx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400325f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
Function at 0x1400232f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rdx, [rbp + 0x27]
call fcn.140021010
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
je 0x14002332f
xor ebx, ebx
jmp 0x14002341d
lea rdx, [0x140045190]
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
lea rdx, [0x140041a28]
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::Format_wchar_t_const____ptr64____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 0x79], 0x70
mov dword [rbp - 0x75], 0x240
xor ebx, ebx
mov qword [rbp - 0x71], rbx
lea rax, str.open
mov qword [rbp - 0x69], rax
lea rax, str.msiexec.exe
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x51], rbx
mov dword [rbp - 0x49], 5
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x79]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp - 0x11]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140023412
mov dword [rbp - 9], ebx
mov edx, 0x927c0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 9]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x11]
cmp rcx, 0xffffffffffffffff
je 0x14002340d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x11], rbx
mov ebx, 1
lea rcx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400325f0
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rbp
ret
Function at 0x1400255a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call fcn.14001f0a0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001f0e0
cmp qword [rsp + 0x20], 0
jne 0x1400255df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0x20]
call fcn.140025590
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov rcx, rdx
call qword [case.0x140025138.0]
call fcn.14001f0a0
mov rcx, rax
call fcn.14001df20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14002a270
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
push r15
sub rsp, 0x68
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdi, [rcx + 0x178]
mov r15, rdx
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14002a3e8
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rcx, rax
mov dword [rsp + 0x28], 0x10000000
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14002a3e3
mov qword [rsp + 0x90], rbx
xor edx, edx
mov qword [rsp + 0x60], rbp
mov rcx, rax
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
test eax, eax
je 0x14002a3c8
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14002a3c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rax
test rax, rax
jne 0x14002a354
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002a3d1
xor eax, eax
lea r9, [rsp + 0x40]
mov rdi, rdx
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov r8d, ebp
rep stosb byte [rdi], al
mov rcx, rsi
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
test eax, eax
jne 0x14002a399
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002a3d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r8, r15
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x14002a3d1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002a3d1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400325f0
add rsp, 0x68
pop r15
pop rdi
ret
Function at 0x140031870
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], rsi
mov rbp, rcx
mov rsi, qword [0x140060c00]
xor r14d, r14d
mov rcx, qword [0x140060c08]
mov ebx, 1
cmp rsi, rcx
jae 0x140031944
test ebx, ebx
js 0x140031944
mov rdi, qword [rsi]
test rdi, rdi
je 0x140031937
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], r14
test rax, rax
jne 0x1400318d6
mov ebx, r14d
jmp 0x140031937
mov rcx, qword [rdi + 0x18]
lea r8, [rsp + 0x30]
lea rdx, [0x140039688]
call qword [case.0x140025138.0]
mov ebx, eax
test eax, eax
js 0x140031919
mov rax, qword [rdi + 0x20]
mov r9d, 5
mov rdx, qword [rsp + 0x30]
add rax, 8
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 1]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140031930
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140025138.0]
mov rcx, qword [0x140060c08]
add rsi, 8
cmp rsi, rcx
jb 0x1400318b3
mov rsi, qword [rsp + 0x68]
test ebx, ebx
js 0x140031a0b
jne 0x140031a07
cmp byte [rbp + 0x60], r14b
je 0x1400319f1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x1400319b3
lea rax, [rsp + 0x30]
mov r9, rbp
mov qword [rsp + 0x28], rax
lea r8, [0x1400311e0]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400319c2
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], r14
mov rcx, rbp
mov ebx, 0x80004005
call fcn.140031a30
jmp 0x140031a0b
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x1400319e6
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [rbp + 0x58]
mov rcx, rdi
add edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400319f9
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test ebx, ebx
jns 0x140031a0b
mov rcx, rbp
call fcn.140031a30
jmp 0x140031a0b
mov byte [rbp + 0x60], r14b
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400325f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140001000
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x578
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000107d
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_open_registry_key.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400011a0
add rsp, 0x578
ret
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x160]
mov qword [rsp + 0x580], rbx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x570], rdi
xor edi, edi
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ebx, edi
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x48], 0x400
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14000114f
mov r9d, 0x40
lea r8, str.Registry_Name
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x160]
mov dword [rsp + 0x4c], 0x100
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x400
mov qword [rsp + 0x28], rax
inc ebx
mov edx, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x1400010e2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x570]
xor eax, eax
mov rbx, qword [rsp + 0x580]
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400011a0
add rsp, 0x578
ret

Function at 0x140001a68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ab2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ab2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ab2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ab2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ab2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ab4
xor al, al
add rsp, 0x28
ret
Function at 0x140003f50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003fad
lea rbx, [0x1400bfce0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003f94
cmp r10, 2
jb 0x140003f94
cmp byte [r9], r8b
jne 0x140003f94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003f70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003fef
lea rbx, [0x1400bfce0]
cmp r8b, 0x23
jne 0x140003fd3
cmp byte [r9], r8b
jne 0x140003fd3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003fc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004140
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000415a
mov qword [r8], 0
lea rdx, [0x1400c4468]
call fcn.140004000
mov rbx, rax
test rax, rax
jne 0x14000417a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400920c0
mov esi, eax
cmp eax, 0xffffffff
je 0x14000424a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.140092bfc
test eax, eax
jne 0x14000424a
mov rcx, rbx
call fcn.1400920c0
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000424a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140092bfc
test eax, eax
jne 0x14000424a
cmp rdi, 0xffffffffffffffff
je 0x14000424a
mov rax, qword [0x1400d9e10]
test rax, rax
je 0x1400041ec
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.140091a90
mov rsi, rax
test rax, rax
je 0x14000424a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140093a8c
mov rcx, rbx
cmp rax, rdi
je 0x140004238
call fcn.14009285c
mov rax, qword [0x1400d9e10]
test rax, rax
je 0x14000422e
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.14008f280
jmp 0x140004252
call fcn.14009285c
test r14, r14
je 0x140004245
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004254
mov rcx, rbx
call fcn.14009285c
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006f50
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x110]
lea r8, [0x1400bfce0]
movsxd rcx, dword [rcx + 0x108]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400d9e10]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x140006fe5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140026300
mov eax, ebx
add rsp, 0x20
pop rbx
ret