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

Disassembly:
push rbx
sub rsp, 0x860
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, qword [0x1400862e0]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesProcessGovernor
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002fe4d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x870], rdi
xor edi, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], edi
lea rdx, str.SYSTEMCurrentControlSetServicesProcessGovernor
mov rcx, 0xffffffff80000002
lea r9d, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002fd65
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DeleteFlag
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14002fd93
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rdi, qword [rsp + 0x870]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x860
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], edi
je 0x14002fd65
cmp byte [0x140085acd], dil
jne 0x14002fe3b
mov r9d, 0x3ff
mov byte [0x140085acd], 1
lea r8, [rsp + 0x50]
mov word [rsp + 0x50], di
mov edx, 0x301
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14002fe21
cmp byte [0x14007fca8], dil
je 0x14002fdf2
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x14007fca8], dil
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x3ff
lea r8, [rsp + 0x50]
mov rcx, rax
mov edx, 0x301
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14002fe21
mov word [rsp + 0x50], di
mov r9d, 0x30
lea r8, [0x14006d5e8]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14002fd72
xor al, al
jmp 0x14002fd7a
Function at 0x1400302c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14d, edx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov ecx, 0x188
call fcn.14003ef04
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0x188
mov rcx, rax
call fcn.14005fd20
mov rcx, rbx
call fcn.140030150
mov rbp, rax
lea r9, [rsp + 0x30]
mov rdx, rdi
mov rcx, rax
call fcn.14003b2e0
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14003041b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbx + 0x544], eax
je 0x1400303eb
mov dword [rbx + 0x148], 1
mov rcx, rbx
call fcn.14003c7d0
mov edi, dword [rbx + 0x544]
test al, al
je 0x14003036f
mov edx, edi
call fcn.140011ea0
jmp 0x1400303eb
mov r8d, edi
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400303eb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400303e2
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x40], r15
lea rdx, [rsp + 0x38]
lea rcx, [0x1400121c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400303db
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400303e2
mov edx, edi
call fcn.140011ea0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14003bf70
mov edx, 0x700
mov rcx, rbx
call fcn.14003eed0
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14003b730
mov rbx, qword [rsp + 0x30]
test rbx, rbx
jne 0x140030338
test rbp, rbp
je 0x140030428
mov rcx, rbp
call fcn.1400301d0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140039140
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp byte [rcx + 0x10], 0
mov rbx, rcx
je 0x140039367
lea r8, [rbp + 0x2f]
lea rdx, str.Bitsum_Highest_Performance
call fcn.140038260
cmp al, 1
je 0x1400391dd
cmp byte [rbx + 0x10], 0
je 0x1400391c2
call fcn.140038ec0
cmp al, 1
je 0x1400391c2
mov rcx, rbx
call fcn.140039390
cmp al, 1
je 0x1400391c2
lea r9, str.BHPUninstalled
mov rdx, 0xffffffff80000002
lea r8, str.SoftwareProcessLasso
call fcn.140012240
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.1400384d0
lea r8, [rbp + 0x2f]
mov rcx, rbx
lea rdx, str.Bitsum_Highest_Performance
call fcn.140038260
cmp al, 1
jne 0x140039363
cmp byte [rbx + 0x10], 0
je 0x1400392a8
lea rdx, [rbp - 9]
mov qword [rbp - 9], 0
xor ecx, ecx
call qword [0x140086348]
test eax, eax
jne 0x1400392a8
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400392a8
movups xmm0, xmmword [rcx]
movq rax, xmm0
cmp rax, qword [0x140064c80]
movups xmmword [rbp - 1], xmm0
jne 0x140039277
psrldq xmm0, 8
movq rax, xmm0
cmp rax, qword [0x140064c88]
jne 0x140039277
mov rcx, rbx
call fcn.140039390
test al, al
je 0x140039273
lea rcx, [rbp - 1]
call qword [0x1400862e8]
mov rax, qword [rbp - 1]
cmp rax, qword [0x14006ccd0]
jne 0x140039273
mov rax, qword [rbp + 7]
cmp rax, qword [0x14006ccd8]
jne 0x140039273
movups xmm0, xmmword [0x140064c80]
movups xmmword [rbp - 1], xmm0
mov rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0x2f]
cmp rax, qword [rbp - 1]
jne 0x1400392a8
mov rax, qword [rbp + 0x37]
cmp rax, qword [rbp + 7]
jne 0x1400392a8
movups xmm0, xmmword [0x140064c80]
lea rdx, [rbp + 0x1f]
mov rcx, rbx
movups xmmword [rbp + 0x1f], xmm0
call fcn.140038070
lea rdx, [rbp + 0x2f]
xor ecx, ecx
call qword [0x140086338]
test eax, eax
jne 0x140039367
lea rax, [rbp + 0x1f]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareProcessLasso
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140039363
mov rcx, qword [rbp + 0x1f]
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 9]
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.CustomHighPerfGUID
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x1f]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140039363
lea rax, [rbp + 0xf]
xor r8d, r8d
lea r9d, [rbx + 2]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareProcessLasso
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140039363
mov rcx, qword [rbp + 0xf]
lea rdx, str.CustomHighPerfGUID
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140039369
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x140039390
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp qword [0x1400862e8], 0
mov rbx, rcx
je 0x1400394c6
cmp qword [0x1400862f8], 0
je 0x1400394c6
cmp byte [0x14008a869], 0
jne 0x1400394bd
movups xmm0, xmmword [0x14006ccd0]
xor edx, edx
mov qword [rsp + 0x278], rdi
mov r8d, 0x1fe
mov byte [0x14008a869], 1
lea rcx, [rsp + 0x52]
movups xmmword [rsp + 0x40], xmm0
call fcn.14005fd20
mov rdx, qword [rbx + 8]
xor eax, eax
mov rdi, qword [rbx]
mov r9d, 1
mov word [rsp + 0x50], ax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400394b5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov dword [rsp + 0x3c], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140039490
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [0x14008a868]
mov rdi, qword [rsp + 0x278]
jmp 0x1400394c8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rsp + 0x50], 0
je 0x1400394b5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ole32.dll_IIDFromString]
mov byte [0x14008a868], 1
mov rdi, qword [rsp + 0x278]
movzx eax, byte [0x14008a868]
jmp 0x1400394c8
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0x260
pop rbx
ret
Function at 0x14003a430
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x830
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rsi, qword [0x1400862e0]
xor ebp, ebp
mov r14d, 0x3ff
test rsi, rsi
je 0x14003a486
mov eax, dword [0x14007fcbc]
cmp dword [0x14007fcb0], eax
jne 0x14003a496
cmp byte [0x140085acf], bpl
jne 0x14003a689
jmp 0x14003a513
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1400862e0], rbp
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov rbx, qword [0x140086d28]
mov r8d, 0x409
movzx r9d, ax
mov ecx, dword [rbx + 0x1024]
test ecx, ecx
je 0x14003a4df
mov edx, r8d
and r9w, r14w
nop
and cx, r14w
cmp cx, r9w
je 0x14003a6ad
mov eax, dword [rbx + rdx*4 + 4]
inc rdx
inc r8d
movzx ecx, ax
test eax, eax
jne 0x14003a4c0
call fcn.140015b90
mov ebx, eax
test eax, eax
je 0x14003a4f5
mov dword [0x140086d30], eax
call fcn.140015e30
mov dword [0x14007fcb0], ebx
call fcn.140005260
mov eax, dword [0x14007fcb0]
mov dword [0x14007fcbc], eax
mov byte [0x140085acf], bpl
mov ebx, dword [0x14006d418]
mov qword [rsp + 0x850], rdi
mov rdi, rbp
mov qword [rsp + 0x858], r15
lea r15, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov r9d, r14d
mov word [rsp + 0x20], bp
lea r8, [rsp + 0x20]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14003a5a2
cmp byte [0x14007fca8], bpl
je 0x14003a579
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x14007fca8], bpl
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, r14d
lea r8, [rsp + 0x20]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14003a5a2
mov word [rsp + 0x20], bp
mov rcx, qword [r15 + rdi*8 + 0x6d358]
lea r8, [rsp + 0x20]
mov r9, 0xffffffffffffffff
lea edx, [r9 + 0x51]
call fcn.14004badc
mov ebx, dword [r15 + rdi*4 + 0x6d41c]
inc rdi
test ebx, ebx
jne 0x14003a540
mov ebx, dword [0x14006d398]
mov rdi, rbp
nop dword [rax + rax]
mov r9d, r14d
mov word [rsp + 0x20], bp
lea r8, [rsp + 0x20]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14003a642
cmp byte [0x14007fca8], bpl
je 0x14003a619
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [0x14007fca8], bpl
mov rcx, qword [str.pl_rsrc_english.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, r14d
lea r8, [rsp + 0x20]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x14003a642
mov word [rsp + 0x20], bp
mov rcx, qword [r15 + rdi*8 + 0x6d3b0]
lea r8, [rsp + 0x20]
mov r9, 0xffffffffffffffff
lea edx, [r9 + 0x51]
call fcn.14004badc
mov ebx, dword [r15 + rdi*4 + 0x6d39c]
inc rdi
test ebx, ebx
jne 0x14003a5e0
mov r15, qword [rsp + 0x858]
mov rdi, qword [rsp + 0x850]
mov byte [0x140085acf], 1
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0x860]
add rsp, 0x830
pop r14
pop rsi
pop rbp
ret
movsxd rax, r8d
mov ebx, dword [rbx + rax*4]
jmp 0x14003a4f5
Function at 0x14003aa30
Capabilities:
Get system information on windows
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x20], rbx
xor esi, esi
mov dword [rbx], esi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea ecx, [rsi + 0x20]
call fcn.14003ef04
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
call fcn.14003adf0
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [rdi + 0x28], sil
mov qword [rdi + 0xd8], rsi
mov word [rdi + 0xa8], si
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0xe8], eax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x14003ac0d
cmp byte [0x140085ad8], sil
jne 0x14003abbc
lea rdx, str.ZwQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x78], rax
mov qword [0x140086a78], rax
lea rdx, str.ZwOpenProcess
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x80], rax
mov qword [0x140086a70], rax
lea rdx, str.ZwClose
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x90], rax
mov qword [0x140086a58], rax
lea rdx, str.ZwQueryInformationProcess
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x88], rax
mov qword [0x140086a50], rax
lea rdx, str.ZwSetInformationProcess
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa0], rax
mov qword [0x140086a68], rax
lea rdx, str.ZwReadVirtualMemory
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086a60], rax
mov byte [0x140085ad8], 1
jmp 0x14003ac06
mov rax, qword [0x140086a78]
mov qword [rdi + 0x78], rax
mov rax, qword [0x140086a70]
mov qword [rdi + 0x80], rax
mov rax, qword [0x140086a58]
mov qword [rdi + 0x90], rax
mov rax, qword [0x140086a50]
mov qword [rdi + 0x88], rax
mov rax, qword [0x140086a68]
mov qword [rdi + 0xa0], rax
mov rax, qword [0x140086a60]
mov qword [rdi + 0x98], rax
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14003c250
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor dil, dil
lea rcx, [0x140086ab8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [0x140086aa8]
test r8, r8
je 0x14003c2fe
mov rax, qword [0x140086ab0]
test rax, rax
je 0x14003c2fe
mov rcx, qword [0x140086a88]
test rcx, rcx
je 0x14003c2fe
mov rdx, qword [0x140086a90]
test rdx, rdx
je 0x14003c2fe
mov r9, qword [0x140086a98]
test r9, r9
je 0x14003c2fe
mov r10, qword [0x140086a80]
test r10, r10
je 0x14003c2fe
mov r11, qword [0x140086aa0]
test r11, r11
je 0x14003c2fe
mov qword [rbx + 0x158], r8
mov dil, 1
mov qword [rbx + 0x170], rax
mov qword [rbx + 0x168], rcx
mov qword [rbx + 0x160], rdx
mov qword [rbx + 0x178], r9
mov qword [rbx + 0x180], r11
mov qword [rbx + 0x4e0], r10
jmp 0x14003c491
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x158], rax
test rax, rax
jne 0x14003c322
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.EnumProcessModules
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.GetModuleFileNameExW
mov qword [rbx + 0x170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.GetModuleBaseNameW
mov qword [rbx + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.GetProcessMemoryInfo
mov qword [rbx + 0x160], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x158]
lea rdx, str.QueryWorkingSet
mov qword [rbx + 0x178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32
mov qword [rbx + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbx + 0x158]
lea rcx, str.kernel32
mov qword [0x140086aa8], rdx
mov rdx, qword [rbx + 0x170]
mov qword [0x140086ab0], rdx
mov rdx, qword [rbx + 0x168]
mov qword [0x140086a88], rdx
mov rdx, qword [rbx + 0x160]
mov qword [0x140086a90], rdx
mov rdx, qword [rbx + 0x178]
mov qword [0x140086a98], rdx
mov rdx, qword [rbx + 0x180]
mov qword [0x140086aa0], rdx
mov qword [rbx + 0x4e0], rax
mov qword [0x140086a80], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetProcessInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140086aa8], 0
je 0x14003c491
cmp qword [0x140086ab0], 0
je 0x14003c491
cmp qword [0x140086a88], 0
je 0x14003c491
cmp qword [0x140086a90], 0
je 0x14003c491
cmp qword [0x140086a98], 0
je 0x14003c491
cmp qword [0x140086a80], 0
je 0x14003c491
cmp qword [0x140086aa0], 0
mov eax, 1
movzx edi, dil
cmovne edi, eax
lea rcx, [0x140086ab8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
Function at 0x14003dac0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x2050
call fcn.14003f630
sub rsp, rax
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rax, qword [rcx + 8]
lea rdi, [rcx + 8]
mov rbx, rdx
cmp dword [rax - 0x10], 0
je 0x14003db01
mov rdx, rdi
mov rcx, rbx
jmp 0x14003dbd4
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, 0x2000
lea rcx, [rsp + 0x40]
call fcn.14005fd20
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003db90
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x1fff
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ProcessorNameString
mov dword [rsp + 0x3c], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003dba0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140002da0
lea r8, [0x14006f08c]
mov rcx, rbx
lea rdx, [0x140071904]
call fcn.1400024d0
mov rdx, rbx
mov rcx, rdi
call fcn.140004960
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
setne al
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14003f1d0
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2050
pop rdi
ret

Function at 0x14003f8b4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14005a2df
mov rsi, rbx
cmp word [rax], bp
je 0x14005a29e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005a288
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005a284
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140055698
mov rdi, rax
test rax, rax
je 0x14005a2cc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005f680
mov rbp, rdi
xor ecx, ecx
call fcn.14005565c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005f3d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005f3f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005f3f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000f400]
mov dword [rax], 1
mov rax, qword [0x14000f410]
mov dword [rax], 1
mov rax, qword [0x14000f420]
mov dword [rax], 1
mov rax, qword [0x14000f3c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001f44
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
xor ebx, ebx
mov rsi, rcx
mov rdi, rdx
lea r12, [rsp + 0x20]
mov ecx, 1
cmp rbx, rdi
jl 0x140001fa1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14000e19c]
mov r9, rax
call sub.ucrtbase.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x14000cdf8
call rbp
xor r8d, r8d
mov rdx, r12
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140001e1e
mov rax, qword [0x14000f530]
cmp byte [rax], 0
jne 0x140001fd2
inc rbx
jmp 0x140001f62
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400020e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x1400020ff
mov rcx, rdx
call sub.ucrtbase.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.ucrtbase.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x14000cdf8

Function at 0x14000324b
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov rsi, rcx
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.ucrtbase.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp 0x14000cdf8
jmp qword [sym.imp.ucrtbase.dll_fflush]