Function at 0x41a886
Capabilities:
Get disk information

Disassembly:
push 0x80
mov eax, 0x432bc8
call fcn.004318dd
mov ebx, ecx
mov dword [ebp - 0x78], ebx
xor edi, edi
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x84], edi
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x404f24
call fcn.0041314d
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x404f58
call fcn.0041314d
push 0x1fc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00412723
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push edi
xor eax, eax
mov dword [ebp - 0x80], edi
push 0x104
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.0041a80f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x38]
call fcn.004137cd
cmp dword [ebp + 0x1c], 8
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
jae 0x41a929
lea eax, [ebp + 8]
lea edx, [ebp - 0x80]
push edx
push dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004136db
test esi, esi
jne 0x41aa09
push edi
push dword [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.00413aec
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call fcn.004137cd
cmp dword [ebp + 0x1c], 8
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
jae 0x41a971
lea eax, [ebp + 8]
lea edx, [ebp - 0x80]
push edx
push dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004136db
test esi, esi
je 0x41aa09
push 0x404fa0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x404ef0
call fcn.0041314d
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x404f24
call fcn.0041314d
push 0x20a
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x404f58
call fcn.0041314d
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
call fcn.004125b8
add esp, 0x54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jg 0x41a9f6
mov edi, esi
jmp 0x41a9ff
movzx edi, si
or edi, 0x80070000
test esi, esi
jne 0x41aa9c
xor edi, edi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00412eff
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x84], 1
jae 0x41aa6f
lea esi, [ebp - 0x28]
jmp 0x41aa6f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x41aa31
sub ecx, edx
sar ecx, 1
cmp dword [ebx + 0x10], ecx
jbe 0x41aa55
push esi
call fcn.00413124
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.004130a9
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x41aa5a
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], di
jne 0x41aa2c
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00413b40
lea ecx, [ebp - 0x74]
call fcn.004127db
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00413b40
mov eax, ebx
call fcn.0043188c
ret 0x18
push 0x404fa0
sub esp, 0x18
mov ecx, esp
push 0x4050c8
call fcn.0041314d
lea eax, [ebp - 0x74]
push eax
call fcn.004124a5
add esp, 0x20
push esi
sub esp, 0x18
mov ecx, esp
push 0x405104
call fcn.0041314d
lea eax, [ebp - 0x74]
push eax
call fcn.004124a5
add esp, 0x20
lea ecx, [ebp - 0x40]
mov edx, edi
call fcn.00412874
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00413833
push eax
sub esp, 0x18
mov ecx, esp
push 0x403c6c
call fcn.0041314d
lea eax, [ebp - 0x74]
push eax
call fcn.004124a5
add esp, 0x20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00413b89
sub esp, 0x18
mov ecx, esp
push 0x403bd8
call fcn.0041314d
lea eax, [ebp - 0x74]
push eax
call fcn.004124a5
add esp, 0x1c
mov dword [ebp - 0x78], edi
lea eax, [ebp - 0x78]
push 0x4394e4
push eax
call sub.msvcrt.dll__CxxThrowException
int3