Function at 0x4242fe
Capabilities:
Get disk information

Disassembly:
push 0x258
mov eax, 0x46c3fe
call fcn.0045f4d4
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.00443420
add esp, 0xc
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x220], eax
jb 0x424348
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.0043f0ea
add esp, 0x24
cmp byte [ebx + 0x29], 0
jne 0x4244ad
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, edi
je 0x42443c
cmp eax, 1
je 0x42443c
cmp eax, 2
jne 0x4243e3
push 0x1255
lea eax, [ebp - 0x264]
push eax
call fcn.0044be4b
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x4243b3
mov eax, dword [eax + 4]
jmp 0x4243b6
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004132cd
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 0x424486
cmp eax, 3
je 0x4244ad
push 0x1256
lea eax, [ebp - 0x264]
push eax
call fcn.0044be4b
mov dword [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x42440f
mov eax, dword [eax + 4]
jmp 0x424412
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004132cd
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 0x424486
push 0x1254
lea eax, [ebp - 0x264]
push eax
call fcn.0044be4b
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 8
jb 0x42445b
mov eax, dword [eax + 4]
jmp 0x42445e
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004132cd
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.00411dad
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x264]
call fcn.00411dad
xor eax, eax
jmp 0x4245ec
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 0x424522
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.0044c1b7
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 0x42453c
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.0044c6e9
test eax, eax
je 0x4245e9
push dword [ebp - 0x228]
lea eax, [ebp - 0x264]
push eax
call fcn.0044be4b
mov dword [ebp - 4], 7
cmp dword [eax + 0x18], 8
jb 0x424586
mov eax, dword [eax + 4]
jmp 0x424589
add eax, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.004132cd
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.00411dad
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x264]
call fcn.00411dad
xor eax, eax
test bl, bl
sete al
jmp 0x4245ec
xor eax, eax
inc eax
call fcn.0045f566
ret