joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401acf80
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x2120
call fcn.1401bf960
sub rsp, rax
mov qword [rsp + 0x2108], 0xfffffffffffffffe
mov rax, qword [0x14025e510]
xor rax, rsp
mov qword [rsp + 0x2118], rax
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov r8d, 0x1000
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14002fb80
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1401ad0ee
lea rax, [rsp + 0x40]
mov qword [rsp + 0x2048], rax
cmp qword [rsp + 0x2048], 0
jne 0x1401ad022
mov dword [rsp + 0x2050], 0
jmp 0x1401ad036
mov rcx, qword [rsp + 0x2048]
call fcn.14002f9b0
mov dword [rsp + 0x2050], eax
mov r8d, dword [rsp + 0x2050]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2130]
call fcn.140005080
lea rax, str.VS_Revo_GroupRevo_Uninstaller_Pro
mov qword [rsp + 0x2080], rax
cmp qword [rsp + 0x2080], 0
jne 0x1401ad077
mov dword [rsp + 0x2088], 0
jmp 0x1401ad08b
mov rcx, qword [rsp + 0x2080]
call fcn.14002f9b0
mov dword [rsp + 0x2088], eax
mov r8d, dword [rsp + 0x2088]
lea rdx, str.VS_Revo_GroupRevo_Uninstaller_Pro
mov rcx, qword [rsp + 0x2130]
call fcn.140004560
mov rax, qword [rsp + 0x2130]
mov rax, qword [rax]
mov qword [rsp + 0x2090], rax
mov rcx, qword [rsp + 0x2090]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401ad0ec
mov rax, qword [rsp + 0x2130]
mov rax, qword [rax]
mov qword [rsp + 0x2098], rax
mov rcx, qword [rsp + 0x2098]
call fcn.1401acad0
jmp 0x1401ad136
lea rcx, [rsp + 0x2040]
call fcn.1401ace80
mov qword [rsp + 0x2110], rax
mov rax, qword [rsp + 0x2110]
mov qword [rsp + 0x20f8], rax
mov rdx, qword [rsp + 0x20f8]
mov rcx, qword [rsp + 0x2130]
call fcn.140004ac0
nop
lea rcx, [rsp + 0x2040]
call fcn.1400053e0
mov rcx, qword [rsp + 0x2118]
xor rcx, rsp
call fcn.14002f990
add rsp, 0x2120
pop rdi
ret
Function at 0x1401ad410
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x40f0
call fcn.1401bf960
sub rsp, rax
mov qword [rsp + 0x40d8], 0xfffffffffffffffe
mov rax, qword [0x14025e510]
xor rax, rsp
mov qword [rsp + 0x40e0], rax
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov dword [rsp + 0x4048], 0
jmp 0x1401ad474
mov eax, dword [rsp + 0x4048]
add eax, 1
mov dword [rsp + 0x4048], eax
cmp dword [rsp + 0x4048], 0x2e
jge 0x1401ad50c
movsxd rdx, dword [rsp + 0x4048]
imul rdx, rdx, 0x10
lea rcx, [0x140275520]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rcx + rdx + 8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1401ad4f5
movsxd rcx, dword [rsp + 0x4048]
imul rcx, rcx, 0x10
lea rax, [0x140275520]
mov rax, qword [rax + rcx]
mov qword [rsp + 0x4050], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x4050]
lea rdx, str.CSIDL
mov rcx, qword [rsp + 0x4100]
call fcn.1401b8630
mov r8d, 0x1000
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400306e4
jmp 0x1401ad463
call fcn.140008c24
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005310
nop
call fcn.140008c24
mov rdx, rax
lea rcx, [rsp + 0x4040]
call fcn.140005310
nop
lea rdx, [0x14021c790]
lea rcx, [rsp + 0x30]
call fcn.140006990
mov r9, qword [rsp + 0x30]
lea r8, str.TEMP
lea rdx, [0x14021c7b0]
mov rcx, qword [rsp + 0x4100]
call fcn.1401b8630
lea rdx, [0x14021c7c0]
lea rcx, [rsp + 0x4040]
call fcn.140006990
mov r9, qword [rsp + 0x4040]
lea r8, [0x14021c7c8]
lea rdx, [0x14021c7d0]
mov rcx, qword [rsp + 0x4100]
call fcn.1401b8630
xor edx, edx
mov word [rsp + 0x2040], dx
lea rdi, [rsp + 0x2042]
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov r8d, 0x1000
lea rdx, [rsp + 0x2040]
lea rcx, str._USERPROFILE_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea r9, [rsp + 0x2040]
lea r8, [0x14021c800]
lea rdx, str.ADDDIRS
mov rcx, qword [rsp + 0x4100]
call fcn.1401b8630
nop
lea rcx, [rsp + 0x4040]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x30]
call fcn.1400053e0
mov rcx, qword [rsp + 0x40e0]
xor rcx, rsp
call fcn.14002f990
add rsp, 0x40f0
pop rdi
ret
Function at 0x1401b3d60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
lea rcx, [rsp + 0x28]
call fcn.1401ace80
nop
call fcn.140008c24
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140005310
nop
mov r9, 0xffffffff80000001
lea r8, [rsp + 0x20]
lea rdx, [0x14021d280]
lea rcx, [0x14021d2a0]
call fcn.1401a63a0
test eax, eax
jne 0x1401b3e64
mov r9, 0xffffffff80000001
lea r8, [0x14021d2b8]
lea rdx, str.Language_file
lea rcx, str.General_
call fcn.1401a6580
lea r11, [0x14021d308]
mov qword [rsp + 0x40], r11
cmp qword [rsp + 0x40], 0
jne 0x1401b3dfc
mov dword [rsp + 0x48], 0
jmp 0x1401b3e0a
mov rcx, qword [rsp + 0x40]
call fcn.14002f9b0
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x48]
lea rdx, [0x14021d308]
lea rcx, [rsp + 0x28]
call fcn.140004560
lea rax, str.english.ini
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1401b3e3e
mov dword [rsp + 0x58], 0
jmp 0x1401b3e4c
mov rcx, qword [rsp + 0x50]
call fcn.14002f9b0
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
lea rdx, str.english.ini
lea rcx, [rsp + 0x28]
call fcn.140004560
jmp 0x1401b3ec6
lea rax, str.lang_
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1401b3e82
mov dword [rsp + 0x68], 0
jmp 0x1401b3e90
mov rcx, qword [rsp + 0x60]
call fcn.14002f9b0
mov dword [rsp + 0x68], eax
mov r8d, dword [rsp + 0x68]
lea rdx, str.lang_
lea rcx, [rsp + 0x28]
call fcn.140004560
mov rax, qword [rsp + 0x20]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x6c], eax
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140004560
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401b3eff
mov rcx, qword [rsp + 0xd0]
add rcx, 0x140
lea rdx, [rsp + 0x28]
call fcn.1401b7aa0
nop
lea rcx, [rsp + 0x20]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x28]
call fcn.1400053e0
add rsp, 0xc8
ret
Function at 0x1401b43b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0xfffffffffffffffe
cmp qword [rsp + 0x58], 0
je 0x1401b43e1
cmp qword [rsp + 0x68], 0
jne 0x1401b43f1
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x18], 0x57
xor eax, eax
jmp 0x1401b4449
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x18], r11d
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x18], 0
jne 0x1401b443f
mov eax, 1
jmp 0x1401b4449
xor eax, eax
jmp 0x1401b4449
add rsp, 0x48
ret

Function at 0x1401b48d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x18], r11d
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x18], 0
jne 0x1401b4957
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
mov eax, 1
jmp 0x1401b4961
xor eax, eax
jmp 0x1401b4961
add rsp, 0x48
ret

Function at 0x1401b4eb0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r11d, eax
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x18], r11d
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x18], 0
jne 0x1401b4efb
mov eax, 1
jmp 0x1401b4f05
xor eax, eax
jmp 0x1401b4f05
add rsp, 0x38
ret
Function at 0x1401b4f20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1401b4f8e
mov eax, dword [rsp + 0x38]
jmp 0x1401b5059
mov ecx, 0x208
call fcn.140008c1c
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1401b4fc3
mov eax, 8
jmp 0x1401b5059
mov r9d, 0x104
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1401b5013
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1401b4f20
mov r9d, 0x104
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [rsp + 0x38], eax
jmp 0x1401b4fdf
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140008c14
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
add rsp, 0x78
ret
Function at 0x1401b5ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x10d8
call fcn.1401bf960
sub rsp, rax
mov qword [rsp + 0x10c0], 0xfffffffffffffffe
mov rax, qword [0x14025e510]
xor rax, rsp
mov qword [rsp + 0x10c8], rax
mov rax, qword [rsp + 0x10f8]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
mov r8d, 0x1000
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14002fb80
mov dword [rsp + 0x40], 0x800
mov rax, qword [rsp + 0x1108]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1100]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x10e8]
mov rcx, qword [rsp + 0x10e0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r11d, eax
mov rax, qword [rsp + 0x10e0]
mov dword [rax + 0x18], r11d
mov rax, qword [rsp + 0x10e0]
cmp dword [rax + 0x18], 0
jne 0x1401b600d
mov rcx, qword [rsp + 0x10f8]
mov eax, dword [rsp + 0x44]
mov dword [rcx], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1058], rax
cmp qword [rsp + 0x1058], 0
jne 0x1401b5fd6
mov dword [rsp + 0x1060], 0
jmp 0x1401b5fea
mov rcx, qword [rsp + 0x1058]
call fcn.14002f9b0
mov dword [rsp + 0x1060], eax
mov r8d, dword [rsp + 0x1060]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x10f0]
call fcn.140005080
mov eax, 1
jmp 0x1401b601a
xor eax, eax
jmp 0x1401b601a
mov rcx, qword [rsp + 0x10c8]
xor rcx, rsp
call fcn.14002f990
add rsp, 0x10d8
ret
Function at 0x1401b6040
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x2128
call fcn.1401bf960
sub rsp, rax
mov rax, qword [0x14025e510]
xor rax, rsp
mov qword [rsp + 0x2118], rax
mov dword [rsp + 0x40], 0x7ff
mov dword [rsp + 0x1050], 0x7ff
mov r8d, 0x1000
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14002fb80
mov r8d, 0x1000
xor edx, edx
lea rcx, [rsp + 0x1060]
call fcn.14002fb80
mov rax, qword [rsp + 0x2130]
add rax, 0x5c
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1050]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1060]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x2138]
mov rcx, qword [rsp + 0x2130]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r11d, eax
mov rax, qword [rsp + 0x2130]
mov dword [rax + 0x18], r11d
mov rax, qword [rsp + 0x2130]
cmp dword [rax + 0x18], 0
jne 0x1401b61d9
lea rax, [rsp + 0x50]
mov qword [rsp + 0x2060], rax
cmp qword [rsp + 0x2060], 0
jne 0x1401b6149
mov dword [rsp + 0x2068], 0
jmp 0x1401b615d
mov rcx, qword [rsp + 0x2060]
call fcn.14002f9b0
mov dword [rsp + 0x2068], eax
mov r8d, dword [rsp + 0x2068]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2140]
call fcn.140005080
lea rax, [rsp + 0x1060]
mov qword [rsp + 0x20b0], rax
cmp qword [rsp + 0x20b0], 0
jne 0x1401b619f
mov dword [rsp + 0x20b8], 0
jmp 0x1401b61b3
mov rcx, qword [rsp + 0x20b0]
call fcn.14002f9b0
mov dword [rsp + 0x20b8], eax
mov r8d, dword [rsp + 0x20b8]
lea rdx, [rsp + 0x1060]
mov rcx, qword [rsp + 0x2148]
call fcn.140005080
mov eax, 1
jmp 0x1401b61db
xor eax, eax
mov rcx, qword [rsp + 0x2118]
xor rcx, rsp
call fcn.14002f990
add rsp, 0x2128
ret
Function at 0x1401b8120
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0x98], 0
je 0x1401b815e
cmp qword [rsp + 0xa0], 0
jne 0x1401b81e8
cmp qword [rsp + 0xa8], 0
jne 0x1401b818e
mov ecx, 2
call fcn.140008c1c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [rsp + 0x30]
mov word [rax], cx
jmp 0x1401b81de
mov rcx, qword [rsp + 0xa8]
call fcn.14002f9b0
mov rcx, rax
add rcx, 1
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call fcn.140030dac
mov rax, qword [rsp + 0x30]
jmp 0x1401b8358
mov dword [rsp + 0x3c], 0x200
mov eax, dword [rsp + 0x3c]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0xa8], 0
jne 0x1401b823c
lea rax, [0x14021d6b0]
mov qword [rsp + 0x68], rax
jmp 0x1401b8249
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
add eax, 1
cmp eax, dword [rsp + 0x3c]
jb 0x1401b8353
mov eax, dword [rsp + 0x3c]
add eax, 0x200
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140008c14
mov eax, dword [rsp + 0x3c]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0xa8], 0
jne 0x1401b8304
lea rax, [0x14021d6b4]
mov qword [rsp + 0x70], rax
jmp 0x1401b8311
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x38], eax
jmp 0x1401b8286
mov rax, qword [rsp + 0x30]
add rsp, 0x88
ret
Function at 0x1401b8370
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x68], 0
jne 0x1401b8484
mov dword [rsp + 0x2c], 0x200
mov eax, dword [rsp + 0x2c]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add eax, 2
cmp eax, dword [rsp + 0x2c]
jb 0x1401b8465
mov eax, dword [rsp + 0x2c]
add eax, 0x200
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140008c14
mov eax, dword [rsp + 0x2c]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [rsp + 0x28], eax
jmp 0x1401b83e6
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140008c14
mov eax, dword [rsp + 0x28]
add eax, 2
jmp 0x1401b849c
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
add rsp, 0x58
ret
Function at 0x1401b84b0
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
je 0x1401b84da
xor ecx, ecx
mov rax, qword [rsp + 0x70]
mov word [rax], cx
cmp qword [rsp + 0x68], 0
jne 0x1401b84e9
xor eax, eax
jmp 0x1401b8617
cmp qword [rsp + 0x70], 0
jne 0x1401b85f9
mov dword [rsp + 0x2c], 0x200
mov eax, dword [rsp + 0x2c]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 8]
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add eax, 2
cmp eax, dword [rsp + 0x2c]
jb 0x1401b85da
mov eax, dword [rsp + 0x2c]
add eax, 0x200
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140008c14
mov eax, dword [rsp + 0x2c]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 8]
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [rsp + 0x28], eax
jmp 0x1401b8552
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140008c14
mov eax, dword [rsp + 0x28]
add eax, 2
jmp 0x1401b8617
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 8]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
add rsp, 0x58
ret
Function at 0x1401b9b40
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1401b9b6d
xor eax, eax
jmp 0x1401b9c7f
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1401b9b97
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401b9c7f
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1401b9bf1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401b9c7f
lea r8, [rsp + 0x38]
lea rdx, str.SeLoadDriverPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1401b9c18
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401b9c7f
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1401b9c6f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401b9c7f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x68
ret
Function at 0x1401bae10
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x488
mov rax, qword [0x14025e510]
xor rax, rsp
mov qword [rsp + 0x478], rax
mov rcx, qword [rsp + 0x4b0]
call fcn.140004bf0
movzx edx, word [0x14021d74c]
mov word [rsp + 0x30], dx
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x1401bae7c
xor eax, eax
jmp 0x1401baf99
lea rdi, [rsp + 0x28]
lea rsi, [0x14021de2c]
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x240], rax
jmp 0x1401baec3
mov rcx, qword [rsp + 0x240]
call fcn.14002f9b0
mov rdx, rax
mov rax, qword [rsp + 0x240]
lea rax, [rax + rdx*2 + 2]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
movzx eax, word [rax]
test eax, eax
je 0x1401baf97
mov rax, qword [rsp + 0x240]
movzx eax, word [rax]
mov word [rsp + 0x28], ax
movzx eax, word [0x14021d7cc]
mov word [rsp + 0x250], ax
lea rdi, [rsp + 0x252]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1401baf28
jmp 0x1401bae9e
lea rcx, [rsp + 0x250]
call fcn.14002f9b0
mov qword [rsp + 0x248], rax
mov r8, qword [rsp + 0x248]
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x4a8]
call fcn.14003063c
test eax, eax
jne 0x1401baf92
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [rsp + 0x248]
lea r9, [rcx + rax*2]
lea r8, [rsp + 0x28]
lea rdx, str._s_s
mov rcx, qword [rsp + 0x4b0]
call fcn.140005d30
mov eax, 1
jmp 0x1401baf99
jmp 0x1401bae9e
xor eax, eax
mov rcx, qword [rsp + 0x478]
xor rcx, rsp
call fcn.14002f990
add rsp, 0x488
pop rdi
pop rsi
ret