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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor eax, eax
xor r12d, r12d
mov rdi, rcx
mov r15d, edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
lea r8, str.AppID
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], r12
call fcn.1400063b0
mov ebx, eax
test eax, eax
je 0x140009677
mov dword [rdi + 0x27c], eax
jmp 0x1400097da
mov rdx, qword [rsp + 0x48]
xor eax, eax
lea r8, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x40], r12
call fcn.1400063b0
mov ebx, eax
test eax, eax
jne 0x1400097c2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
lea rdx, str.LocalService
xor r8d, r8d
mov dword [rsp + 0x60], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
jne 0x14000972e
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x140009708
lea ecx, [rbx + 0xd]
jmp 0x14000972e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140009726
test al, 1
jne 0x14000971f
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r12w
je 0x14000972b
mov ecx, 0xd
jmp 0x14000972e
mov word [rbp - 0x70], r12w
mov ecx, r12d
test ecx, ecx
mov eax, r12d
mov edx, 1
cmove eax, edx
mov dword [rdi + 0x28c], eax
test eax, eax
je 0x140009786
lea rax, [rdi + 0x68]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], rax
lea rax, [0x14000aa30]
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14000977e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x1400097c8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x1400097b1
cmp eax, 0x80010106
jne 0x1400097c8
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400097b5
jmp 0x1400097c8
mov byte [rdi + 0x62], 1
mov edx, r15d
mov rcx, rdi
call fcn.140009040
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x30], r12
je 0x1400097da
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x48], r12
je 0x1400097ec
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400166d0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
Function at 0x140009820
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140009864
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x40
pop rbx
ret
lea rax, [rsp + 0x30]
lea r8, [0x1400061a0]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400098a5
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x40
pop rbx
ret
Function at 0x140009910
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebx, edx
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x24]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
xor ebp, ebp
mov rsi, rax
xor eax, eax
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], ebp
mov edi, eax
test rsi, rsi
je 0x140009adf
cmp ebx, 1
jne 0x140009985
lea rdx, [0x140031b30]
jmp 0x140009995
cmp ebx, 2
jne 0x140009ad6
lea rdx, [0x140049068]
mov r8d, 0x10024
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140009ad6
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140009acd
cmp dword [rsp + 0x3c], 3
jne 0x140009a4d
mov ebp, 0x2710
mov eax, 0xcccccccd
mul dword [rsp + 0x50]
shr edx, 3
cmp edx, 0x3e8
jae 0x1400099ff
mov edx, 0x3e8
jmp 0x140009a04
cmp edx, ebp
cmova edx, ebp
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140009a4d
cmp dword [rsp + 0x3c], 1
je 0x140009a4d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x140009a4d
cmp dword [rsp + 0x3c], 3
je 0x1400099e4
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140009abd
cmp dword [rsp + 0x3c], 1
je 0x140009ac4
nop dword [rax + rax]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140009abd
cmp dword [rsp + 0x3c], 1
je 0x140009ac4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x140009abd
cmp dword [rsp + 0x3c], 1
jne 0x140009a70
jmp 0x140009ac4
cmp dword [rsp + 0x3c], 1
jne 0x140009acd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400166d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000a140
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call fcn.140009ce0
test eax, eax
jne 0x14000a157
mov eax, 0x80004005
add rsp, 0x58
ret
xor eax, eax
mov qword [rsp + 0x50], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea r8, str.AppID
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
call fcn.1400063b0
test eax, eax
je 0x14000a1aa
mov ecx, eax
call fcn.140002dd0
mov ebx, eax
jmp 0x14000a220
mov rdx, qword [rsp + 0x38]
xor eax, eax
lea r8, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov r9d, 0x20006
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x30], rbx
call fcn.1400063b0
test eax, eax
je 0x14000a1f2
mov ecx, eax
call fcn.140002dd0
jmp 0x14000a20b
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
call fcn.14000a240
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x14000a220
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x14000a233
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret

Function at 0x14000b040
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x140048fe1], 0
mov ebx, r9d
je 0x14000b057
or ebx, 0xffffffff
jmp 0x14000b0ab
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
lea rcx, [0x140049000]
mov rdx, rax
call fcn.140006870
cmp al, 1
jne 0x14000b08f
lea rcx, [0x140049000]
mov edx, ebx
call fcn.1400095f0
mov ebx, eax
jmp 0x14000b093
mov ebx, dword [rsp + 0x20]
cmp dword [0x14004928c], 0
jne 0x14000b0ab
cmp byte [0x140049062], 0
je 0x14000b0ab
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x140049000]
xor edx, edx
call fcn.140003b50
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000cf30
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x14004c4d0]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [0x14004bcd0]
mov r8d, 0x400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [0x14004bcd0]
mov edx, 0x5c
call fcn.140018244
xor esi, esi
test rax, rax
je 0x14000cf84
mov word [rax], si
lea rdi, [0x14004ccd0]
lea r8, [0x14004c4d0]
mov edx, 0x400
mov rcx, rdi
call fcn.140017540
mov edx, 0x5c
mov rcx, rdi
call fcn.1400181b8
test rax, rax
je 0x14000d014
sub rax, rdi
sar rax, 1
inc eax
add rax, rax
cmp rax, 0x800
jae 0x14000d02c
lea r8, str.Intel
mov edx, 0x400
mov rcx, rdi
mov word [rax + rdi], si
call fcn.1400174b8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.GfxCPLBatchFiles
mov edx, 0x400
mov rcx, rdi
call fcn.1400174b8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.140010b90
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140016dd0
int3

Function at 0x14000d960
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCplsigfxcpl.cpl
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d9ff
mov dword [rsp + 0x58], ebx
lea r9d, [rbx + 4]
mov rbx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea rdx, str.RunLevel
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000d9ff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x70
pop rbx
ret
Function at 0x140010170
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140016700
lea rax, [rsp + 0x50]
lea rdx, [0x14004abf0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001020f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0xf0
pop rbx
ret
Function at 0x140010230
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x160
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov ebx, ecx
lea r8, [0x14004ccd0]
mov edx, 0x432
lea rcx, [0x14004dd40]
call fcn.140017540
lea r8, [0x140032cb0]
mov edx, 0x432
lea rcx, [0x14004dd40]
call fcn.1400174b8
lea rcx, [0x14004dd40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400102a4
lea rcx, [0x14004dd40]
call fcn.140018c28
lea rcx, [0x14004dd40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400104f8
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x40]
call fcn.140016700
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [0x14004dd40]
lea rcx, [rsp + 0x40]
call fcn.14000cc70
nop
lea rdx, str._echo_off
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
cmp ebx, 1
jne 0x14001034b
lea rdx, str.sc_stop_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, str.sc_delete_igfxCUIService1.0.0.0
jmp 0x140010423
cmp ebx, 2
jne 0x140010435
lea rdx, str.sc_stop_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, str.sc_delete_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, str.TIMEOUT_5__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, [0x140032f24]
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x14004bcd0]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x140032a08]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x140032f28]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x140032f24]
call fcn.14000c3a0
mov rcx, rax
lea rdx, str.__service
call fcn.14000bfb0
mov rcx, rax
call fcn.14000c870
lea rdx, str.sc_start_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rdx, [0x140032fe8]
lea rcx, [rsp + 0x40]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x140032f24]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x14004ccd0]
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x140032a08]
call fcn.14000c3a0
mov rcx, rax
lea rdx, str.8A694AF2_286D_429D_867A_3F95898EE308.bat
call fcn.14000c3a0
mov rcx, rax
lea rdx, [0x140032f24]
call fcn.14000c3a0
mov rcx, rax
call fcn.14000c870
lea rcx, [rsp + 0x48]
call fcn.140011f90
test rax, rax
jne 0x1400104cf
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1400104c6
or edx, 4
xor r8d, r8d
call fcn.140011ea0
nop
lea rcx, [rsp + 0xe8]
call fcn.14000d4b0
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xe8]
call fcn.14002ba7c
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x160
pop rbx
ret
Function at 0x140010920
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x48
xor eax, eax
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCpls
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov r9d, 0xf003f
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], rax
call fcn.1400063b0
test eax, eax
jne 0x140010a20
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
test rcx, rcx
je 0x14001098e
mov rbx, qword [rsp + 0x20]
lea r8, str.igfxcpl.cpl
mov rdx, rbx
call fcn.140007be0
jmp 0x140010a06
cmp byte [0x14004a320], 0
jne 0x1400109d9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400109c9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x14004a320], 1
mov qword [0x14004a318], rax
jmp 0x1400109e0
mov rax, qword [0x14004a318]
mov byte [0x14004a320], 1
jmp 0x1400109e0
mov rax, qword [0x14004a318]
mov rbx, qword [rsp + 0x20]
lea rdx, str.igfxcpl.cpl
mov rcx, rbx
test rax, rax
je 0x140010a00
mov r8d, dword [rsp + 0x28]
xor r9d, r9d
call rax
jmp 0x140010a06
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x140010a14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140010a30
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x48
ret

Function at 0x140010a40
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140016700
lea rax, [rsp + 0x50]
lea rdx, [0x14004b460]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140010adf
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0xf0
pop rbx
ret

Function at 0x140010b00
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x8a0
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rcx
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010b67
lea rcx, [rsp + 0x20]
call fcn.140018c28
mov eax, 1
jmp 0x140010b69
xor eax, eax
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x8a0
pop rbx
ret
Function at 0x140010b90
Capabilities:
Check if file exists

Disassembly:
push rbp
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rbp + 0x790], rax
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x1400339f0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010bf8
lea rcx, [rsp + 0x20]
call fcn.140018c28
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x140033650]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010c3e
lea rcx, [rsp + 0x20]
call fcn.140018c28
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x140033930]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010c84
lea rcx, [rsp + 0x20]
call fcn.140018c28
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x140033a50]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010cca
lea rcx, [rsp + 0x20]
call fcn.140018c28
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x1400331d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010d10
lea rcx, [rsp + 0x20]
call fcn.140018c28
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x140032cb0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010d56
lea rcx, [rsp + 0x20]
call fcn.140018c28
lea r8, [0x14004c4d0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.140017540
lea r8, [0x140033840]
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.1400174b8
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140010d9c
lea rcx, [rsp + 0x20]
call fcn.140018c28
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x8a0
pop rbp
ret
Function at 0x140010e90
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140016700
lea rax, [rsp + 0x50]
lea rdx, [0x14004d4d0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140010f2f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0xf0
pop rbx
ret

Function at 0x140011080
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x1400111e5
cmp byte [rcx + 0x82], 0
je 0x1400111e5
mov rax, qword [rcx]
mov ebx, 0xffff
mov edx, ebx
call qword [rax + 0x18]
cmp bx, ax
jne 0x1400110db
xor al, al
jmp 0x1400111e7
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rsp + 0x40]
call fcn.140011b00
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x40]
cmovae r8, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rsp + 0x50]
add r9, rdx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x14001114e
dec eax
jne 0x1400111c3
jmp 0x140011155
mov byte [rdi + 0x82], 0
lea rax, [rsp + 0x40]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
cmp r10, 0x10
cmovae rax, r9
mov rbx, qword [rsp + 0x38]
sub rbx, rax
je 0x14001119c
lea rcx, [rsp + 0x40]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.140019378
cmp rbx, rax
jne 0x1400111c8
cmp byte [rdi + 0x82], 0
je 0x1400111cc
test rbx, rbx
jne 0x140011104
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.1400119e0
jmp 0x140011104
sub eax, 2
je 0x1400111cc
xor bl, bl
jmp 0x1400111ce
mov bl, 1
cmp qword [rsp + 0x58], 0x10
jb 0x1400111e0
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
movzx eax, bl
jmp 0x1400111e7
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400166d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret