joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009861c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180078e78
xor ebx, ebx
cmp qword [0x180154f38], rbx
mov rdi, rax
jne 0x18009872f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180098806
lea rdx, [0x1800fe1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180098806
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180154f38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180154f40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1800fe168]
mov rcx, rsi
mov qword [0x180154f48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180154f58], rax
test rax, rax
je 0x180098726
lea rdx, [0x1800fe150]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180154f50], rax
jmp 0x180098736
mov rax, qword [0x180154f50]
jmp 0x18009873d
mov rax, qword [0x180154f50]
mov r11, qword [0x180154f58]
cmp rax, rdi
je 0x1800987a4
cmp r11, rdi
je 0x1800987a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180154f58]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800987a4
test rax, rax
je 0x1800987a4
call rsi
test rax, rax
je 0x18009879e
lea rcx, [rsp + 0x30]
mov r9d, SafeArrayCreate
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18009879e
test byte [rsp + 0x40], 1
jne 0x1800987a4
bts ebp, 0x15
jmp 0x1800987e4
mov rcx, qword [0x180154f40]
cmp rcx, rdi
je 0x1800987e4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800987e4
call rax
mov rbx, rax
test rax, rax
je 0x1800987e4
mov rcx, qword [0x180154f48]
cmp rcx, rdi
je 0x1800987e4
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800987e4
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180154f38]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180098806
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180098808
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18006f110
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18009f4e0
Capabilities:
Get common file path
Get file version info

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, dword [0x1801550f4]
test eax, eax
jne 0x18009f608
mov byte [rsp + 0x150], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x151]
call fcn.18006f140
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18009f602
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.18006f140
lea r9, str.user32.dll
lea r8, [rsp + 0x150]
lea rdx, [0x1800e3014]
lea rcx, [rsp + 0x40]
call fcn.180070f20
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x24], eax
mov ecx, eax
call fcn.18006f3c0
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18009f602
mov r9, rax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x18009f5fa
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x18009f5fa
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov dword [0x1801550f4], ecx
jmp 0x18009f5fa
mov rcx, rbx
call fcn.18006f310
mov eax, dword [0x1801550f4]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18006f110
add rsp, 0x270
pop rbx
ret
Function at 0x18009fc40
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x1801550f8], 0
jne 0x18009fde4
lea rcx, [0x180154f70]
mov edi, 1
mov dword [0x180154f70], 0x94
mov dword [0x1801550f8], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor r11d, r11d
cmp dword [0x180154f80], 2
sete r11b
mov dword [0x1801360cc], r11d
test r11d, r11d
je 0x18009fdc8
lea rcx, [0x180155010]
mov qword [rsp + 0x160], rbx
mov dword [0x180155010], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x180154f68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1801550b0]
mov qword [0x1801550e0], rax
mov rax, qword [0x180154f68]
test rax, rax
je 0x18009fd1c
call rax
jmp 0x18009fd22
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x180155014]
cmp eax, 6
jae 0x18009fd3b
cmp eax, 5
jne 0x18009fd52
cmp dword [0x180155018], 2
jb 0x18009fd52
mov eax, dword [0x180154f60]
cmp word [0x1801550b0], 9
cmove eax, edi
mov dword [0x180154f60], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18009fd80
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1801550e8], rax
jmp 0x18009fd87
mov rbx, qword [0x1801550e8]
test rbx, rbx
je 0x18009fdc0
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.18006f140
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x180154f7c]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x180154f7c], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x180154f78]
lea rcx, [0x180154f74]
call fcn.18009fb00
call fcn.18009f840
mov eax, edi
jmp 0x18009fde9
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18006f110
add rsp, 0x150
pop rdi
ret

Function at 0x1800a1770
Capabilities:
Encode data using base64

Disassembly:
mov rax, r8
mov r8d, edx
mov rdx, rcx
mov rcx, rax
jmp fcn.1800a7770

Function at 0x1800a2200
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
jne 0x1800a2209
xor eax, eax
jmp 0x1800a2251
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x1800a2217
xor eax, eax
jmp 0x1800a2251
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x1800a222a
xor eax, eax
jmp 0x1800a2251
cmp word [rax + 0x14], 0
jne 0x1800a2235
xor eax, eax
jmp 0x1800a2251
test edx, edx
je 0x1800a2248
mov ecx, 0x8664
cmp word [rax + 4], cx
je 0x1800a2248
xor eax, eax
jmp 0x1800a2251
mov eax, 1
jmp 0x1800a2251
repz ret

Function at 0x1800a2680
Capabilities:
Parse pe header

Disassembly:
mov edx, 1
jmp fcn.1800a2200
Function at 0x1800a33f0
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x258
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
cmp eax, 1
jne 0x1800a3555
test rbx, rbx
je 0x1800a3555
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x280], rdi
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
cmp ecx, 2
jle 0x1800a354d
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x1800a3482
movabs rax, 0x5c003a0041
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movzx eax, word [rbx]
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
jmp 0x1800a354d
cmp word [rbx], 0x5c
jne 0x1800a354d
cmp ax, 0x5c
jne 0x1800a354d
mov qword [rsp + 0x278], rbp
mov qword [rsp + 0x250], r12
mov r12d, 0x5c
lea rcx, [rbx + 4]
mov edx, r12d
call fcn.180071508
mov rbp, rax
test rax, rax
je 0x1800a353d
xor eax, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], ax
call fcn.18006f140
lea rcx, [rbp + 2]
mov edx, r12d
call fcn.180071508
test rax, rax
je 0x1800a350d
sub rax, rbx
sar rax, 1
lea ecx, [rax + 1]
cmp ecx, 0x104
jge 0x1800a353d
movsxd r8, ecx
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.1800711ac
jmp 0x1800a3530
lea eax, [rdi + 1]
cmp eax, 0x104
jge 0x1800a353d
movsxd rdi, edi
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, rdi
call fcn.1800711ac
mov word [rsp + rdi*2 + 0x30], r12w
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
mov rbp, qword [rsp + 0x278]
mov r12, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x280]
mov eax, esi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18006f110
add rsp, 0x258
pop rsi
pop rbx
ret

Function at 0x1800a3630
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x48
xor eax, eax
mov dword [rdx], eax
test rcx, rcx
je 0x1800a365e
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov r9, rdx
mov qword [rsp + 0x28], rax
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add rsp, 0x48
ret

Function at 0x1800a38d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.180042640
test rbx, rbx
je 0x1800a3961
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call fcn.18006f140
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.18003ee30
mov eax, ebx
jmp 0x1800a3963
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x1800a3990
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x48
xor eax, eax
mov dword [rdx], eax
test rcx, rcx
je 0x1800a39be
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add rsp, 0x48
ret

Function at 0x1800a39f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.180042640
xor esi, esi
test rbx, rbx
je 0x1800a3a7d
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], sil
call fcn.18006f140
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, 0x104
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.18003ee30
mov eax, ebx
jmp 0x1800a3a7f
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18006f110
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800a3b50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.180042640
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x20], 0
call fcn.18006f140
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
dec eax
cmp eax, 0x3fe
ja 0x1800a3bc5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18003ee30
mov eax, 1
jmp 0x1800a3bc7
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x1800a3cc0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.180043d20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
nop dword [rax]
test dword [rsi], edi
je 0x1800a3d50
movzx eax, word [0x1800e338c]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1800e338e]
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
add byte [rsp + 0x50], bl
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1800423d0
nop
lea r8, [rsp + 0x60]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180043f70
nop
lea rcx, [rsp + 0x60]
call fcn.18003ecb0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x1800a3d00
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a3d70
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.180043d20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
nop dword [rax]
test dword [rsi], edi
je 0x1800a3e00
movzx eax, word [0x1800e338c]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1800e338e]
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
add byte [rsp + 0x50], bl
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1800423d0
nop
lea r8, [rsp + 0x60]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180043f70
nop
lea rcx, [rsp + 0x60]
call fcn.18003ecb0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x1800a3db0
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800a3e20
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.180044230
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
test dword [rsi], edi
je 0x1800a3eb9
mov eax, dword [0x1800feea0]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1800feea4]
mov word [rsp + 0x34], ax
xor eax, eax
mov word [rsp + 0x36], ax
add word [rsp + 0x30], bx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.180042f80
nop
lea r8, [rsp + 0x20]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180044480
nop
lea rcx, [rsp + 0x20]
call fcn.180040610
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x1800a3e68
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a3ef0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180043d20
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180043d20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor ebx, ebx
nop
test esi, edi
je 0x1800a4011
movzx eax, word [0x1800e338c]
mov word [rsp + 0x20], ax
movzx eax, byte [0x1800e338e]
mov byte [rsp + 0x22], al
xor eax, eax
mov byte [rsp + 0x23], al
add byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1800423d0
nop
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180043f70
mov r11, qword [0x1800f5de8]
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.18006f140
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [rsp + 0x143], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.18003ee30
lea r8, [rsp + 0x28]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180043f70
nop
lea rcx, [rsp + 0x28]
call fcn.18003ecb0
nop
lea rcx, [rsp + 0x30]
call fcn.18003ecb0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x1800a3f50
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18006f110
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1800a4050
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180043d20
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180043d20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor ebx, ebx
nop
test esi, edi
je 0x1800a4171
movzx eax, word [0x1800e338c]
mov word [rsp + 0x20], ax
movzx eax, byte [0x1800e338e]
mov byte [rsp + 0x22], al
xor eax, eax
mov byte [rsp + 0x23], al
add byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1800423d0
nop
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180043f70
mov r11, qword [0x1800f5de8]
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.18006f140
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [rsp + 0x143], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.18003ee30
lea r8, [rsp + 0x28]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180043f70
nop
lea rcx, [rsp + 0x28]
call fcn.18003ecb0
nop
lea rcx, [rsp + 0x30]
call fcn.18003ecb0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x1800a40b0
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18006f110
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1800a41b0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180044230
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180044230
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor r13d, r13d
mov ebx, r13d
test esi, edi
je 0x1800a42d8
mov eax, dword [0x1800feea0]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800feea4]
mov word [rsp + 0x3c], ax
xor eax, eax
mov word [rsp + 0x3e], ax
add word [rsp + 0x38], bx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180042f80
nop
lea r8, [rsp + 0x28]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180044480
mov r11, qword [0x1800f5df0]
mov qword [rsp + 0x20], r11
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.18006f140
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rsp + 0x246], r13w
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180040790
lea r8, [rsp + 0x20]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180044480
nop
lea rcx, [rsp + 0x20]
call fcn.180040610
nop
lea rcx, [rsp + 0x28]
call fcn.180040610
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x1800a4214
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18006f110
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800a46e0
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rdi, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180043d20
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.180043d20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1801551d4]
test ecx, ecx
je 0x1800a4791
cmp eax, ecx
jne 0x1800a4791
mov eax, dword [0x1801551d8]
test eax, eax
je 0x1800a4791
cmp ebx, eax
jb 0x1800a4791
add eax, 0x493e0
cmp eax, ebx
jb 0x1800a4791
inc dword [0x1801551dc]
mov r8d, 1
lea rdx, [0x180155288]
lea rcx, [rsp + 0x28]
call fcn.180048130
nop
lea rdx, [0x180155258]
mov rcx, rsi
call fcn.180043e90
lea rdx, [0x180155270]
mov rcx, rdi
call fcn.180043e90
nop
jmp 0x1800a480d
mov dword [0x1801551dc], 0
mov rdx, rdi
mov rcx, rsi
call fcn.1800a4050
mov r8d, 1
lea rdx, [0x180155288]
lea rcx, [rsp + 0x28]
call fcn.180048130
nop
mov dword [0x1801551d4], ebp
mov dword [0x1801551d8], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x180155258]
call fcn.180043d20
mov rdx, rsi
lea rcx, [0x180155258]
call fcn.180043e90
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x180155270]
call fcn.180043d20
mov rdx, rdi
lea rcx, [0x180155270]
call fcn.180043e90
nop
lea rcx, [rsp + 0x28]
call fcn.1800481b0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800a4840
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rdi, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180044230
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.180044230
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1801551e0]
test ecx, ecx
je 0x1800a48f1
cmp eax, ecx
jne 0x1800a48f1
mov eax, dword [0x1801551e4]
test eax, eax
je 0x1800a48f1
cmp ebx, eax
jb 0x1800a48f1
add eax, 0x493e0
cmp eax, ebx
jb 0x1800a48f1
inc dword [0x1801551e8]
mov r8d, 1
lea rdx, [0x1801552f0]
lea rcx, [rsp + 0x28]
call fcn.180048130
nop
lea rdx, [0x1801552c0]
mov rcx, rsi
call fcn.1800443a0
lea rdx, [0x1801552d8]
mov rcx, rdi
call fcn.1800443a0
nop
jmp 0x1800a496d
mov dword [0x1801551e8], 0
mov rdx, rdi
mov rcx, rsi
call fcn.1800a41b0
mov r8d, 1
lea rdx, [0x1801552f0]
lea rcx, [rsp + 0x28]
call fcn.180048130
nop
mov dword [0x1801551e0], ebp
mov dword [0x1801551e4], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1801552c0]
call fcn.180044230
mov rdx, rsi
lea rcx, [0x1801552c0]
call fcn.1800443a0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1801552d8]
call fcn.180044230
mov rdx, rdi
lea rcx, [0x1801552d8]
call fcn.1800443a0
nop
lea rcx, [rsp + 0x28]
call fcn.1800481b0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret