joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400183a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140018473
cmp byte [rcx + 0x71], 0
je 0x140018473
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001846f
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_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140018434
sub eax, 1
je 0x140018438
cmp eax, 2
jne 0x14001846f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400286a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140018466
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 0x14001846f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001841c
xor al, al
jmp 0x14001841c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400286a0
add rsp, 0x60
pop rbx
ret
Function at 0x14001d4f0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x38], 1
call fcn.14001d630
nop
mov dword [rsp + 0x38], 1
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
je 0x14001d578
lea rdx, str.crashlogs
mov rcx, rbx
call fcn.14000a1a0
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.14000adf0
lea rdi, [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001d55b
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d578
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d590
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x38], 1
call fcn.14001d630
nop
mov dword [rsp + 0x38], 1
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
je 0x14001d618
lea rdx, str.dumps
mov rcx, rbx
call fcn.14000a1a0
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.14000adf0
lea rdi, [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001d5fb
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d618
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d630
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001d879
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x140030024]
lea rbp, [rsi - 1]
cmp rdx, 0x10000
jae 0x14001d6a1
movzx edx, dx
mov rcx, r14
call fcn.14000acd0
jmp 0x14001d6ba
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001d6a4
mov r8d, eax
mov rcx, r14
call fcn.14000aee0
nop
mov dword [rsp + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
movups xmm0, xmmword [0x140030010]
movups xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [rsp + 0x40]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14001d851
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea rcx, [rax + 1]
add rcx, rbx
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.140028c8c
mov rdi, rax
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea rcx, [rax + 1]
add rcx, rbx
mov eax, 0x209
cmp rcx, rax
jae 0x14001d7b0
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
inc rax
add rax, rbx
je 0x14001d7ba
nop dword [rax]
sub rax, 1
mov word [rdi + rax*2], si
jne 0x14001d7b0
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.AdobeCRLogs
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test rdi, rdi
je 0x14001d7ec
mov rax, rbp
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001d7e0
mov esi, eax
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call fcn.14000aee0
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.14000adf0
lea rbx, [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001d825
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14001d83d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov rcx, rdi
call fcn.1400286c0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rax, r14
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400286a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140001300
int3
Function at 0x14001def0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebp, 1
mov dword [rsp + 0x60], ebp
lea rcx, [rsp + 0x68]
call fcn.14001d630
nop
mov dword [rsp + 0x60], ebp
mov rax, qword [rsp + 0x68]
cmp dword [rax - 0x10], 0
je 0x14001df38
lea rdx, str.windowsclient
lea rcx, [rsp + 0x68]
call fcn.14000a1a0
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov rcx, qword [rsp + 0x68]
lea rsi, [r14 - 1]
cmp dword [rcx - 0x10], r14d
je 0x14001e08f
mov rcx, qword [rcx - 0x18]
test rcx, rcx
je 0x14001df6a
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001df7b
call fcn.140001540
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001e0c6
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x60], 2
lea rax, str.generatecrlogornot.txt
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001dfa5
mov r13, qword [rsp + 0x68]
movsxd r12, dword [r13 - 0x10]
lea r15d, [rdi + r12]
test r15d, r15d
js 0x14001e0d1
sub ebp, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, ebp
jge 0x14001dfe4
mov edx, r15d
lea rcx, [rsp + 0x70]
call fcn.14000b050
mov rbx, qword [rsp + 0x70]
add r12, r12
je 0x14001e01c
test rbx, rbx
je 0x14001e00a
mov r8, r12
mov rcx, rbx
test r13, r13
je 0x14001e003
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14001e01c
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
movsxd r8, edi
add r8, r8
lea rcx, [r12 + rbx]
je 0x14001e04d
test rcx, rcx
jne 0x14001e041
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14001e04d
lea rdx, str.generatecrlogornot.txt
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbx - 0x18]
cmp r15d, dword [rdi + 0xc]
jg 0x14001e0d1
mov dword [rdi + 8], r15d
movsxd rax, r15d
mov word [rbx + rax*2], r14w
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14001e087
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rVariantCopy + 8]
test ebx, ebx
je 0x14001e08f
mov bl, 1
jmp 0x14001e091
xor bl, bl
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14001e0ae
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
movzx eax, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80070057
call fcn.140001300
int3
Function at 0x14001e0e0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov r8, qword [rcx]
lea rdx, str.open
mov rbx, rcx
mov dword [rsp + 0x28], 1
xor ecx, ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e134
mov rcx, qword [rdx]
mov rax, qword [rcx]
add rsp, 0x30
pop rbx
jmp qword [rax + VariantCopy]
add rsp, 0x30
pop rbx
ret
Function at 0x14001e7f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov ebp, ebx
mov dword [rsp + 0x3c], ebx
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001e9c7
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14002f270]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r8, [rsp + 0x50]
lea rdx, [0x140030894]
lea rcx, [rsp + 0x30]
call fcn.14000b540
mov rcx, qword [rsp + 0x30]
cmp dword [rcx - 0x10], ebx
jl 0x14001e925
lea rdx, [0x14002f288]
call sub.VCRUNTIME140.dll_wcsstr
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x14001e8bb
sub rax, rcx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14001e8df
cmp dword [rcx - 0x10], 0
jl 0x14001e925
lea rdx, str.Windows_10
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x14001e925
sub rax, qword [rsp + 0x30]
sar rax, 1
cmp eax, 0xffffffff
je 0x14001e925
lea rcx, [rsp + 0x40]
call fcn.14001e730
nop
mov ebp, 1
mov dword [rsp + 0x3c], ebp
mov rdx, qword [rax]
mov rcx, rbx
lea r8, str.22000
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14001e917
cmp rcx, 6
jne 0x14001e900
jmp 0x14001e91b
sbb ebx, ebx
or ebx, ebp
test ebx, ebx
js 0x14001e925
movzx edi, bpl
jmp 0x14001e928
xor dil, dil
mov ebx, 0xffffffff
test bpl, 1
je 0x14001e951
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e951
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test dil, dil
je 0x14001e96e
lea r8, [0x14002f2c4]
lea rdx, [0x1400319b4]
lea rcx, [rsp + 0x30]
call fcn.14001f100
lea rcx, [rsp + 0x30]
call fcn.14001f410
mov rdx, rax
mov rcx, rsi
call fcn.14000a0f0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001e9a1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400286a0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001300
int3
Function at 0x14001ead0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001ebbe
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r8, [rsp + 0x40]
lea rdx, [0x140030894]
lea rcx, [rsp + 0x30]
call fcn.14000b540
lea rcx, [rsp + 0x30]
call fcn.14001f410
mov rdx, rax
mov rcx, rbx
call fcn.14000a0f0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001eb9a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400286a0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001300
int3

Function at 0x14001ec90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x2f0
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001edba
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Identifier
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r8, [rsp + 0xd0]
lea rdx, [0x140030894]
lea rcx, [rsp + 0x30]
call fcn.14000b540
lea rcx, [rsp + 0x30]
call fcn.14001f410
mov rdx, qword [rax]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 3
lea rcx, [rsp + 0x40]
call fcn.14000d540
nop
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140009ff0
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x14001ed74
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001ed96
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov rax, rbx
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400286a0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2f0
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001300
int3
Function at 0x14001edd0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0x10
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001ef16
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x14002f350]
lea rcx, [rsp + 0x30]
cmp rdx, 0x10000
jae 0x14001ee3d
movzx edx, dx
call fcn.14000acd0
jmp 0x14001ee43
call fcn.14000a8c0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001eec8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MHz
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001eeb4
mov r8d, dword [rsp + 0x48]
lea rdx, str._u_MHz
lea rcx, [rsp + 0x30]
call fcn.14000b540
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.14001f410
mov rdx, rax
mov rcx, rbx
call fcn.14000a0f0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001ef00
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400286a0
add rsp, 0x60
pop rbx
ret
mov ecx, 0x80004005
call fcn.140001300
int3

Function at 0x14001eff0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001f010
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14001f0e6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, str.unknown
cmp rdx, 0x10000
jae 0x14001f073
movzx edx, dx
mov rcx, rbx
call fcn.14000acd0
jmp 0x14001f096
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001f080
mov r8d, eax
mov rcx, rbx
call fcn.14000aee0
nop
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14001f0cd
mov r8, qword [rsp + 0x38]
shr r8, 0x14
lea rdx, [0x14002f388]
mov rcx, rbx
call fcn.14000b540
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400286a0
add rsp, 0x80
pop rbx
ret
mov ecx, 0x80004005
call fcn.140001300
int3
Function at 0x1400260e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 0
mov ebx, 0xff
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x14002632d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.CRLogProductPreferences
mov rdi, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x140026173
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.14000acd0
jmp 0x14002618e
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140026176
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14000aee0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140026690
test al, al
je 0x1400262e5
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r14]
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140026213
mov eax, dword [rsp + 0x30]
cdq
xor eax, edx
sub eax, edx
mov dword [rsp + 0x30], eax
cmp eax, ebx
cmovl ebx, eax
movsxd rax, ebx
cmp rax, 0x100
jae 0x140026338
mov byte [rsp + rax + 0x60], 0
lea r8, [rsp + 0x60]
lea rdx, [0x140030894]
mov rcx, r15
call fcn.14000b540
jmp 0x1400262db
cmp eax, 2
jne 0x1400262db
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x140026322
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, str.0_1_100
cmp rdx, 0x10000
jae 0x14002625b
movzx edx, dx
lea rcx, [rsp + 0x38]
call fcn.14000acd0
jmp 0x140026278
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140026260
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.14000aee0
nop
mov rbx, qword [rsp + 0x38]
mov edx, dword [rbx - 0x10]
lea r15d, [rdx*2 + 1]
cmp dword [rbx - 8], 1
jle 0x14002629d
lea rcx, [rsp + 0x38]
call fcn.14000b120
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400262d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400262ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400286a0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001300
int3
mov ecx, 0x80004005
call fcn.140001300
int3
call fcn.140029198
int3
Function at 0x140027030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14003c150]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0xc0]
lea rbp, [0x1400272e0]
xor eax, eax
mov ebx, r9d
test edx, edx
mov qword [rsp + 0x28], rax
mov r14, rcx
cmovne rbp, rax
cmp edx, 1
jne 0x14002707f
lea rbp, [0x1400271c0]
jmp 0x140027088
test rbp, rbp
je 0x14002718f
test r14, r14
je 0x14002718f
test r8, r8
je 0x14002718f
test rdi, rdi
je 0x14002718f
movzx eax, byte [r8]
mov byte [rsp + 0x20], al
movzx eax, byte [r8 + 1]
mov byte [rsp + 0x21], al
movzx eax, byte [r8 + 2]
mov byte [rsp + 0x22], al
movzx eax, byte [r8 + 3]
mov byte [rsp + 0x23], al
movzx eax, byte [r8 + 4]
mov byte [rsp + 0x24], al
movzx eax, byte [r8 + 5]
mov byte [rsp + 0x25], al
movzx eax, byte [r8 + 6]
mov byte [rsp + 0x26], al
movzx eax, byte [r8 + 7]
mov byte [rsp + 0x27], al
test bl, 0x3f
je 0x140027120
mov ecx, ebx
lea r8, [rsp + 0x30]
shr ecx, 6
lea rdx, [rsp + 0x20]
mov eax, ecx
mov byte [rsp + 0x28], cl
shr eax, 8
mov byte [rsp + 0x29], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsp + 0x2b], cl
mov rcx, r14
shr eax, 0x10
mov byte [rsp + 0x2a], al
call rbp
mov eax, dword [rsp + 0xc8]
test eax, eax
je 0x14002718b
mov qword [rsp + 0xa8], rsi
mov esi, eax
test bl, 0x3f
jne 0x14002716b
mov ecx, ebx
lea r8, [rsp + 0x30]
shr ecx, 6
lea rdx, [rsp + 0x20]
mov eax, ecx
mov byte [rsp + 0x28], cl
shr eax, 8
mov byte [rsp + 0x29], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsp + 0x2b], cl
mov rcx, r14
shr eax, 0x10
mov byte [rsp + 0x2a], al
call rbp
mov rax, rbx
inc ebx
and eax, 0x3f
movzx eax, byte [rsp + rax + 0x30]
xor byte [rdi], al
inc rdi
sub rsi, 1
jne 0x140027135
mov rsi, qword [rsp + 0xa8]
xor eax, eax
jmp 0x140027194
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400286a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rbp
ret

Function at 0x140028168
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400281ec
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002fe20]
cmp byte [rcx + rax], 0
je 0x1400281ec
dec r8
sub rdx, 1
jne 0x1400281d2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140029674
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400296be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400296be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400296be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400296be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400296be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400296c0
xor al, al
add rsp, 0x28
ret