Function at 0x10027b80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082b1a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], 0
push ecx
mov dword [ebp - 4], 0
lea ebx, [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov esi, esp
mov dword [ebp - 0x14], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10032000
add esp, 4
test eax, eax
je 0x10027ced
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10027c6c
lea edx, [eax + 2]
lea ecx, [ebp - 0x20]
call fcn.10027980
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push str.SandboxCfg_GetFileFlags__s_:_special_case__Prog_repository___returning__s
push eax
call fcn.1003a800
add esp, 0x10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
call fcn.100394f0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10027c42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10027c62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 2
jmp 0x1002818c
cmp eax, 1
jne 0x10027c8e
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.10027980
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push dword [eax]
push dword [ebp + 8]
push str.SandboxCfg_GetFileFlags__s_:_special_case__Data_repository___returning__s
jmp 0x10027caf
cmp eax, 0xffffffff
jne 0x10027ced
lea edx, [eax + 2]
lea ecx, [ebp - 0x20]
call fcn.10027980
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
push dword [eax]
push dword [ebp + 8]
push str.SandboxCfg_GetFileFlags__s_:_special_case__BaseDir___returning__s
push ecx
call fcn.1003a800
add esp, 0x10
call fcn.10021810
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
add esp, 4
add edx, 0xfffffff0
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10027ce3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1002818c
push str.Content.IE5index.dat
lea ecx, [ebp - 0x1c]
call fcn.10022bb0
push str.Cookiesindex.dat
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.10022bb0
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.100292c0
mov byte [ebp - 4], 7
xor edx, edx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov dword [ebp - 0x14], 1
setne dl
test edx, edx
jne 0x10027d44
push 0x80004005
call fcn.10021340
push ecx
push dword [eax]
call fcn.1006af63
add esp, 8
test eax, eax
je 0x10027dc5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push dword [eax - 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.100292c0
mov dword [ebp - 4], 8
xor edx, edx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
mov dword [ebp - 0x14], 3
setne dl
test edx, edx
jne 0x10027d8b
push 0x80004005
call fcn.10021340
push ecx
push dword [eax]
call fcn.1006af63
add esp, 8
test eax, eax
je 0x10027dc5
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x10027dbf
push str.History.IE5_
push eax
call fcn.1006bdbf
add esp, 8
test eax, eax
je 0x10027dbf
sub eax, dword [ebp + 8]
sar eax, 1
cmp eax, 0xffffffff
jne 0x10027dc5
mov byte [ebp - 0xd], 0
jmp 0x10027dc9
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
test dl, 2
je 0x10027e00
mov esi, dword [ebp - 0x20]
and edx, 0xfffffffd
add esi, 0xfffffff0
mov dword [ebp - 0x14], edx
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10027e00
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 6
test dl, 1
je 0x10027e28
mov edx, dword [ebp - 0x24]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10027e28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10027eab
mov edx, 1
lea ecx, [ebp - 0x24]
call fcn.10027980
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push str.SandboxCfg_GetFileFlags__s_:_special_case__index.dat___returning__s
push eax
call fcn.1003a800
add esp, 0x10
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x14]
call fcn.100394f0
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10027e81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10027ea1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1002814c
test edi, edi
je 0x10027f45
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
lea ecx, [ebp - 0x20]
mov dword [esi], eax
call fcn.10031bf0
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x10027f25
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10027f19
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10027f19
call fcn.100236e0
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10027f11
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebp + 8], eax
jmp 0x10027f25
push dword [edx - 0xc]
lea ecx, [ebp + 8]
push edx
call fcn.10023530
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10027f45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x100b0b28], 0
je 0x10028032
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
cmp ecx, 2
jl 0x10028032
cmp ecx, 1
jge 0x10027f70
push 0x80070057
call fcn.10021340
mov eax, dword [ebp + 8]
cmp word [eax + 2], 0x5f
jne 0x10028032
test ecx, ecx
jns 0x10027f8c
push 0x80070057
call fcn.10021340
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
movzx eax, word [eax]
push eax
push str.About_to_GetDriveType__c:_
push ecx
call fcn.1003a800
add esp, 0xc
call fcn.10021810
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [eax - 0xc], 0
jge 0x10027fbf
push 0x80070057
call fcn.10021340
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x24]
push str._c:_
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.10022680
cmp esi, 2
jne 0x10028032
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jge 0x10027ffe
push 0x80070057
call fcn.10021340
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x24]
push 0x10091108
push eax
call fcn.1003a800
add esp, 0xc
push str._RemovableDrives_
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 8]
push dword [eax]
call fcn.10028f50
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.10022680
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 0xd
mov ebx, esp
mov dword [ebp - 0x28], esp
mov edi, 0x5c
push ecx
mov ecx, dword [ebp + 8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
mov edx, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.1003a890
mov ecx, esp
mov byte [ebp - 4], 0xe
push str.FILENAMES
call fcn.10022bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.1003a550
add esp, 0xc
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
call fcn.100279e0
mov byte [ebp - 4], 6
or ebx, 0xffffffff
mov edx, dword [ebp - 0x24]
mov esi, eax
add edx, 0xfffffff0
add esp, 4
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100280ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 0
jne 0x1002814c
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 0x10
mov esi, esp
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov dword [ebp - 0x28], esp
call fcn.100236e0
add eax, 0x10
mov dword [esi], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x11
push str.FILES
call fcn.10022bb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.1003a550
add esp, 0xc
mov byte [ebp - 4], 0x12
mov edx, dword [eax]
call fcn.100279e0
mov byte [ebp - 4], 6
mov esi, eax
mov edx, dword [ebp - 0x24]
add esp, 4
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002814c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002816c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002818c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100281ad
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret