Function at 0x41aff2
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
mov eax, dword [0x448010]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov ecx, dword [edi]
sub ecx, 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0040ab13
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
call fcn.0040522e
push eax
lea ecx, [esp + 0x18]
call fcn.004028b4
push ebx
push 0x3f
mov ecx, edi
call fcn.00409b22
mov ebp, eax
test ebp, ebp
jle 0x41b0ad
push ebp
push ebx
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.0040999a
push eax
lea ecx, [esp + 0x14]
call fcn.00409e7f
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.004052ff
push ebp
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00409a20
push eax
lea ecx, [esp + 0x18]
call fcn.00409e7f
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.00426705
mov edi, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
je 0x41b0c9
sub eax, esi
sar eax, 1
jns 0x41b153
mov ebp, 0x443114
movzx eax, word [ebp]
push eax
push esi
call fcn.00426705
pop ecx
pop ecx
test eax, eax
je 0x41b0e5
sub eax, esi
sar eax, 1
jns 0x41b153
add ebp, 2
cmp ebp, 0x44311a
jl 0x41b0ce
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], ebx
push eax
push 0x64
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [esp + 0x1c], eax
mov ebp, ebx
lea eax, [esp + 0x48]
lea eax, [eax + ebp*2]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x41b14d
lea eax, [esp + 0x48]
lea eax, [eax + ebp*2]
push eax
lea ecx, [esp + 0x18]
call fcn.00404f61
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.00409766
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004052ff
mov eax, dword [esp + 0x1c]
jmp 0x41b16d
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.00409766
jmp 0x41b1f3
cmp word [esp + ebp*2 + 0x48], bx
je 0x41b171
inc ebp
cmp ebp, eax
jb 0x41b165
inc ebp
cmp ebp, eax
jb 0x41b10f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
call fcn.0040ea74
lea ecx, [esp + 0x3c]
call fcn.0040972d
mov ebp, dword [esp + 0x24]
test ebp, ebp
jle 0x41b1f3
push ebx
lea ecx, [esp + 0x24]
call fcn.00409706
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0040ab13
push dword [esi - 0xc]
add eax, 0x10
lea ecx, [esp + 0x14]
push esi
mov dword [esp + 0x18], eax
call fcn.00402b67
push dword [edi - 0xc]
lea ecx, [esp + 0x14]
push edi
call fcn.00402b67
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.00409706
mov ecx, eax
call fcn.00409e7f
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004052ff
inc ebx
cmp ebx, ebp
jl 0x41b195
xor ebx, ebx
cmp byte [esp + 0x120], 0
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], bl
je 0x41b20e
lea ecx, [esp + 0x34]
call fcn.0041c0d3
cmp dword [esp + 0x24], 0
mov ebp, ebx
jle 0x41b241
push dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push dword [esp + 0x124]
push ebp
call fcn.00409706
mov ecx, dword [esp + 0x38]
push eax
call fcn.0041b283
test eax, eax
je 0x41b244
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x41b217
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x34]
call fcn.0041c0b3
lea ecx, [edi - 0x10]
call fcn.004052ff
lea ecx, [esi - 0x10]
call fcn.004052ff
lea ecx, [esp + 0x20]
call fcn.0040972d
mov ecx, dword [esp + 0x114]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004246ea
add esp, 0x108
ret 0xc