joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034ae0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x470
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x468], rax
xor r14d, r14d
lea rax, vtable.srl::Size.0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x3f0], 0x40
mov dword [rsp + 0x430], 0x38
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140034c7a
lea rcx, [rsp + 0x290]
call fcn.140019350
nop
lea rcx, [rsp + 0x190]
call fcn.140019350
nop
lea rcx, [rsp + 0x90]
call fcn.140019350
nop
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.GetPhysicallyInstalledSystemMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rsi, rsi
je 0x140034bf3
lea rcx, [rsp + 0x3f0]
call rsi
mov rcx, qword [rsp + 0x3f8]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x418]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x400]
mov qword [rsp + 0x58], rcx
jmp 0x140034c28
lea rcx, [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x140034c47
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call rdi
mov rax, qword [rsp + 0x30]
shl rax, 0xa
mov qword [rsp + 0x78], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x90]
call fcn.140019240
nop
lea rcx, [rsp + 0x190]
call fcn.140019240
nop
lea rcx, [rsp + 0x290]
call fcn.140019240
mov rax, qword [0x14032ac98]
test rax, rax
jne 0x140034cae
mov ecx, 0xd8
call fcn.140084d70
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140034ca4
mov rcx, rax
call fcn.140010a50
jmp 0x140034ca7
mov rax, r14
mov qword [0x14032ac98], rax
lea rbx, [rax + 0xa8]
lea r8, [rsp + 0x70]
mov edx, 0x11597
mov rcx, rbx
call fcn.14001e860
lea r8, [rsp + 0x40]
mov edx, 0x116d5
mov rcx, rbx
call fcn.14001e860
lea r8, [rsp + 0x50]
mov edx, 0x116d6
mov rcx, rbx
call fcn.14001e860
lea r8, [rsp + 0x60]
mov edx, 0x117b8
mov rcx, rbx
call fcn.14001e860
lea r8, [0x1402c96bc]
mov edx, 0x11606
mov rcx, rbx
call fcn.14001ebe0
lea r8, [0x1402c96bc]
mov edx, 0x11607
mov rcx, rbx
call fcn.14001ebe0
nop
mov al, 1
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140220eb0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x14003f640
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x14003f671
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14003f7d4
mov ecx, esi
call fcn.140232ba0
mov rdi, rax
test rax, rax
je 0x14003f7d4
cmp qword [rbx + 0x18], 7
jbe 0x14003f6a3
mov rbx, qword [rbx]
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14003f7cc
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402cf22c]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003f7cc
lea rcx, [rsp + 0x30]
call fcn.140019350
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x40]
call fcn.140034010
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140034010
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140034010
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140034010
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.140019f80
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.14000cc8c
mov rdx, qword [rsp + 0x148]
cmp rdx, 7
jbe 0x14003f7b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f7b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7f9
call fcn.140003e94
mov rcx, rdi
call fcn.14022fb58
nop
lea rcx, [rsp + 0x30]
call fcn.140019240
mov al, 1
jmp 0x14003f7d6
mov rcx, rdi
call fcn.14022fb58
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140220eb0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.14022a650
nop
int3
Function at 0x14003f800
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1700]
mov eax, 0x1800
call fcn.1402217d0
sub rsp, rax
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rbp + 0x16f0], rax
mov r12, rdx
mov rbx, rcx
xor r15b, r15b
xor r13d, r13d
mov edi, r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x50], r13
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
lea rcx, [rsp + 0x58]
call fcn.1400092fc
nop
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003f873
mov r9, qword [rbx]
mov rsi, qword [rbx + 0x10]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x14003f8bf
lea rax, [rsi + r14]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 7
cmova rbx, qword [rsp + 0x58]
lea rcx, [rbx + r14*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1402544d0
lea rax, [r14 + rsi]
mov word [rbx + rax*2], r13w
jmp 0x14003f8d1
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140021e20
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003f9a7
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x30], 0x7d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [0x1402c96bc]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003f9a7
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14003f9a7
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003f979
test al, 1
jne 0x14003f9a7
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], 0
je 0x14003f97e
jmp 0x14003f9a7
mov word [rbp - 0x80], r13w
mov r8d, 0x7d0
lea rdx, [rbp + 0x750]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rbp + 0x750]
mov rcx, r12
call fcn.1400182b0
mov r15b, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14003f9e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f9e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fa35
call fcn.140003e94
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
test rdi, rdi
je 0x14003fa07
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r15b
mov rcx, qword [rbp + 0x16f0]
xor rcx, rsp
call fcn.140220eb0
mov rbx, qword [rsp + 0x1850]
add rsp, 0x1800
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14022a650
nop
int3
Function at 0x140042050
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, r8
mov r14, rdx
xor edi, edi
lea rdx, [rsp + 0x20]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1400420c1
mov ecx, esi
call fcn.140232ba0
mov rbx, rax
test rax, rax
je 0x1400420c1
mov r9, rax
mov r8d, esi
mov edx, dword [rsp + 0x20]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rbx
test eax, eax
jne 0x1400420eb
call fcn.14022fb58
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140220eb0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [0x1402cf22c]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400420c3
lea rcx, [rsp + 0x40]
call fcn.140019350
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.140034010
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140034010
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140034010
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140034010
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.140019f80
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 7
jbe 0x1400421ad
mov rdx, qword [rsp + 0x140]
test rdx, rdx
je 0x1400421c0
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400421b4
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.140002b6c
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x140042211
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004220b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042220
call fcn.140003e94
nop
lea rcx, [rsp + 0x40]
call fcn.140019240
jmp 0x1400420c3
call fcn.14022a650
int3
Function at 0x140042230
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x268
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
mov r14, r8
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x14004248d
mov ecx, ebx
call fcn.140232ba0
mov r15, rax
test rax, rax
je 0x14004248d
mov edx, dword [rsp + 0x30]
mov r9, rax
mov rcx, qword [rdi]
mov r8d, ebx
mov qword [rsp + 0x250], r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140042481
xor r13d, r13d
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], r13
lea rdx, str.VarFileInfoTranslation
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xProductName
lea rcx, [rsp + 0x40]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x20]
mov rcx, r15
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140042481
cmp dword [rsp + 0x20], r13d
jbe 0x140042481
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x258], r12
test rdi, rdi
je 0x140042431
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140042340
test ebx, ebx
je 0x140042431
mov rax, qword [r14]
mov rbp, rdi
sub rbp, rax
sar rbp, 1
mov r12d, dword [rax - 0x10]
test ebx, ebx
js 0x140042491
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x140042385
mov edx, ebx
mov rcx, r14
call fcn.140002b08
mov rcx, qword [r14]
movsxd rsi, ebx
add rsi, rsi
movsxd r8, dword [rcx - 0xc]
cmp rbp, r12
ja 0x1400423d9
lea rdx, [rcx + rbp*2]
test rsi, rsi
je 0x14004241c
test rcx, rcx
jne 0x1400423b2
call fcn.14022a79c
mov dword [rax], 0x16
jmp 0x140042417
test rdx, rdx
jne 0x1400423c4
call fcn.14022a79c
mov dword [rax], 0x16
jmp 0x140042417
mov rax, r8
add rax, rax
cmp rax, rsi
jb 0x14004240c
mov r8, rsi
call fcn.1402544d0
jmp 0x14004241c
add r8, r8
test rsi, rsi
je 0x14004241c
test rcx, rcx
jne 0x1400423f3
call fcn.14022a79c
mov dword [rax], 0x16
jmp 0x140042417
cmp r8, rsi
jb 0x140042405
mov r8, rsi
mov rdx, rdi
call fcn.1402544d0
jmp 0x14004241c
xor edx, edx
call fcn.140254b70
call fcn.14022a79c
mov dword [rax], 0x22
call fcn.14022a630
mov rax, qword [r14]
cmp ebx, dword [rax - 0xc]
jg 0x140042491
mov dword [rax - 0x10], ebx
mov rax, qword [r14]
mov word [rsi + rax], r13w
jmp 0x140042439
mov rcx, r14
call fcn.140002984
mov rcx, r15
call fcn.14022fb58
mov r12, qword [rsp + 0x258]
mov al, 1
mov rsi, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x290]
mov r13, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140220eb0
add rsp, 0x268
pop r15
pop r14
pop rdi
pop rbx
ret
mov rcx, r15
call fcn.14022fb58
xor al, al
jmp 0x14004245b
xor al, al
jmp 0x140042463
mov ecx, 0x80070057
call fcn.140002e3c
int3
Function at 0x14004a790
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x28], 0
je 0x14004a988
cmp qword [rcx + 0x18], 0
je 0x14004a988
cmp qword [rcx + 0x30], 0
je 0x14004a988
cmp qword [rcx + 0x20], 0
je 0x14004a988
mov byte [rbp - 0x50], 1
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14004a9ab
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
mov r8d, 3
lea rdx, [0x1402d4508]
lea rcx, [rbp - 0x48]
call fcn.140002b6c
mov rsi, qword [rbp - 0x48]
mov r9, rsi
xor r8d, r8d
mov edx, 0x116fb
mov rcx, qword [rbx]
call fcn.14001e4c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x40], eax
xor r14d, r14d
mov qword [rbp - 0x38], r14
lea rdx, [rbp - 0x40]
lea rcx, [0x14004a730]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14004a964
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x14004a964
mov dword [rbp - 0x30], 0x10028
mov dword [rbp - 0x2c], 0x25
mov qword [rbp - 0x28], 0x1800
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x1c], 0x20000000
mov qword [rbp - 0x14], r14
mov dword [rbp - 0xc], r14d
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x14004a964
lea r8, [rbp - 0x30]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x14004a964
mov rcx, rdi
call qword [rbx + 0x18]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14004a964
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x20]
test eax, eax
je 0x14004a964
lea rcx, str.glGetStringi
call qword [rbx + 0x30]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x14004a910
lea rdx, str.glGetStringi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
lea rcx, str.glGetString
call qword [rbx + 0x30]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x14004a938
lea rdx, str.glGetString
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rcx, str.glGetIntegerv
call qword [rbx + 0x30]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x14004a960
lea rdx, str.glGetIntegerv
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
mov bl, 1
jmp 0x14004a966
xor bl, bl
lea rdx, [rsi - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004a983
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
jmp 0x14004a98a
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140220eb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002e3c
int3
Function at 0x14004ab50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov r13, rcx
xor sil, sil
mov byte [rsp + 0x70], sil
cmp qword [rcx + 0x40], 0
je 0x14004ac4a
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x14004ac45
xor edi, edi
mov dword [r11 + 0x18], edi
lea rdx, [r11 + 0x18]
mov ecx, 0x821d
call rax
lea r14d, [rdi - 1]
lea r12d, [rdi + 1]
cmp edi, dword [rsp + 0x80]
jge 0x14004ad10
mov edx, edi
mov ecx, 0x1f03
call qword [r13 + 0x40]
mov rbx, rax
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14004ad2d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400131d0
nop
test r15, r15
je 0x14004ad38
mov rax, qword [rsp + 0x20]
mov rcx, rax
mov r8, r15
sub r8, rax
movzx ebx, word [rcx]
movzx edx, word [rcx + r8]
sub ebx, edx
jne 0x14004ac15
add rcx, 2
test edx, edx
jne 0x14004ac01
lea rdx, [rax - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004ac2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx esi, sil
test ebx, ebx
cmove esi, r12d
mov byte [rsp + 0x70], sil
inc edi
jmp 0x14004aba1
jmp 0x14004ad1d
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x14004ad16
mov ecx, 0x1f03
call rax
mov rbx, rax
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14004ad43
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.1400131d0
nop
mov rbx, qword [rsp + 0x88]
test r15, r15
jne 0x14004acad
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x14004ace2
cmp dword [rbx - 0x10], 0
jge 0x14004acbe
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x14004ace2
mov rdx, r15
mov rcx, rbx
call fcn.1402250e8
mov rdi, rax
mov r14d, 0xffffffff
test rax, rax
jne 0x14004acdc
mov edi, r14d
jmp 0x14004ace2
sub rdi, rbx
sar rdi, 1
shr edi, 0x1f
xor dil, 1
lea rdx, [rbx - 0x18]
movzx esi, dil
mov byte [rsp + 0x70], dil
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14004ad10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rsp + 0x70], dil
movzx eax, sil
jmp 0x14004ad1d
jmp 0x14004ad1d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, 0x80004005
call fcn.140002e3c
int3
Function at 0x140051f30
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x6e0
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x6d0], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [0x1402c96e0]
mov rcx, r14
call fcn.1400131d0
cmp byte [rbx + 0x28], 0
jne 0x140051f7a
xor al, al
jmp 0x140052127
lea r8, [rsp + 0x48]
lea rdx, str.SELECT__FROM_Win32_BIOS
mov rcx, rbx
call fcn.140055550
test al, al
je 0x140052125
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x90]
lea edx, [r15 - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x140052125
mov edi, r15d
cmp edi, dword [rsp + 0x30]
jae 0x140052125
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lea rsi, [rsp + 0x90]
lea rsi, [rsi + rax*8]
lea r9, [rsp + 0x50]
lea r8, str.SerialNumber
mov rdx, qword [rsi]
call fcn.140054c90
test al, al
je 0x140052109
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140056cb0
nop
mov rax, qword [rax]
test rax, rax
je 0x14005202d
mov rdx, qword [rax]
jmp 0x140052030
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.1400092fc
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14005208e
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140052089
test rbx, rbx
je 0x140052089
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005206a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005207c
call fcn.140003e94
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140003e94
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
jbe 0x1400520ad
mov rdx, qword [rsp + 0x68]
test rdx, rdx
jne 0x1400520ad
mov r8d, r15d
jmp 0x1400520bf
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400520b4
mov rcx, r14
call fcn.140002b6c
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140052109
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052104
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052150
call fcn.140003e94
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x140051fd0
mov al, 1
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.140220eb0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14022a650
nop
int3
Function at 0x140052160
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x6b0
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rsi, rdx
mov byte [rdx], 0
cmp byte [rcx + 0x28], 0
jne 0x140052197
xor al, al
jmp 0x140052239
lea r8, [rsp + 0x38]
lea rdx, str.SELECT__FROM_Win32_ComputerSystem
call fcn.140055550
test al, al
je 0x140052237
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea edx, [rbx - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x140052237
nop dword [rax]
cmp ebx, dword [rsp + 0x30]
jae 0x140052237
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rdi, [rsp + 0x60]
lea rdi, [rdi + rbx*8]
lea r9, [rsp + 0x40]
lea r8, str.PartOfDomain
mov rdx, qword [rdi]
call fcn.140054c90
test al, al
je 0x14005221e
cmp word [rsp + 0x48], 0xffff
jne 0x14005221e
mov byte [rsi], 1
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
jmp 0x1400521e0
mov al, 1
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140220eb0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret