joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ed360
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov eax, dword [rsp + 0xc0]
add eax, 1
mov ecx, eax
call fcn.140071ab0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xc0]
add eax, 1
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400a8080
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call fcn.140002de0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.140002de0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x78]
call fcn.140002e90
mov rbx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140002e90
mov r9, rbx
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140002e70
nop
lea rcx, [rsp + 0x48]
call fcn.140002e70
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
jmp 0x1400ed472
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
jge 0x1400ed53f
lea rcx, [rsp + 0x38]
call fcn.140002db0
nop
movsxd rax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
add rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140008750
lea rcx, [rsp + 0x38]
call fcn.140001a40
mov r11d, eax
mov eax, dword [rsp + 0x34]
add eax, r11d
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x38]
call fcn.140023510
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400dd060
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140023510
mov rdx, rax
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a9470
lea rcx, [rsp + 0x58]
call fcn.140001490
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a8204
mov rcx, rax
add rcx, 1
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.140001490
jmp 0x1400ed467
movsxd rdx, dword [rsp + 0x30]
xor ecx, ecx
mov rax, qword [rsp + 0xb8]
mov word [rax + rdx*2], cx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140071aa8
mov eax, dword [rsp + 0x30]
add rsp, 0xa0
pop rbx
ret
Function at 0x1400ed580
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
push rbx
push rsi
push rdi
sub rsp, 0x4c0
mov qword [rsp + 0x468], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x4b8], rax
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x508]
lea rcx, [rsp + 0x440]
call fcn.140002de0
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
mov rdx, qword [rsp + 0x4f0]
lea rcx, [rsp + 0x448]
call fcn.1400d8960
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
mov rdx, qword [rsp + 0x4e8]
lea rcx, [rsp + 0x450]
call fcn.1400d8960
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x498], rax
mov rdx, qword [rsp + 0x4e0]
lea rcx, [rsp + 0x458]
call fcn.140002de0
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
mov rcx, qword [rsp + 0x478]
call fcn.140002e90
mov rsi, rax
mov rcx, qword [rsp + 0x488]
call fcn.140023510
mov rbx, rax
mov rcx, qword [rsp + 0x498]
call fcn.140023510
mov rdi, rax
mov rcx, qword [rsp + 0x4a8]
call fcn.140002e90
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x458]
call fcn.140002e70
nop
lea rcx, [rsp + 0x450]
call fcn.140001490
nop
lea rcx, [rsp + 0x448]
call fcn.140001490
nop
lea rcx, [rsp + 0x440]
call fcn.140002e70
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
call fcn.1400dd060
mov qword [rsp + 0x4b0], rax
mov edi, dword [rsp + 0x500]
mov rcx, qword [rsp + 0x4b0]
call fcn.140023510
mov r8, rdi
mov rdx, rax
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a9228
lea rcx, [rsp + 0x460]
call fcn.140001490
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a8204
mov rcx, qword [rsp + 0x4b8]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x4c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f1a60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8d0
mov qword [rsp + 0x878], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
cmp qword [rsp + 0x8e8], 0
je 0x1400f1ac2
mov rax, qword [rsp + 0x8e8]
mov qword [rsp + 0x880], rax
jmp 0x1400f1ad1
lea rax, str.800_518
mov qword [rsp + 0x880], rax
lea rcx, [rsp + 0x858]
call fcn.140001000
mov qword [rsp + 0x888], rax
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x890], rax
lea r8, [0x1402166d4]
mov rdx, qword [rsp + 0x890]
lea rcx, [rsp + 0x860]
call fcn.1400010b0
mov qword [rsp + 0x898], rax
mov rax, qword [rsp + 0x898]
mov qword [rsp + 0x8a0], rax
call fcn.140010180
mov r8, rax
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x868]
call fcn.1400010b0
mov qword [rsp + 0x8a8], rax
mov rax, qword [rsp + 0x8a8]
mov qword [rsp + 0x8b0], rax
lea r8, [0x140216fd8]
mov rdx, qword [rsp + 0x8b0]
lea rcx, [rsp + 0x870]
call fcn.1400010b0
mov qword [rsp + 0x8b8], rax
mov rcx, qword [rsp + 0x8b8]
call fcn.140023510
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x880]
lea rdx, str.MainWindow
lea rcx, [0x140217010]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x870]
call fcn.140001490
nop
lea rcx, [rsp + 0x868]
call fcn.140001490
nop
lea rcx, [rsp + 0x860]
call fcn.140001490
nop
lea rcx, [rsp + 0x858]
call fcn.140001490
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x850], 0
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x40]
lea rdx, str._d__d
lea rcx, [rsp + 0x50]
call fcn.1400aa440
mov dword [rsp + 0x30], 2
mov eax, dword [rsp + 0x850]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call fcn.140078674
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call fcn.14007c03c
mov eax, 1
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x8d0
pop rdi
ret
Function at 0x1400f4bf0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
cmp dword [rsp + 0x78], 0x203
jne 0x1400f4c8e
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x140216894]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140023510
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x38]
call fcn.140001490
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14007a00c
add rsp, 0x68
ret

Function at 0x1400f5080
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x58
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov eax, dword [0x1404b4ea8]
and eax, 1
test eax, eax
jne 0x1400f50c9
mov eax, dword [0x1404b4ea8]
or eax, 1
mov dword [0x1404b4ea8], eax
lea rcx, [0x1404b4e70]
call fcn.1400100d0
lea rcx, [0x1401fc010]
call fcn.1400a8cac
nop
lea rcx, [0x1404b4e70]
call fcn.140010210
mov r8d, 0x200
lea rdx, [0x1404b4a70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
lea rcx, [0x1404b4a70]
call fcn.1400a8204
mov r11, rax
lea rax, [0x1404b4a70]
lea rcx, [rax + r11*2]
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x70]
mov r8d, ebx
lea rdx, str.__dump__p__ld__e__p__t__ld
call fcn.140021680
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140023510
xor r9d, r9d
mov r8d, 1
mov rdx, rax
lea rcx, [0x1404b4a70]
call fcn.140004900
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
lea rcx, [0x1404b4e70]
call fcn.1400101e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x1400f8250
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
mov dword [rsp + 0x10], 0
lea rdi, [rsp + 0x14]
xor eax, eax
mov ecx, 0x3fc
rep stosb byte [rdi], al
mov dword [rsp], 0
mov dword [rsp + 0x414], 0
mov dword [rsp + 0x410], 0
mov dword [rsp + 0x418], 0
mov dword [rsp + 0x414], 0xedb88320
mov dword [rsp + 0x410], 0
jmp 0x1400f82c8
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
cmp dword [rsp + 0x410], 0x100
jae 0x1400f833f
mov eax, dword [rsp + 0x410]
mov dword [rsp], eax
mov dword [rsp + 0x418], 8
jmp 0x1400f82fd
mov eax, dword [rsp + 0x418]
sub eax, 1
mov dword [rsp + 0x418], eax
cmp dword [rsp + 0x418], 0
jle 0x1400f832c
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400f8322
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 0x414]
mov dword [rsp], eax
jmp 0x1400f832a
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
jmp 0x1400f82ec
mov ecx, dword [rsp + 0x410]
mov eax, dword [rsp]
mov dword [rsp + rcx*4 + 0x10], eax
jmp 0x1400f82b7
mov dword [rsp], 0xffffffff
mov dword [rsp + 0x410], 0
jmp 0x1400f8364
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
mov eax, dword [rsp + 0x438]
cmp dword [rsp + 0x410], eax
jae 0x1400f83b6
mov edx, dword [rsp]
shr edx, 8
and edx, 0xffffff
mov rax, qword [rsp + 0x430]
movzx ecx, byte [rax]
mov eax, dword [rsp]
xor eax, ecx
and eax, 0xff
mov ecx, eax
mov eax, edx
xor eax, dword [rsp + rcx*4 + 0x10]
mov dword [rsp], eax
mov rax, qword [rsp + 0x430]
add rax, 1
mov qword [rsp + 0x430], rax
jmp 0x1400f8353
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x420
pop rdi
ret

Function at 0x1400f83d0
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov dword [rsp + 0x54], DllRegisterServer
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70048
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400f8441
mov eax, 1
jmp 0x1400f8641
mov rax, qword [rsp + 0x148]
mov dword [rax], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400f84d4
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x68]
comisd xmm0, xmmword [0x14025a258]
jbe 0x1400f84d4
mov rax, qword [rsp + 0x148]
mov dword [rax], 1
mov rcx, qword [rsp + 0x148]
add rcx, 0x48
lea rdx, [0x140218768]
call fcn.1400a9470
mov eax, 1
jmp 0x1400f8641
add rsp, 0x128
pop rdi
pop rsi
ret
Function at 0x1400f89e0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400f9ac0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [0x1403aa0e8], 0
lea rcx, [0x140217778]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400f9aff
xor eax, eax
jmp 0x1400f9c80
lea rdx, str.VixDiskLib_Init
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402177a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.VixDiskLib_Connect
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, [0x1402177d0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402177e8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, 1
call qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r8d, gethostbyname
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400a8080
lea rdx, [0x1403aa0e8]
lea rcx, [rsp + 0x60]
call qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400f9c59
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xa0]
call fcn.140010530
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1400105c0
mov r8, rax
lea rdx, str._ERROR__VirtualDiskInit_failed:__s
mov ecx, 1
call fcn.1400dc610
nop
lea rcx, [rsp + 0xa0]
call fcn.140002e70
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x30]
call qword [rsp + DllRegisterServer]
xor eax, eax
jmp 0x1400f9c80
cmp qword [rsp + 0x38], 0
jne 0x1400f9c6e
mov dword [rsp + 0xc0], 1
jmp 0x1400f9c79
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
add rsp, 0xd8
ret
Function at 0x1400fa340
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x98], 0
cmp dword [rsp + 0x88], 0x80000000
jne 0x1400fa408
cmp dword [rsp + 0x98], 0
je 0x1400fa387
mov dword [rsp + 0x60], 0
jmp 0x1400fa38f
mov dword [rsp + 0x60], 0x20000000
mov eax, dword [rsp + 0x60]
or eax, 0x48000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fa3fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, [0x1402174a0]
mov ecx, 1
call fcn.1400dc610
mov rax, qword [rsp + 0x50]
jmp 0x1400fa54c
mov rcx, qword [rsp + 0x80]
call fcn.1400f9010
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 4
cmp dword [rsp + 0x40], 3
je 0x1400fa436
cmp dword [rsp + 0x40], 4
je 0x1400fa436
cmp dword [rsp + 0x40], 5
jne 0x1400fa440
mov dword [rsp + 0x44], 3
jmp 0x1400fa462
mov dword [rsp + 0x44], 4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400fa462
mov dword [rsp + 0x44], 3
cmp dword [rsp + 0x98], 0
je 0x1400fa4dd
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x48000000
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fa4d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, [0x140217500]
mov ecx, 1
call fcn.1400dc610
mov rax, qword [rsp + 0x58]
jmp 0x1400fa54c
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x68000000
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fa547
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, str._ERROR__file_open__s_error__d
mov ecx, 1
call fcn.1400dc610
mov rax, qword [rsp + 0x48]
add rsp, 0x78
ret
Function at 0x140105e00
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.140001000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x1402189f8]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140023510
mov r9, rax
xor r8d, r8d
lea rdx, str.AlwaysVhdx
lea rcx, [0x140218a28]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x28]
call fcn.140001490
cmp dword [rsp + 0x20], 0
je 0x140105ebd
lea rdx, [0x140218a38]
mov rcx, qword [rsp + 0x70]
call fcn.1400020d0
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
jmp 0x140105f4a
mov rcx, qword [rsp + 0x78]
call fcn.1400f9010
cmp eax, 8
je 0x140105eea
mov rcx, qword [rsp + 0x78]
call fcn.1400f9010
cmp eax, 4
je 0x140105eea
mov rcx, qword [rsp + 0x78]
call fcn.1400f9010
cmp eax, 5
jne 0x140105f29
mov rcx, qword [rsp + 0x78]
call fcn.1401053a0
mov r11, rax
movabs rax, 0x20000000000
cmp r11, rax
jbe 0x140105f29
lea rdx, [0x140218a48]
mov rcx, qword [rsp + 0x70]
call fcn.1400020d0
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
jmp 0x140105f4a
lea rdx, [0x140218a58]
mov rcx, qword [rsp + 0x70]
call fcn.1400020d0
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1401076a0
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x1401076d3
mov eax, 1
jmp 0x1401076d5
xor eax, eax
add rsp, 0x28
ret

Function at 0x140108950
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x248], rax
cmp dword [rsp + 0x270], 0
je 0x140108990
mov dword [rsp + 0x240], 0xc0000000
jmp 0x14010899b
mov dword [rsp + 0x240], 0x80000000
xor r9d, r9d
mov r8d, 3
mov edx, dword [rsp + 0x240]
mov rcx, qword [rsp + 0x260]
call fcn.1400fa340
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1401089d1
mov rax, 0xffffffffffffffff
jmp 0x140108af2
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x20]
call fcn.140107c80
cmp eax, 1
jne 0x1401089f2
mov rax, qword [rsp + 0x20]
jmp 0x140108af2
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x30], 0
je 0x140108ae0
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x30]
call fcn.1400a9470
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x30]
call fcn.1400a8204
test rax, rax
je 0x140108a6a
lea rcx, [rsp + 0x30]
call fcn.1400a8204
movzx eax, word [rsp + rax*2 + 0x2e]
cmp eax, 0x5c
je 0x140108a6a
lea rdx, [0x140218a54]
lea rcx, [rsp + 0x30]
call fcn.1400a9444
mov rdx, qword [rsp + 0x268]
add rdx, 0x448
lea rcx, [rsp + 0x30]
call fcn.1400a9444
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140108ac0
mov rax, qword [rsp + 0x268]
movzx eax, word [rax + 0x448]
test eax, eax
je 0x140108ac0
mov rcx, qword [rsp + 0x268]
add rcx, 0xc48
lea rdx, [rsp + 0x30]
call fcn.1400a9470
jmp 0x140108ae0
mov rdx, qword [rsp + 0x268]
add rdx, 0x48
mov rcx, qword [rsp + 0x268]
add rcx, 0xc48
call fcn.1400a9470
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x250
pop rdi
ret
Function at 0x14010d8a0
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x3960
call fcn.1401d4c90
sub rsp, rax
mov qword [rsp + 0x37b8], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x3950], rax
lea rcx, [rsp + 0x48]
call fcn.140002db0
nop
mov r8, qword [0x1403acac8]
lea rdx, [0x140220c80]
lea rcx, [rsp + 0x48]
call fcn.140002c40
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.taskkill__F__IM_CCBootTools.exe
call fcn.140004900
lea rcx, [rsp + 0x50]
call fcn.14000eff0
nop
lea rcx, [rsp + 0x398]
call fcn.140007ac0
nop
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x50]
call fcn.1401b7170
mov dword [rsp + 0x3d8], 0
jmp 0x14010d956
mov eax, dword [rsp + 0x3d8]
add eax, 1
mov dword [rsp + 0x3d8], eax
mov edi, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007b40
cmp rdi, rax
jae 0x14010da6a
mov edx, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007b70
mov rcx, rax
add rcx, 0x1a8
lea rdx, [0x140220cf0]
call fcn.1400060b0
test eax, eax
je 0x14010d9a3
jmp 0x14010d945
lea rcx, [rsp + 0x3e0]
call fcn.140002db0
nop
mov edx, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007b70
mov rcx, rax
add rcx, 0x1a0
xor edx, edx
call fcn.140006dd0
movzx r8d, ax
lea rdx, str._c:ToolsCCBootTools.exe
lea rcx, [rsp + 0x3e0]
call fcn.140002c40
lea rcx, [rsp + 0x3e0]
call fcn.140023510
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007b70
mov rcx, rax
add rcx, 0x1a0
xor edx, edx
call fcn.140006dd0
movzx r8d, ax
lea rdx, [0x140220d38]
lea rcx, [rsp + 0x3e0]
call fcn.140002c40
lea rcx, [rsp + 0x3e0]
call fcn.140023510
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001490
jmp 0x14010d945
mov dword [rsp + 0x3648], 0
lea rcx, [rsp + 0x398]
call fcn.140007b10
nop
lea rcx, [rsp + 0x50]
call fcn.140005db0
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
mov eax, dword [rsp + 0x3648]
jmp 0x14010f3d1
mov rcx, qword [rsp + 0x3950]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x3960
pop rdi
ret