Function at 0x4090b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x45db56
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x478354]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478354]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov eax, dword [esp + 0x274]
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
je 0x40934a
mov edi, 0x463d0b
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40934a
push 0x104
lea eax, [esp + 0x159]
push ebx
push eax
mov byte [esp + 0x160], dl
call fcn.0043eb30
add esp, 0xc
lea ecx, [esp + 0x154]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, ebx
je 0x40934a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea edx, [esp + 0x154]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x270], ebx
call fcn.00408fb0
add esp, 4
xor edi, edi
jmp 0x409180
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x40934a
mov ecx, dword [esp + 0x20]
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, esi
jae 0x409326
push 0x104
lea eax, [esp + 0x51]
push 0
push eax
mov byte [esp + 0x58], 0
call fcn.0043eb30
add esp, 0xc
cmp edi, esi
jb 0x4091d3
call fcn.0043c81d
mov ebp, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [ebx + ebp + 0x18], esi
jb 0x4091e4
mov ebp, dword [ebx + ebp + 4]
jmp 0x4091e8
lea ebp, [ebx + ebp + 4]
push 0x104
lea ecx, [esp + 0x50]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409200
sub eax, edx
mov ebp, eax
je 0x4092a2
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], cl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409230
sub eax, edx
push eax
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x38]
call fcn.00406100
push 1
push 0x4640f0
lea eax, [esp + 0x38]
mov byte [esp + 0x274], 1
call fcn.00408660
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x409270
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push ecx
push eax
push edx
call fcn.004540d2
add esp, 0xc
test eax, eax
je 0x4092ad
mov byte [esp + 0x26c], 0
cmp dword [esp + 0x48], esi
jb 0x4092a2
mov eax, dword [esp + 0x34]
push eax
call fcn.0043c992
add esp, 4
add edi, 1
add ebx, 0x1c
jmp 0x409180
lea esi, [esp + 0x18]
call fcn.004062d0
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x4092c5
mov ecx, dword [eax + 4]
jmp 0x4092c8
lea ecx, [eax + 4]
mov edi, dword [esp + 0x28]
mov edx, edi
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4092d0
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + ebp]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4092e7
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4092f7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [esp + 0x48], ebx
rep movsb byte es:[edi], byte [esi]
jb 0x409322
mov edx, dword [esp + 0x34]
push edx
call fcn.0043c992
add esp, 4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x40934a
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push eax
mov eax, ebp
call fcn.00408960
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call fcn.0043c992
add esp, 4
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0043c23a
add esp, 0x25c
ret