Function at 0x1000a52b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.10055dbc
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x10104252
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, 0x10104251
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000a598
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x1bc
call fcn.100574d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a5d3
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000ad2e
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
push 0x1000
push dword [ebp - 0x24]
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100025f4
test eax, eax
je 0x1000aca7
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 2
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000a632
mov eax, 0x10104252
push eax
push 3
mov ebx, 0x19c
call fcn.10057150
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x1000a666
and eax, 0xff
jmp 0x1000a6bb
cmp ecx, 0x80000201
jne 0x1000a671
cwde
jmp 0x1000a6bb
cmp ecx, 0x80000301
je 0x1000a6bb
cmp ecx, 0x80000401
je 0x1000a6bb
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x1000a6ab
cmp ecx, 0x80000601
je 0x1000a6b0
push 0xd6
push 0x403566c
push 2
call fcn.10055dda
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x1000a6b6
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.100026d3
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000301
push 0
push 9
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000a6e7
mov eax, 0x10104252
push eax
push 3
mov ebx, 0x1a8
call fcn.10057500
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000a711
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000ad52
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000a737
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 0x14], 0
jne 0x1000a799
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000a775
push 0x1f8
push 0x403566c
push 6
call fcn.10055dda
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000a794
push eax
mov ebx, eax
call fcn.10002d7b
inc eax
push eax
call fcn.10055dbc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000acb1
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.100574d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000a7ce
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000a7df
add eax, 8
push eax
push 0x100
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000a80b
push 0x264
push 0x403566c
push 6
call fcn.10055dda
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push htons
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1000a82b
mov eax, 0x10104252
push eax
push 2
mov ebx, 0x1a0
call fcn.10057550
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000a855
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push htons
push 0
push 0x10104381
push htons
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1000a87e
mov eax, 0x10104252
push eax
push 3
mov ebx, 0x1c4
call fcn.10057580
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000a8b6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000a8b2
imul eax, dword [ebx]
jmp 0x1000a8a7
mov ecx, eax
test ecx, ecx
je 0x1000a8d5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000a8ce
push ebx
push eax
call fcn.10055db6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000a8bc
call fcn.10055db6
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001b1f
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000ac52
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.10056740
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000a935
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001104
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000a960
push 0x376
push 0x403566c
push 4
call fcn.10055dda
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000a97d
push 0x376
push 0x403566c
push 1
call fcn.10055dda
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
call fcn.10001104
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000a9ac
push 0x396
push 0x403566c
push 4
call fcn.10055dda
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000a9c9
push 0x396
push 0x403566c
push 1
call fcn.10055dda
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push 0x1010438b
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ecx, 2
call fcn.1000a4cc
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000aa01
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001104
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000aa2e
push 0x3cc
push 0x403566c
push 4
call fcn.10055dda
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000aa4b
push 0x3cc
push 0x403566c
push 1
call fcn.10055dda
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
push 0x80
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x1000aa6a
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000aa91
push 0x3cc
push 0x403566c
push 6
call fcn.10055dda
add esp, 0xc
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000aab6
mov eax, 0x10104251
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1000aacc
mov eax, 0x10104251
push eax
push 4
mov ebx, 0x148
call fcn.100572f0
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x1000ac4a
mov ebx, dword [ebp - 0x18]
call fcn.10001104
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000ab13
push 0x48a
push 0x403566c
push 4
call fcn.10055dda
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000ab30
push 0x48a
push 0x403566c
push 1
call fcn.10055dda
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push htons
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x1000ab4d
mov eax, 0x10104252
push eax
push 1
mov ebx, 0x168
call fcn.10056a30
add esp, 0x10
mov dword [ebp - 0x28], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.1000a523
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1000ab8c
mov eax, 0x10104251
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000aba0
mov eax, 0x10104251
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1000abb6
mov eax, 0x10104251
push eax
push 6
mov ebx, 0x180
call fcn.10057740
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000abdc
push ebx
call fcn.10055db6
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000abf2
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000ac26
push 0x4c4
push 0x403566c
push 6
call fcn.10055dda
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000ac45
push eax
mov ebx, eax
call fcn.10002d7b
inc eax
push eax
call fcn.10055dbc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000acb1
pop eax
pop ebx
pop ecx
jmp 0x1000a8f2
add esp, 0xc
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
xor eax, eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000ac83
push 0x51a
push 0x403566c
push 6
call fcn.10055dda
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1000aca2
push eax
mov ebx, eax
call fcn.10002d7b
inc eax
push eax
call fcn.10055dbc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000acb1
mov eax, 0x10104251
jmp 0x1000acb1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000acc2
push ebx
call fcn.10055db6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000acd2
push ebx
call fcn.10055db6
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000acf0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000acec
imul eax, dword [ebx]
jmp 0x1000ace1
mov ecx, eax
test ecx, ecx
je 0x1000ad0f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000ad08
push ebx
push eax
call fcn.10055db6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000acf6
call fcn.10055db6
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000ad27
push ebx
call fcn.10055db6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10