joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400efdd0
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.140073290
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.1400a9850
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call fcn.140002d40
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.140002d40
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x78]
call fcn.140002df0
mov rbx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140002df0
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.140002dd0
nop
lea rcx, [rsp + 0x48]
call fcn.140002dd0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
jmp 0x1400efee2
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
jge 0x1400effaf
lea rcx, [rsp + 0x38]
call fcn.140002d10
nop
movsxd rax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
add rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140007a70
lea rcx, [rsp + 0x38]
call fcn.1400019a0
mov r11d, eax
mov eax, dword [rsp + 0x34]
add eax, r11d
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x38]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400ee350
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140050200
mov rdx, rax
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400aac40
lea rcx, [rsp + 0x58]
call fcn.140007060
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rcx*2]
call fcn.1400a99d4
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.140007060
jmp 0x1400efed7
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.140073288
mov eax, dword [rsp + 0x30]
add rsp, 0xa0
pop rbx
ret
Function at 0x1400efff0
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 [0x1402bd5c0]
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.140002d40
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.1400ecc30
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.1400ecc30
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.140002d40
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
mov rcx, qword [rsp + 0x478]
call fcn.140002df0
mov rsi, rax
mov rcx, qword [rsp + 0x488]
call fcn.140050200
mov rbx, rax
mov rcx, qword [rsp + 0x498]
call fcn.140050200
mov rdi, rax
mov rcx, qword [rsp + 0x4a8]
call fcn.140002df0
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.140002dd0
nop
lea rcx, [rsp + 0x450]
call fcn.140007060
nop
lea rcx, [rsp + 0x448]
call fcn.140007060
nop
lea rcx, [rsp + 0x440]
call fcn.140002dd0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
call fcn.1400ee350
mov qword [rsp + 0x4b0], rax
mov edi, dword [rsp + 0x500]
mov rcx, qword [rsp + 0x4b0]
call fcn.140050200
mov r8, rdi
mov rdx, rax
mov rcx, qword [rsp + 0x4f8]
call fcn.1400aa9f8
lea rcx, [rsp + 0x460]
call fcn.140007060
mov rcx, qword [rsp + 0x4f8]
call fcn.1400a99d4
mov rcx, qword [rsp + 0x4b8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x4c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f3490
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 [0x1402bd5c0]
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 0x1400f34f2
mov rax, qword [rsp + 0x8e8]
mov qword [rsp + 0x880], rax
jmp 0x1400f3501
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, [0x14022d6dc]
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.14000f0b0
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, [0x14022dee0]
mov rdx, qword [rsp + 0x8b0]
lea rcx, [rsp + 0x870]
call fcn.1400010b0
mov qword [rsp + 0x8b8], rax
mov rcx, qword [rsp + 0x8b8]
call fcn.140050200
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, [0x14022df18]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x870]
call fcn.140007060
nop
lea rcx, [rsp + 0x868]
call fcn.140007060
nop
lea rcx, [rsp + 0x860]
call fcn.140007060
nop
lea rcx, [rsp + 0x858]
call fcn.140007060
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x850], 0
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x40]
lea rdx, [0x14022df30]
lea rcx, [rsp + 0x50]
call fcn.1400abcac
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.140079e5c
xor edx, edx
mov rcx, qword [rsp + 0x8e0]
call fcn.14007d820
mov eax, 1
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x8d0
pop rdi
ret
Function at 0x1400f6790
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 0x1400f682e
lea rcx, [rsp + 0x30]
call fcn.140001000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x14022dd24]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140050200
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.140007060
nop
lea rcx, [rsp + 0x30]
call fcn.140007060
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14007b7f0
add rsp, 0x68
ret

Function at 0x1400f6c20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x58
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov eax, dword [0x1404d0f48]
and eax, 1
test eax, eax
jne 0x1400f6c69
mov eax, dword [0x1404d0f48]
or eax, 1
mov dword [0x1404d0f48], eax
lea rcx, [0x1404d0f10]
call fcn.14000f000
lea rcx, [0x140213240]
call fcn.1400aa47c
nop
lea rcx, [0x1404d0f10]
call fcn.14000f140
mov r8d, 0x200
lea rdx, [0x1404d0b10]
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, [0x1404d0b10]
call fcn.1400a99d4
mov r11, rax
lea rax, [0x1404d0b10]
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.140020af0
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.140050200
xor r9d, r9d
mov r8d, 1
mov rdx, rax
lea rcx, [0x1404d0b10]
call fcn.140004880
nop
lea rcx, [rsp + 0x30]
call fcn.140007060
lea rcx, [0x1404d0f10]
call fcn.14000f110
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 0x1400f9df0
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 0x1400f9e68
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
cmp dword [rsp + 0x410], 0x100
jae 0x1400f9edf
mov eax, dword [rsp + 0x410]
mov dword [rsp], eax
mov dword [rsp + 0x418], 8
jmp 0x1400f9e9d
mov eax, dword [rsp + 0x418]
sub eax, 1
mov dword [rsp + 0x418], eax
cmp dword [rsp + 0x418], 0
jle 0x1400f9ecc
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400f9ec2
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 0x414]
mov dword [rsp], eax
jmp 0x1400f9eca
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
jmp 0x1400f9e8c
mov ecx, dword [rsp + 0x410]
mov eax, dword [rsp]
mov dword [rsp + rcx*4 + 0x10], eax
jmp 0x1400f9e57
mov dword [rsp], 0xffffffff
mov dword [rsp + 0x410], 0
jmp 0x1400f9f04
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
mov eax, dword [rsp + 0x438]
cmp dword [rsp + 0x410], eax
jae 0x1400f9f56
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 0x1400f9ef3
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x420
pop rdi
ret

Function at 0x1400f9f70
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 0x1400f9fe1
mov eax, 1
jmp 0x1400fa1e1
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 0x1400fa074
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x68]
comisd xmm0, xmmword [0x140272f88]
jbe 0x1400fa074
mov rax, qword [rsp + 0x148]
mov dword [rax], 1
mov rcx, qword [rsp + 0x148]
add rcx, 0x48
lea rdx, [0x14022f798]
call fcn.1400aac40
mov eax, 1
jmp 0x1400fa1e1
add rsp, 0x128
pop rdi
pop rsi
ret
Function at 0x1400fa580
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 0x1400fb850
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [0x1403c6168], 0
lea rcx, [0x14022e6f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400fb88f
xor eax, eax
jmp 0x1400fba10
lea rdx, str.VixDiskLib_Init
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, [0x14022e720]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, [0x14022e730]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, [0x14022e748]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rdx, [0x14022e760]
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.1400a9850
lea rdx, [0x1403c6168]
lea rcx, [rsp + 0x60]
call qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400fb9e9
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.14000f540
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14000f5d0
mov r8, rax
lea rdx, str._ERROR__VirtualDiskInit_failed:__s
mov ecx, 1
call fcn.1400de020
nop
lea rcx, [rsp + 0xa0]
call fcn.140002dd0
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x30]
call qword [rsp + DllRegisterServer]
xor eax, eax
jmp 0x1400fba10
cmp qword [rsp + 0x38], 0
jne 0x1400fb9fe
mov dword [rsp + 0xc0], 1
jmp 0x1400fba09
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
add rsp, 0xd8
ret
Function at 0x1400fba20
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 0x1400fbaed
cmp dword [rsp + 0x98], 0
je 0x1400fba67
mov dword [rsp + 0x60], 0
jmp 0x1400fba6f
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 + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fbade
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, [0x14022e400]
mov ecx, 1
call fcn.1400de020
mov rax, qword [rsp + 0x40]
jmp 0x1400fbc31
mov rcx, qword [rsp + 0x80]
call fcn.1400fabb0
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], 4
cmp dword [rsp + 0x48], 3
je 0x1400fbb1b
cmp dword [rsp + 0x48], 4
je 0x1400fbb1b
cmp dword [rsp + 0x48], 5
jne 0x1400fbb25
mov dword [rsp + 0x4c], 3
jmp 0x1400fbb47
mov dword [rsp + 0x4c], 4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400fbb47
mov dword [rsp + 0x4c], 3
cmp dword [rsp + 0x98], 0
je 0x1400fbbc2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x48000000
mov eax, dword [rsp + 0x4c]
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 0x1400fbbbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, [0x14022e460]
mov ecx, 1
call fcn.1400de020
mov rax, qword [rsp + 0x58]
jmp 0x1400fbc31
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x68000000
mov eax, dword [rsp + 0x4c]
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 + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fbc2c
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.1400de020
mov rax, qword [rsp + 0x50]
add rsp, 0x78
ret
Function at 0x1400fcc50
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3d0
mov qword [rsp + 0x3b0], 0xfffffffffffffffe
mov dword [rsp + 0x3a8], 0
lea rdx, [0x14022e164]
lea rcx, [rsp + 0x30]
call fcn.140002050
nop
lea rcx, [rsp + 0x40]
call fcn.14000e170
nop
mov dword [rsp + 0x1d8], 1
lea rcx, [rsp + 0x40]
call fcn.1401e4480
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
jl 0x1400fce7e
lea rcx, [rsp + 0x1e8]
lea r9, [rsp + 0x38]
lea r8, [0x14022e174]
lea rdx, [rsp + 0x388]
call fcn.140006620
nop
lea rcx, [rsp + 0x388]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x1400fcd01
lea rcx, [rsp + 0x388]
call fcn.140007060
jmp 0x1400fce7e
mov dword [rsp + 0x380], 0
lea rdi, [rsp + 0x384]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0x390], 0
lea rdi, [rsp + 0x394]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x388]
call fcn.1400021f0
mov qword [rsp + 0x3b8], rax
mov rcx, qword [rsp + 0x3b8]
call fcn.140050200
lea r9, [rsp + 0x390]
lea r8, [rsp + 0x380]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea rcx, [rsp + 0x398]
call fcn.140007060
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x388]
call fcn.1400021f0
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0x380]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jge 0x1400fcde8
addsd xmm0, qword [0x140272fc0]
divsd xmm0, qword [0x140275288]
divsd xmm0, qword [0x140275288]
divsd xmm0, qword [0x140275288]
mov rax, qword [rsp + 0x390]
pxor xmm3, xmm3
cvtsi2sd xmm3, rax
test rax, rax
jge 0x1400fce1e
addsd xmm3, qword [0x140272fc0]
divsd xmm3, qword [0x140275288]
divsd xmm3, qword [0x140275288]
divsd xmm3, qword [0x140275288]
movsd qword [rsp + 0x20], xmm0
movq r9, xmm3
mov r8, qword [rsp + 0x3c8]
mov r8, qword [r8]
lea rdx, str.___s___0.2fG_free___0.2fG_total_
lea rcx, [rsp + 0x30]
call fcn.14000df50
nop
lea rcx, [rsp + 0x3a0]
call fcn.140007060
nop
lea rcx, [rsp + 0x388]
call fcn.140007060
jmp 0x1400fccae
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x3e0]
call fcn.140001430
mov eax, dword [rsp + 0x3a8]
or eax, 1
mov dword [rsp + 0x3a8], eax
lea rcx, [rsp + 0x40]
call fcn.140005e30
nop
lea rcx, [rsp + 0x30]
call fcn.140007060
mov rax, qword [rsp + 0x3e0]
add rsp, 0x3d0
pop rdi
ret
Function at 0x140109710
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, [0x14022fa68]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140050200
mov r9, rax
xor r8d, r8d
lea rdx, str.AlwaysVhdx
lea rcx, [0x14022fa98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140007060
nop
lea rcx, [rsp + 0x28]
call fcn.140007060
cmp dword [rsp + 0x20], 0
je 0x1401097cd
lea rdx, [0x14022faa8]
mov rcx, qword [rsp + 0x70]
call fcn.140002050
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
jmp 0x14010985a
mov rcx, qword [rsp + 0x78]
call fcn.1400fabb0
cmp eax, 8
je 0x1401097fa
mov rcx, qword [rsp + 0x78]
call fcn.1400fabb0
cmp eax, 4
je 0x1401097fa
mov rcx, qword [rsp + 0x78]
call fcn.1400fabb0
cmp eax, 5
jne 0x140109839
mov rcx, qword [rsp + 0x78]
call fcn.140108c30
mov r11, rax
movabs rax, 0x20000000000
cmp r11, rax
jbe 0x140109839
lea rdx, [0x14022fab8]
mov rcx, qword [rsp + 0x70]
call fcn.140002050
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
jmp 0x14010985a
lea rdx, [0x14022fac8]
mov rcx, qword [rsp + 0x70]
call fcn.140002050
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14010b070
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 0x14010b0a3
mov eax, 1
jmp 0x14010b0a5
xor eax, eax
add rsp, 0x28
ret

Function at 0x14010c320
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 [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x248], rax
cmp dword [rsp + 0x270], 0
je 0x14010c360
mov dword [rsp + 0x240], 0xc0000000
jmp 0x14010c36b
mov dword [rsp + 0x240], 0x80000000
xor r9d, r9d
mov r8d, 3
mov edx, dword [rsp + 0x240]
mov rcx, qword [rsp + 0x260]
call fcn.1400fba20
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x14010c3a1
mov rax, 0xffffffffffffffff
jmp 0x14010c4c2
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x20]
call fcn.14010b650
cmp eax, 1
jne 0x14010c3c2
mov rax, qword [rsp + 0x20]
jmp 0x14010c4c2
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x30], 0
je 0x14010c4b0
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.1400aac40
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x30]
call fcn.1400a99d4
test rax, rax
je 0x14010c43a
lea rcx, [rsp + 0x30]
call fcn.1400a99d4
movzx eax, word [rsp + rax*2 + 0x2e]
cmp eax, 0x5c
je 0x14010c43a
lea rdx, [0x14022fac4]
lea rcx, [rsp + 0x30]
call fcn.1400aac14
mov rdx, qword [rsp + 0x268]
add rdx, 0x448
lea rcx, [rsp + 0x30]
call fcn.1400aac14
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14010c490
mov rax, qword [rsp + 0x268]
movzx eax, word [rax + 0x448]
test eax, eax
je 0x14010c490
mov rcx, qword [rsp + 0x268]
add rcx, 0xc48
lea rdx, [rsp + 0x30]
call fcn.1400aac40
jmp 0x14010c4b0
mov rdx, qword [rsp + 0x268]
add rdx, 0x48
mov rcx, qword [rsp + 0x268]
add rcx, 0xc48
call fcn.1400aac40
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.1400a9820
add rsp, 0x250
pop rdi
ret