Function at 0x1028500
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1032c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x1028545
test byte [eax + 0x1c], 1
je 0x1028545
cmp byte [eax + 0x19], 4
jb 0x1028545
push 0x1003ed8
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005393
xor eax, eax
mov byte [ebp - 0x20e], 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x20d], al
cmp ebx, eax
jne 0x102857e
push 0x10042e8
push 0x509
push 0x1003fd0
call fcn.01028938
mov esi, 0x1003750
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x208
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20c]
push 0
push eax
movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20e]
push eax
call fcn.01027c22
mov esi, eax
test esi, esi
jge 0x10285ed
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x10287e9
test byte [eax + 0x1c], 1
je 0x10287e9
cmp byte [eax + 0x19], 2
jb 0x10287e9
push esi
push 0x1003ed8
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010053b9
jmp 0x10287e4
cmp byte [ebp - 0x20e], 0
jne 0x102860a
push 0x10042dc
push 0x513
push 0x1003fd0
call fcn.01028938
lea eax, [ebp - 0x21c]
push eax
call fcn.010273cc
mov edi, dword [ebp - 0x21c]
mov esi, eax
test esi, esi
jge 0x102865e
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x10287d9
test byte [eax + 0x1c], 1
je 0x10287d9
cmp byte [eax + 0x19], 2
jb 0x10287d9
push esi
push 0x1003ed8
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010053b9
jmp 0x10287d4
lea eax, [ebp - 0x20d]
push eax
push edi
call fcn.010276f6
mov esi, eax
test esi, esi
jl 0x10287d4
cmp byte [ebp - 0x20d], 0
jne 0x10286b9
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x10287d9
test byte [eax + 0x1c], 1
je 0x10287d9
cmp byte [eax + 0x19], 4
jb 0x10287d9
push 0x1003ed8
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005393
jmp 0x10287d4
lea eax, [ebp - 0x218]
push eax
push edi
push dword [0x1032c50]
call fcn.01028acc
mov esi, eax
test esi, esi
jl 0x10287d4
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x218]
call fcn.01028d87
mov esi, eax
test esi, esi
jl 0x10287d4
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1028763
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1028722
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x10287d9
test byte [eax + 0x1c], 1
je 0x10287d9
cmp byte [eax + 0x19], 2
jb 0x10287d9
push esi
push dword [ebp - 0x214]
push 0x1003ed8
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01007e21
jmp 0x10287d4
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0102aed5
mov esi, eax
test esi, esi
jl 0x10287d4
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x10287d9
test byte [eax + 0x1c], 1
je 0x10287d9
cmp byte [eax + 0x19], 4
jb 0x10287d9
movzx ecx, byte [ebx + 0xf]
push ecx
movzx ecx, byte [ebx + 0xe]
push ecx
movzx ecx, byte [ebx + 0xd]
push ecx
movzx ecx, byte [ebx + 0xc]
push ecx
movzx ecx, byte [ebx + 0xb]
push ecx
movzx ecx, byte [ebx + 0xa]
push ecx
movzx ecx, byte [ebx + 9]
push ecx
movzx ecx, byte [ebx + 8]
push ecx
movzx ecx, word [ebx + 6]
push ecx
movzx ecx, word [ebx + 4]
push ecx
push dword [ebx]
push 0x1003ed8
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026ddf
mov eax, dword [0x1032370]
test edi, edi
je 0x10287e9
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x1032370]
cmp dword [ebp - 0x218], 0
je 0x1028803
push dword [ebp - 0x218]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x1032370]
cmp dword [ebp - 0x214], 0
je 0x102881d
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x1032370]
test esi, esi
jge 0x102884c
cmp eax, 0x1032370
je 0x1028871
test byte [eax + 0x1c], 1
je 0x102884c
cmp byte [eax + 0x19], 2
jb 0x102884c
push esi
push 0x1003ed8
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010053b9
mov eax, dword [0x1032370]
cmp eax, 0x1032370
je 0x1028871
test byte [eax + 0x1c], 1
je 0x1028871
cmp byte [eax + 0x19], 4
jb 0x1028871
push 0x1003ed8
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01005393
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01026693
leave
ret 4