Function at 0x41c6b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43437b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
mov esi, 1
push 0x438e28
lea ecx, [ebp + 0x70]
mov dword [ebp - 4], esi
call fcn.00415af0
push eax
call sub.msvcrt.dll_strtok_s
add esp, 0xc
xor ebx, ebx
push ebx
push str._DRIVE_FIXED_
lea ecx, [ebp + 0x64]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
call fcn.00415af0
push eax
call dword [0x655e74]
test eax, eax
je 0x41c716
mov ebx, esi
push 0
push str._DRIVE_REMOVABLE_
lea ecx, [ebp + 0x64]
call fcn.00415af0
push eax
call dword [0x655e74]
test eax, eax
je 0x41c735
mov ebx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41c9ad
test ebx, ebx
je 0x41c8c5
lea ecx, [ebp - 0x80]
push ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [ebp - 0x80], 0
lea edi, [ebp - 0x80]
je 0x41c98f
push 0x3e8
lea edx, [ebp - 0x468]
push 0
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x18], 0
je 0x41c7a7
cmp eax, 2
jne 0x41c7a7
lea ecx, [ebp + 0x64]
call fcn.00415af0
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0x655f84]
push edi
push 0x438e50
jmp 0x41c7c3
lea ecx, [ebp + 0x64]
call fcn.00415af0
push eax
lea eax, [ebp - 0x468]
push eax
call dword [0x655f84]
push edi
push 0x438e40
lea ecx, [ebp - 0x468]
push ecx
call fcn.00417790
add esp, 0xc
push eax
lea edx, [ebp - 0x468]
push edx
call dword [0x655f84]
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x84]
mov edx, dword [ebp + 0x80]
push 0
push eax
mov eax, dword [ebp + 0x7c]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push 0
push eax
push ecx
lea edx, [ebp - 0x468]
push edx
lea ecx, [ebp + 0x58]
call fcn.00415af0
push eax
push 0x435476
lea ecx, [ebp + 0x8c]
call fcn.00415af0
push eax
sub esp, 0x50
mov esi, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00415810
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.00415810
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0x28]
mov dword [esi + 0x18], edx
mov eax, dword [ebp + 0x24]
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
call fcn.00415810
mov edx, dword [ebp + 0x34]
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp + 0x3c]
mov dword [esi + 0x34], ecx
mov edx, dword [ebp + 0x40]
mov dword [esi + 0x38], edx
mov eax, dword [ebp + 0x44]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp + 0x48]
mov dword [esi + 0x40], ecx
mov edx, dword [ebp + 0x4c]
mov dword [esi + 0x44], edx
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x48], eax
mov ecx, dword [ebp + 0x54]
mov dword [esi + 0x4c], ecx
mov byte [ebp - 4], 1
call fcn.0041c260
add esp, 0x80
push edi
call dword [0x655dfc]
cmp byte [edi + eax + 1], 0
lea edi, [edi + eax + 1]
jne 0x41c761
jmp 0x41c98f
mov edx, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x84]
push 0
push edx
mov edx, dword [ebp + 0x80]
push 0
push ecx
mov ecx, dword [ebp + 0x7c]
push edx
push 0
push ecx
push eax
lea ecx, [ebp + 0x64]
call fcn.00415af0
push eax
lea ecx, [ebp + 0x58]
call fcn.00415af0
push eax
push 0x435476
lea ecx, [ebp + 0x8c]
call fcn.00415af0
push eax
sub esp, 0x50
mov esi, esp
mov dword [ebp - 0x14], esp
lea edx, [ebp + 8]
push edx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00415810
lea eax, [ebp + 0x14]
push eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 4
call fcn.00415810
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x18], ecx
mov edx, dword [ebp + 0x24]
lea eax, [ebp + 0x28]
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
mov dword [esi + 0x1c], edx
call fcn.00415810
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x2c], ecx
mov edx, dword [ebp + 0x38]
mov dword [esi + 0x30], edx
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x34], eax
mov ecx, dword [ebp + 0x40]
mov dword [esi + 0x38], ecx
mov edx, dword [ebp + 0x44]
mov dword [esi + 0x3c], edx
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x40], eax
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x44], ecx
mov edx, dword [ebp + 0x50]
mov dword [esi + 0x48], edx
mov eax, dword [ebp + 0x54]
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 1
call fcn.0041c260
add esp, 0x80
lea ecx, [ebp - 0x1c]
push ecx
push 0x438e28
push 0
call sub.msvcrt.dll_strtok_s
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x41c740
push 4
lea edx, [ebp - 0x10]
push edx
call fcn.004171f0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xc
call fcn.00415850
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xb
call fcn.00415850
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00415850
lea ecx, [ebp + 0x8c]
mov dword [ebp - 4], 0xf
call fcn.00415850
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 0xe
call fcn.00415850
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0xd
call fcn.00415850
lea ecx, [ebp + 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00415850
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret