Function at 0x410b50
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov eax, dword [0x464504]
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov dword [esp + 0xc], str.HostFiles.NewLocator
mov dword [0x464504], eax
push 0x456c88
call fcn.004096d0
add esp, 4
mov esi, eax
add eax, 4
push 0x104
push eax
push dword [esp + 0x238]
call fcn.00401e00
add esp, 0xc
mov ebp, 0xfffffffe
lea eax, [ebp + 2]
cmp eax, 0x104
jb 0x410bd2
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x12b
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
inc ebp
cmp word [esi + eax*2 + 4], 0
jne 0x410ba0
cmp ebp, 0x104
mov eax, ebp
jb 0x410c0d
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x12e
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
movzx eax, word [esi + eax*2 + 4]
cmp eax, 0x2f
je 0x410c53
cmp ebp, 0x104
mov eax, ebp
jb 0x410c49
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x12e
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
movzx eax, word [esi + eax*2 + 4]
cmp eax, 0x5c
jne 0x410c8a
cmp ebp, 0x104
jb 0x410c83
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x12f
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor ebp, ebp
mov word [esi + ebp*2 + 4], 0
mov eax, dword [esp + 0x230]
mov dword [esp], 1
movzx eax, word [eax]
cmp eax, 0x5c
je 0x410cac
movzx eax, ax
cmp eax, 0x2f
jne 0x410d41
cmp dword [esp + 0x234], 1
mov eax, 1
ja 0x410ce3
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x133
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x230]
movzx eax, word [ecx + eax*2]
cmp eax, 0x5c
je 0x410d3a
cmp dword [esp + 0x234], 1
mov eax, 1
ja 0x410d2a
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x134
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x230]
movzx eax, word [ecx + eax*2]
cmp eax, 0x2f
jne 0x410d41
mov dword [esp], 4
mov ebp, 0xffffffff
nop word cs:[eax + eax]
lea edi, [ebp + 1]
cmp edi, dword [esp + 0x234]
mov eax, edi
jb 0x410d86
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x138
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x230]
cmp edi, 0x104
movzx ebx, word [ecx + eax*2]
mov eax, edi
jb 0x410dc3
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x139
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
mov word [esp + eax*2 + 0x14], bx
movzx eax, bx
cmp eax, 0x2f
je 0x410dd5
cmp eax, 0x5c
jne 0x410de0
mov eax, dword [esp]
dec eax
mov dword [esp], eax
jmp 0x410de3
mov eax, dword [esp]
inc ebp
test bx, bx
je 0x410df1
test eax, eax
jne 0x410d50
lea eax, [ebp + 1]
test bx, bx
je 0x410e58
cmp eax, 0x104
jb 0x410e28
push 0x464504
push 0xfffffffffffffff9
call fcn.00401380
add esp, 8
push 0x142
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
add esp, 0xc
xor eax, eax
mov word [esp + eax*2 + 0x14], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
mov edx, esp
lea edi, [esp + 0x14]
push 0
push 0
push eax
push ecx
push edx
push 0
push 0
push edi
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x410ea0
mov eax, dword [esp + 4]
jmp 0x410eb5
cmp edi, 0x104
jb 0x410e8c
push 0x464504
push 0xfffffffffffffff9
mov edi, eax
call fcn.00401380
add esp, 8
push 0x140
push str.HostFiles.c
push 0x43d25a
call fcn.00424f0d
mov eax, edi
add esp, 0xc
xor ebp, ebp
mov word [esp + ebp*2 + 0x14], 0x5c
cmp eax, 0x104
jae 0x410e00
jmp 0x410e28
mov eax, 0xc
mov dword [esp + 4], 0xc
mov dword [esp + 0x10], 0
mov dword [esi + 0x20c], eax
mov byte [esi + 0x210], 0
mov eax, dword [esp + 8]
mov dword [0x464504], eax
mov eax, esi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret