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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov eax, dword [0x14012b38c]
cmp eax, 0xffffffff
jne 0x1400479da
mov dword [rsp + 0x34], 1
mov r8d, 0x100
mov dword [rsp + 0x30], r8d
and qword [rsp + 0x40], 0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400b15e0
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x1400479fb
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
xor edx, edx
lea rcx, str.Shdocvw.dll
call fcn.14004ba30
sub eax, 0x1d6
je 0x1400479b2
sub eax, 1
je 0x1400479ab
sub eax, 1
je 0x1400479a4
sub eax, 0x1c
je 0x14004799d
cmp eax, 0x32
je 0x140047996
mov dword [0x14012b38c], 0x258
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140047983
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140047983
lea rcx, [rsp + 0x50]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140002188
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400bbc18
imul ecx, eax, 0x64
mov dword [0x14012b38c], ecx
mov edi, 0x384
cmp ecx, edi
jne 0x140047983
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.svcVersion
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140047983
lea rcx, [rsp + 0x50]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140002188
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400bbc18
imul ecx, eax, 0x64
cmp ecx, edi
jle 0x140047983
mov rcx, rbx
call fcn.1400bbc18
imul ecx, eax, 0x64
mov dword [0x14012b38c], ecx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [0x14012b38c]
jmp 0x1400479bd
mov edi, 0x226
jmp 0x1400479b7
mov edi, 0x1f4
jmp 0x1400479b7
mov edi, 0x191
jmp 0x1400479b7
mov edi, 0x190
jmp 0x1400479b7
mov edi, 0x12c
mov dword [0x14012b38c], edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400479d8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
Function at 0x140048b1c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp dword [0x14012b370], 0xffffffff
jne 0x140048be9
and dword [0x14012b370], 0
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
and qword [rbp + 0x28], 0
mov eax, 4
and dword [rbp + 0x10], 0
mov r9d, 0x20019
mov dword [rbp + 0x20], eax
xor r8d, r8d
mov dword [rbp + 0x18], eax
mov rcx, 0xffffffff80000002
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048ba1
lea rax, [rbp + 0x28]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWow6432NodeMicrosoftNET_Framework_SetupNDP_v2.0.50727
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140048be9
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x10]
xor r8d, r8d
lea rdx, str.Install
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140048bdf
cmp dword [rbp + 0x10], 1
jne 0x140048bdf
mov dword [0x14012b370], 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x14012b370]
add rsp, 0x30
pop rbp
ret

Function at 0x140048bf8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp dword [0x14012b378], 0xffffffff
jne 0x140048cfc
and dword [0x14012b378], 0
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
and qword [rbp + 0x28], 0
mov eax, 4
and dword [rbp + 0x10], 0
mov r9d, 0x20019
mov dword [rbp + 0x20], eax
xor r8d, r8d
mov dword [rbp + 0x18], eax
mov rcx, 0xffffffff80000002
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048c7d
lea rax, [rbp + 0x28]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140048cfc
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x10]
xor r8d, r8d
lea rdx, str.Install
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140048cf2
cmp dword [rbp + 0x10], 1
jne 0x140048cf2
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x10]
xor r8d, r8d
lea rdx, str.Release
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140048cf2
cmp dword [rbp + 0x10], 0x80ea8
jb 0x140048cf2
mov dword [0x14012b378], 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x14012b378]
add rsp, 0x30
pop rbp
ret
Function at 0x140048d08
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
mov rbp, rsp
sub rsp, 0x38
cmp dword [0x14012b374], 0xffffffff
jne 0x140048e21
and dword [0x14012b374], 0
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
and qword [rbp + 0x30], 0
mov eax, 4
and dword [rbp + 0x18], 0
mov rsi, 0xffffffff80000002
mov dword [rbp + 0x28], eax
mov r9d, 0x20019
mov dword [rbp + 0x20], eax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048dd9
lea rax, [rbp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048dd9
lea rax, [rbp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftNET_Framework_SetupNDP_v4Client
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048dd9
lea rax, [rbp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftNET_Framework_SetupNDP_v4Full
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140048e21
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x18]
xor r8d, r8d
lea rdx, str.Install
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140048e17
cmp dword [rbp + 0x18], 1
jne 0x140048e17
mov dword [0x14012b374], 1
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x14012b374]
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x140048f0c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x68]
sub rsp, 0x160
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor edi, edi
lea esi, [rdi + 1]
mov eax, dword [0x14012b380]
cmp eax, 0xffffffff
jne 0x140048f73
xor r8d, r8d
mov edx, esi
lea ecx, [rdi + 5]
call fcn.14004915c
test eax, eax
je 0x140048f6b
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 6]
call fcn.14004915c
test eax, eax
jne 0x140048f6b
mov eax, esi
jmp 0x140048f6d
xor eax, eax
mov dword [0x14012b380], eax
test eax, eax
je 0x14004908f
mov dword [rsp + 0x34], 4
mov r8d, 0x100
mov dword [rsp + 0x30], r8d
and qword [rsp + 0x38], rdi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400b15e0
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x1400490b4
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemeManager_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140049072
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThemeActive
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140049066
lea rcx, [rsp + 0x50]
call fcn.1400b6ca8
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140002188
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 0x10], 0
jl 0x140049066
lea rdx, [0x1400e268c]
mov rcx, rbx
call fcn.1400b2918
test rax, rax
je 0x140049066
sub rax, rbx
sar rax, 1
test eax, eax
cmove edi, esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004908d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
Function at 0x14004b81c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x20
mov rdi, rcx
mov edx, dword [0x14013a810]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
or r14d, 0xffffffff
mov eax, dword [rcx + rax]
cmp dword [0x14012fa8c], eax
jg 0x14004b9f7
call fcn.140077d4c
mov rcx, rax
xor esi, esi
test rax, rax
je 0x14004b9ec
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x38], rax
call fcn.14004bdc8
sub eax, dword [0x14012fa88]
mov r8d, eax
lea rdx, str._08d
lea rcx, [rbp + 0x38]
call fcn.140002f84
mov rdx, qword [rdi]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x38]
call fcn.140002e70
lea rcx, reloc.OLEAUT32.dll_VariantCopyInd
call fcn.1400b6ca8
mov r8d, eax
lea rdx, reloc.OLEAUT32.dll_VariantCopyInd
lea rcx, [rbp + 0x38]
call fcn.140002e70
lea r8, [0x1400e02c0]
lea rdx, [0x1400f4474]
lea rcx, [rbp + 0x38]
call fcn.14000acb0
lea rbx, [0x14012f880]
cmp dword [0x14012b390], esi
je 0x14004b937
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [rsi + 0x2e]
mov rcx, rbx
call fcn.1400b2628
test rax, rax
je 0x14004b928
mov word [rax], si
lea r8, [0x1400f4478]
mov edx, 0x104
mov rcx, rbx
call fcn.1400c0a48
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0x14012b390], esi
cmp dword [0x14012f870], esi
jne 0x14004b949
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
jmp 0x14004b9a9
mov qword [rbp + 0x40], rsi
lea r8, [0x1400f4484]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1400c4a58
mov rbx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14004b98e
mov r8, rbx
lea rdx, [0x1400e17e4]
call fcn.14004bfd8
mov rcx, qword [rbp + 0x40]
call fcn.1400c4ff4
mov rcx, qword [rbp + 0x40]
call fcn.1400c4bd4
cmp dword [0x14012f870], 2
jne 0x14004b9a5
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140085968
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14004b9c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14004b9e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
lea rcx, [0x14012fa8c]
call fcn.1400afcb8
cmp dword [0x14012fa8c], r14d
jne 0x14004b85c
call fcn.14004bdc8
mov dword [0x14012fa88], eax
lea rcx, [0x14012fa8c]
call fcn.1400afc4c
jmp 0x14004b85c
Function at 0x14004ba30
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x180], rax
and dword [rsp + 0x40], 0
xorps xmm0, xmm0
xor eax, eax
mov rsi, rdx
and qword [rsp + 0x38], rax
mov rbx, rcx
and dword [rsp + 0x34], eax
lea rcx, [rbp - 0x80]
xor edx, edx
mov dword [rsp + 0x78], eax
mov r8d, 0x200
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call fcn.1400b15e0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edx, eax
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x30], edx
mov eax, 2
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.140077440
mov r8d, dword [rsp + 0x30]
mov r9, rax
xor edx, edx
mov rcx, rbx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14004bbaa
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x38]
lea rdx, [0x1400e135c]
call sub.VERSION.dll_VerQueryValueW
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
mov r8d, 0x34
call fcn.1400b0f40
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x34]
mov r8d, 4
call fcn.1400b0f40
mov eax, dword [rsp + 0x34]
lea rdx, str.StringFileInfo_04X_04X_s
movzx r8d, word [rsp + 0x34]
lea rcx, [rbp - 0x80]
shr rax, 0x10
movzx r9d, ax
lea rax, [0x1400f44c8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x80]
call sub.VERSION.dll_VerQueryValueW
mov r8, qword [rsp + 0x38]
lea rcx, [rbp - 0x80]
mov ebx, 0x100
mov edx, ebx
call fcn.1400bd984
test rsi, rsi
je 0x14004bbaa
mov r8, qword [rsp + 0x38]
mov edx, ebx
mov rcx, rsi
call fcn.1400bd984
mov rcx, rdi
call fcn.140001794
lea rdx, [0x1400e02c0]
lea rcx, [rbp - 0x80]
call fcn.1400b7028
test eax, eax
je 0x14004bbdd
lea rcx, [rbp - 0x80]
call fcn.1400c48fc
mulsd xmm0, qword [0x1400e81c8]
cvttsd2si eax, xmm0
jmp 0x14004bbdf
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400b0010
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret

Function at 0x14004bc04
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, r9
mov edi, r8d
mov rsi, rcx
lea rcx, [rsp + 0x20]
call fcn.140001340
nop
lea r8, str._3D
lea rdx, [0x1400f453c]
lea rcx, [rsp + 0x20]
call fcn.14000acb0
lea r8, [0x1400f4540]
lea rdx, [0x1400ebad4]
lea rcx, [rsp + 0x20]
call fcn.14000acb0
mov r9, rbx
mov r8d, edi
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004bc8d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14004bca0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, r9
mov rdi, r8
mov rsi, rcx
lea rcx, [rax - 0x10]
call fcn.140001340
nop
lea r8, str._3D
lea rdx, [0x1400f453c]
lea rcx, [rsp + 0x38]
call fcn.14000acb0
lea r8, [0x1400f4540]
lea rdx, [0x1400ebad4]
lea rcx, [rsp + 0x38]
call fcn.14000acb0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov ebx, dword [rsp + 0x70]
mov dword [rsp + 0x20], ebx
mov r9, rbp
mov r8, rdi
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140001340
nop
lea r8, [0x1400f453c]
lea rdx, str._3D
lea rcx, [rsp + 0x30]
call fcn.14000acb0
lea r8, [0x1400ebad4]
lea rdx, [0x1400f4540]
lea rcx, [rsp + 0x30]
call fcn.14000acb0
mov edx, ebx
mov r8, qword [rsp + 0x30]
mov rcx, rbp
call fcn.1400bd984
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14004bd90
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14004bdaf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14005d084
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.1400b00f0
sub rsp, rax
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov ebx, edx
mov rdi, qword [rbp + 0xfe0]
mov r14, qword [rbp + 0xfe8]
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14005d302
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, ebx
lea rdx, str..PhysicalDrive_d
lea rcx, [rsp + 0x48]
call fcn.140002f84
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov r13d, 3
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, r13d
mov edx, 0xc0000000
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov r12d, 0x1030
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400b15e0
mov dword [rsp + 0x58], r13d
mov r13d, 1
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x68], 0x28
mov dword [rsp + 0x6c], 0x1000
and dword [rsp + 0x60], 0
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x50], 0x31
and dword [rsp + 0x54], 0
and dword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14005d202
mov cl, byte [rbp + 2]
mov eax, r13d
shl eax, cl
movsxd rcx, eax
imul rcx, qword [rbp - 0x80]
movabs r8, 0x624dd2f1a9fbe77
mov rax, r8
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
mov rax, r8
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
mov dword [r14], ecx
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400b15e0
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x68], 0x28
mov dword [rsp + 0x6c], 0x1000
mov dword [rsp + 0x50], 0x31
and dword [rsp + 0x54], 0
mov dword [rsp + 0x60], r13d
and dword [rsp + 0x64], 0
and dword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14d, eax
test rsi, rsi
je 0x14005d290
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
jne 0x14005d2a7
call fcn.1400b6c88
mov dword [rax], SafeArrayGetElement
call fcn.1400b6b4c
jmp 0x14005d2ba
mov r8d, 0x1000
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1400b0f40
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005d2d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
Function at 0x140063ed8
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.1400b00f0
sub rsp, rax
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov ebx, edx
mov r14, qword [rbp + 0xfd0]
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x1400640c6
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, ebx
lea rdx, str..PhysicalDrive_d
lea rcx, [rsp + 0x48]
call fcn.140002f84
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov esi, 3
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, esi
mov edx, 0xc0000000
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
xor edx, edx
mov r8d, 0x1010
lea rcx, [rsp + 0x70]
call fcn.1400b15e0
mov dword [rsp + 0x58], esi
lea eax, [rsi - 1]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
and dword [rsp + 0x64], 0
mov dword [rsp + 0x68], 0x28
mov dword [rsp + 0x6c], 0x1000
mov dword [rsp + 0x50], 0x31
and dword [rsp + 0x54], 0
and dword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1030
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x1030
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
test eax, eax
jne 0x140064047
or dword [rsp + 0x64], 0xffffffff
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1030
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x1030
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
test rdi, rdi
je 0x140064055
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r14 + 0x1000]
test rcx, rcx
jne 0x140064073
call fcn.1400b6c88
mov dword [rax], SafeArrayGetElement
call fcn.1400b6b4c
jmp 0x140064083
mov r8d, 0x200
lea rdx, [rbp - 0x80]
call fcn.1400b0f40
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006409d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
Function at 0x14006d99c
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
xor ecx, ecx
xor edx, edx
mov r8d, 0x20000000
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14006da33
lea r8d, [rbx + 4]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14006da2a
xor edx, edx
lea r8d, [rbx + 0x1c]
lea rcx, [rsp + 0x20]
call fcn.1400b15e0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14006da21
cmp dword [rsp + 0x24], 4
mov ecx, 1
movzx ebx, bl
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b0010
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret