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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x595e4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], 0
call fcn.004c0a60
test al, al
je 0x595e30
push 0x595e5c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
push 0x595e6c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b48], eax
push 0x595e84
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b4c], eax
push 0x595ea4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b50], eax
push 0x595ebc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b54], eax
push 0x595edc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b5c], eax
push 0x595ef4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b64], eax
push 0x595f0c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b68], eax
push 0x595f1c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b6c], eax
cmp dword [0xcc5b48], 0
je 0x595e27
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x595e15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.005959bc
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x595e1f
cmp dword [ebp - 0x14], 0
setg byte [ebp - 0xd]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x595e52
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret
Function at 0x596830
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x596980
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], 0
call fcn.004c0a60
test al, al
je 0x596965
push 0x596994
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
push 0x5969a4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b48], eax
push 0x5969bc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b4c], eax
push 0x5969dc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b50], eax
push 0x5969f4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b54], eax
push 0x596a14
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b58], eax
push 0x596a38
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b5c], eax
push 0x596a50
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b64], eax
cmp dword [0xcc5b48], 0
je 0x59695c
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x59694a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0059637c
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x596954
cmp dword [ebp - 0x14], 0
setg byte [ebp - 0xd]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596987
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret
Function at 0x5975a8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x597752
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], 0
call fcn.004c0a60
test al, al
je 0x597737
push 0x597768
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
push 0x597778
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b48], eax
push 0x597790
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b4c], eax
push 0x5977b0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b50], eax
push 0x5977c8
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b54], eax
push 0x5977e8
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b5c], eax
push 0x597800
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b64], eax
push 0x597818
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b68], eax
push 0x597828
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b6c], eax
push 0x597838
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b58], eax
push 0x5977e8
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b5c], eax
push 0x597800
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xcc5b64], eax
cmp dword [0xcc5b48], 0
je 0x59772e
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x59771c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00596b48
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x597726
cmp dword [ebp - 0x14], 0
setg byte [ebp - 0xd]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597759
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052b0
ret
Function at 0x5acee8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc98
push ebx
xor ebx, ebx
mov dword [ebp - 0x360], ebx
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x368], ebx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ad123
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040528c
mov eax, dword [ebp + 0xc]
call fcn.0040528c
mov eax, dword [ebp + 8]
call fcn.0040528c
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 4], 0xffffffff
je 0x5ad0fd
lea eax, [ebp - 0x146]
xor ecx, ecx
mov edx, 0x121
call fcn.00403464
lea eax, [ebp - 0x25]
xor ecx, ecx
mov edx, 0xd
call fcn.00403464
lea eax, [ebp - 0x34a]
xor ecx, ecx
mov edx, 0x204
call fcn.00403464
push 0
lea eax, [ebp - 0x18]
push eax
push 0x121
lea eax, [ebp - 0x146]
push eax
push 0xd
lea eax, [ebp - 0x25]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5ad0f5
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x146]
mov ecx, 8
mov edx, dword [ebp - 0x13a]
call fcn.005ac594
push 0x5ad13c
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x146]
mov ecx, 0x28
mov edx, dword [ebp - 0x136]
call fcn.005ac594
mov edx, dword [ebp - 0x350]
lea eax, [ebp - 0x14]
call fcn.00405554
lea edx, [ebp - 0x354]
mov eax, dword [ebp - 0x14]
call fcn.0040a298
mov edx, dword [ebp - 0x354]
lea eax, [ebp - 0x14]
call fcn.00405324
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004052e0
lea edx, [ebp - 0x35c]
mov eax, dword [ebp - 8]
call fcn.0040a78c
mov ecx, dword [ebp - 0x35c]
lea eax, [ebp - 0x358]
mov edx, 0x5ad150
call fcn.00405598
mov eax, dword [ebp - 0x358]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x146]
mov ecx, 0x14
mov edx, dword [ebp - 0x132]
call fcn.005ac594
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.004052e0
push dword [ebp - 0x14]
push 0x5ad164
lea edx, [ebp - 0x368]
mov eax, dword [ebp - 8]
call fcn.0040a78c
push dword [ebp - 0x368]
lea eax, [ebp - 0x364]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x364]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x146]
mov ecx, 0x14
mov edx, dword [ebp - 0x132]
call fcn.005ac6e0
mov edx, dword [ebp - 0x360]
lea eax, [ebp - 0x14]
call fcn.00405324
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004052e0
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x5ad0fd
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ad12a
lea eax, [ebp - 0x368]
mov edx, 7
call fcn.004052b0
lea eax, [ebp - 0x14]
call fcn.0040528c
ret
Function at 0x5de3ec
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
mov dword [ebp - 4], eax
mov eax, 0x5de478
call fcn.004c938c
mov dword [ebp - 8], 0xffffffff
cmp byte [0x889858], 0
je 0x5de466
lea eax, [ebp - 0x13a]
xor ecx, ecx
mov edx, 0x121
call fcn.00403464
lea eax, [ebp - 0x19]
xor ecx, ecx
mov edx, 0xd
call fcn.00403464
push 0
lea eax, [ebp - 0xc]
push eax
push 0x121
lea eax, [ebp - 0x13a]
push eax
push 0xd
lea eax, [ebp - 0x19]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5de466
mov eax, dword [ebp - 0x11e]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5e06bc
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcac
xor edx, edx
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x354], edx
mov dword [ebp - 0x34c], edx
mov dword [ebp - 0x348], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e0826
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x13e]
xor ecx, ecx
mov edx, 0x121
call fcn.00403464
lea eax, [ebp - 0x1d]
xor ecx, ecx
mov edx, 0xd
call fcn.00403464
lea eax, [ebp - 0x342]
xor ecx, ecx
mov edx, 0x204
call fcn.00403464
push 0
lea eax, [ebp - 0xc]
push eax
push 0x121
lea eax, [ebp - 0x13e]
push eax
push 0xd
lea eax, [ebp - 0x1d]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5e0800
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13e]
mov ecx, 8
mov edx, dword [ebp - 0x132]
call fcn.005ac594
push 0x5e083c
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x13e]
mov ecx, 0x28
mov edx, dword [ebp - 0x12e]
call fcn.005ac594
mov edx, dword [ebp - 0x348]
lea eax, [ebp - 0x10]
call fcn.00405554
lea edx, [ebp - 0x34c]
mov eax, dword [ebp - 0x10]
call fcn.0040a298
mov edx, dword [ebp - 0x34c]
lea eax, [ebp - 0x10]
call fcn.00405324
lea eax, [ebp - 0x354]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004057ac
mov eax, dword [ebp - 0x354]
lea edx, [ebp - 0x350]
call fcn.0040a048
mov eax, dword [ebp - 0x350]
mov edx, 0x5e0850
call fcn.00405698
jne 0x5e0800
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e082d
lea eax, [ebp - 0x354]
mov edx, 4
call fcn.004052b0
lea eax, [ebp - 0x10]
call fcn.0040528c
ret
Function at 0x5e5b1c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5e5c0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 1
lea eax, [ebp - 0x13a]
xor ecx, ecx
mov edx, 0x121
call fcn.00403464
lea eax, [ebp - 0x19]
xor ecx, ecx
mov edx, 0xd
call fcn.00403464
push 0
push 0
push 3
push 0
push 3
push 0
push 0x5e5c24
lea eax, [ebp - 0x144]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x144]
push 0x5e5c34
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x140]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push 0x121
lea eax, [ebp - 0x13a]
push eax
push 0xd
lea eax, [ebp - 0x19]
push eax
push 0x2d1400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5e5be5
mov byte [ebp - 2], 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e5c13
lea eax, [ebp - 0x144]
mov edx, 2
call fcn.004052b0
ret
Function at 0x5fee0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 4], dx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5fef50
push dword fs:[eax]
mov dword fs:[eax], esp
and byte [ebp - 1], 0x7f
mov byte [ebp - 0xd], 0
cmp byte [ebp + 0xc], 0
je 0x5fee4e
xor eax, eax
mov al, byte [ebp - 1]
call fcn.005dbe4c
mov byte [ebp - 1], al
push 0
push 0x80000000
push 3
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x30]
xor eax, eax
mov al, byte [ebp - 1]
call fcn.0040a78c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x5fef6c
call fcn.00405598
mov eax, dword [ebp - 0x2c]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x5fef20
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
shld edx, eax, 9
shl eax, 9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
shrd eax, edx, 0x17
shr edx, 0x17
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5fef17
movzx eax, word [ebp - 4]
shl eax, 9
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x5fef17
push 0xc8
call sub.kernel32.dll_Sleep_1
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
jg 0x5feede
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 0xd], 0
jne 0x5fef30
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
jmp 0x5fef35
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fef57
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004052b0
ret
Function at 0x6178ec
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6179b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x61799a
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1d]
xor ecx, ecx
mov edx, 0xd
call fcn.00403464
lea eax, [ebp - 0x13e]
xor ecx, ecx
mov edx, 0x121
call fcn.00403464
push 0
lea eax, [ebp - 0x10]
push eax
push 0x121
lea eax, [ebp - 0x13e]
push eax
push 0xd
lea eax, [ebp - 0x1d]
push eax
push 0x2d1400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x617991
mov eax, dword [ebp - 0x122]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6179b7
lea eax, [ebp - 4]
call fcn.0040528c
ret
Function at 0x619be8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x619bf0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x619d64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x619c31
cmp dword [ebp - 0x14], 2
jne 0x619d3c
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov dl, byte [eax - 1]
mov eax, dword [ebp - 4]
call fcn.00619948
cmp dword [ebp - 8], 0
je 0x619d3c
mov edx, dword [ebp - 8]
mov eax, 0x619d78
call fcn.00405890
test eax, eax
jne 0x619c6e
mov edx, dword [ebp - 8]
mov eax, 0x619d84
call fcn.00405890
test eax, eax
je 0x619c7e
mov eax, dword [ebp - 8]
call fcn.00619a84
test al, al
je 0x619d3c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00608610
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.004bcc40
test eax, eax
jle 0x619d3c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x1c]
push eax
mov cl, 0x2c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004bccbc
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.0040a934
call fcn.005e80b4
test eax, eax
jg 0x619d30
lea eax, [ebp - 0x20]
push eax
mov cl, 0x2c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004bccbc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040a934
call fcn.005e82ac
test eax, eax
jg 0x619d30
lea eax, [ebp - 0x28]
push eax
mov cl, 0x2c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004bccbc
push dword [ebp - 0x28]
push 0x619d90
push dword [ebp - 8]
push 0x619d9c
push dword [ebp - 4]
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.0040560c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x619ca5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x619d6b
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004052b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052b0
ret
Function at 0x619da0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x619eb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x619dee
cmp dword [ebp - 0x14], 2
jne 0x619e8a
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov dl, byte [eax - 1]
mov eax, dword [ebp - 4]
call fcn.00619948
mov edx, dword [ebp - 8]
mov eax, 0x619ec8
call fcn.00405890
test eax, eax
jne 0x619e8a
mov edx, dword [ebp - 8]
mov eax, 0x619ed4
call fcn.00405890
test eax, eax
jne 0x619e8a
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00608610
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.004bcc40
test eax, eax
jle 0x619e8a
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x1c]
push eax
mov cl, 0x2c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004bccbc
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
call fcn.0040a78c
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00405698
jne 0x619e82
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x619e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x619eb9
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052b0
ret
Function at 0x619ed8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff660
xor edx, edx
mov dword [ebp - 0x99c], edx
mov dword [ebp - 0x9a0], edx
mov dword [ebp - 0x994], edx
mov dword [ebp - 0x998], edx
mov dword [ebp - 0x990], edx
mov dword [ebp - 0x98c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x61a118
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
je 0x619f47
cmp dword [ebp - 0x10], 2
jne 0x61a0e5
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dl, byte [eax - 1]
mov eax, dword [ebp - 4]
call fcn.00619948
lea eax, [ebp - 0x98c]
mov ecx, dword [ebp - 4]
mov edx, 0x61a12c
call fcn.00405598
mov eax, dword [ebp - 0x98c]
call fcn.004c938c
lea eax, [ebp - 0x990]
mov ecx, dword [ebp - 0x18]
mov edx, 0x61a148
call fcn.00405598
mov eax, dword [ebp - 0x990]
call fcn.004c938c
mov edx, dword [ebp - 0x18]
mov eax, 0x61a164
call fcn.00405890
test eax, eax
jne 0x619fb6
mov edx, dword [ebp - 0x18]
mov eax, 0x61a170
call fcn.00405890
test eax, eax
je 0x619fc6
mov eax, dword [ebp - 0x18]
call fcn.00619a84
test al, al
je 0x61a0e5
lea edx, [ebp - 0x988]
mov eax, dword [ebp - 4]
call fcn.00608490
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x61a0e5
mov eax, dword [ebp - 0x988]
dec eax
test eax, eax
jl 0x61a0e5
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
mov eax, dword [ebp + eax*8 - 0x980]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x998]
call fcn.0040a878
mov ecx, dword [ebp - 0x998]
lea eax, [ebp - 0x994]
mov edx, 0x61a17c
call fcn.00405598
mov eax, dword [ebp - 0x994]
call fcn.004c938c
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
mov eax, dword [ebp + eax*8 - 0x980]
xor edx, edx
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cdq
cmp edx, dword [esp + 4]
jne 0x61a059
cmp eax, dword [esp]
pop edx
pop eax
jne 0x61a0d9
push dword [ebp - 4]
push 0x61a198
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
push dword [ebp + eax*8 - 0x974]
push dword [ebp + eax*8 - 0x978]
lea eax, [ebp - 0x99c]
call fcn.0040a878
push dword [ebp - 0x99c]
push 0x61a198
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
push dword [ebp + eax*8 - 0x96c]
push dword [ebp + eax*8 - 0x970]
lea eax, [ebp - 0x9a0]
call fcn.0040a878
push dword [ebp - 0x9a0]
push 0x61a198
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 7
call fcn.0040560c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x619ffb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61a11f
lea eax, [ebp - 0x9a0]
mov edx, 6
call fcn.004052b0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret