Function at 0x424d88
Capabilities:
Get disk information

Disassembly:
push 0x258
mov eax, 0x46bf53
call fcn.0045f3fe
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
xor edi, edi
lea eax, [ebp - 0x21a]
mov esi, edx
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x248], esi
call fcn.004433d0
add esp, 0xc
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x220], eax
jb 0x424dd2
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push edi
push edi
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.004610c9
add esp, 0x24
cmp byte [ebx + 0x29], 0
jne 0x424f37
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
cmp eax, edi
je 0x424ec6
cmp eax, 1
je 0x424ec6
cmp eax, 2
jne 0x424e6d
push 0x1255
lea eax, [ebp - 0x264]
push eax
call fcn.0044bdfb
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x424e3d
mov eax, dword [eax + 4]
jmp 0x424e40
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004610c9
mov byte [ebp - 4], 3
mov ebx, dword [ebx + 0x24]
lea ecx, [ebx + 0x28]
mov eax, dword [ecx]
push 0x10
lea edx, [ebp - 0x244]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 2
jmp 0x424f10
cmp eax, 3
je 0x424f37
push 0x1256
lea eax, [ebp - 0x264]
push eax
call fcn.0044bdfb
mov dword [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x424e99
mov eax, dword [eax + 4]
jmp 0x424e9c
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004610c9
mov byte [ebp - 4], 5
mov ebx, dword [ebx + 0x24]
lea ecx, [ebx + 0x28]
mov eax, dword [ecx]
push 0x10
lea edx, [ebp - 0x244]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 4
jmp 0x424f10
push 0x1254
lea eax, [ebp - 0x264]
push eax
call fcn.0044bdfb
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 8
jb 0x424ee5
mov eax, dword [eax + 4]
jmp 0x424ee8
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004610c9
mov byte [ebp - 4], 1
mov ebx, dword [ebx + 0x24]
lea ecx, [ebx + 0x28]
mov eax, dword [ecx]
push 0x10
lea edx, [ebp - 0x244]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 0
push edi
push 1
lea ecx, [ebp - 0x244]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x264]
call fcn.004610c9
xor eax, eax
jmp 0x425076
test byte [0x48278c], 1
mov dword [ebp - 0x240], 0x126d
mov dword [ebp - 0x23c], 0x1269
mov dword [ebp - 0x238], 0x126a
mov dword [ebp - 0x234], 0x126c
mov dword [ebp - 0x230], 0x126e
mov dword [ebp - 0x22c], 0x126b
jne 0x424fac
or dword [0x48278c], 1
push 6
pop ecx
mov dword [ebp - 4], ecx
sub esp, 0x18
mov edi, esp
lea esi, [ebp - 0x240]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x481280
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x248]
xor edi, edi
cmp dword [esi + 0x18], 8
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
jb 0x424fc6
mov eax, dword [eax]
movzx ecx, byte [ebx + 0x29]
push ecx
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push eax
mov ecx, 0x481280
call fcn.004610c9
test eax, eax
je 0x425073
push dword [ebp - 0x228]
lea eax, [ebp - 0x264]
push eax
call fcn.0044bdfb
mov dword [ebp - 4], 7
cmp dword [eax + 0x18], 8
jb 0x425010
mov eax, dword [eax + 4]
jmp 0x425013
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004610c9
mov byte [ebp - 4], 8
mov eax, dword [ebx + 0x24]
push dword [ebp - 0x224]
lea ecx, [eax + 0x28]
mov eax, dword [ecx]
lea edx, [ebp - 0x244]
push edx
call dword [eax + 0xc]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x244]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x264]
call fcn.004610c9
xor eax, eax
test bl, bl
sete al
jmp 0x425076
xor eax, eax
inc eax
call fcn.0045f490
ret