Function at 0x4a25df
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov eax, dword [0x63a1e8]
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x28]
mov ecx, esi
xor eax, ebp
mov dword [esp + 0x230], eax
push edi
call fcn.0041be8c
push esi
call fcn.004a1f2c
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x4a262a
push dword [esp + 0x28]
mov ebx, eax
call fcn.005909b6
mov eax, ebx
add esp, 4
mov bl, 1
test al, al
jne 0x4a2889
mov eax, dword [ebp + 8]
lea ebx, [esp + 0x18]
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
push ebx
push eax
call fcn.004a2130
add esp, 8
test al, al
je 0x4a2676
lea ebx, [esp + 8]
mov ecx, ebx
push edi
call fcn.0041be8c
mov cl, byte [ebx + 0xb]
test cl, cl
js 0x4a267d
movzx eax, cl
cmp word [esp + eax*2 + 6], 0x5c
je 0x4a2691
jmp 0x4a271a
xor esi, esi
jmp 0x4a2875
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp word [edx + eax*2 - 2], 0x5c
jne 0x4a271a
lea edx, [esp + 0x14]
dec eax
lea edi, [esp + 8]
lea ecx, [esp + 0x28]
push edx
push eax
push 0
push edi
call fcn.00478738
cmp byte [edi + 0xb], 0
js 0x4a26bc
mov word [esp + 8], 0
mov byte [esp + 0x13], 0
jmp 0x4a26e8
mov eax, dword [esp + 8]
mov word [eax], 0
mov dword [esp + 0xc], 0
cmp byte [esp + 0x13], 0
jns 0x4a26e8
push dword [esp + 8]
call fcn.005909b6
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov dword [esp + 0x10], eax
xor eax, eax
movsd qword [esp + 8], xmm0
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
cmp byte [esp + 0x33], 0
jns 0x4a2716
push dword [esp + 0x28]
call fcn.005909b6
add esp, 4
mov cl, byte [esp + 0x13]
test cl, cl
jns 0x4a2722
mov ebx, dword [esp + 8]
cmp byte [esp + 0x23], 0
jns 0x4a272f
mov eax, dword [esp + 0x18]
jmp 0x4a2733
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.005a6c81
add esp, 8
test eax, eax
je 0x4a27a8
lea esi, [esp + 8]
mov ecx, esi
mov edx, esi
call fcn.004a2429
mov ecx, esi
mov ebx, eax
call fcn.004a24e6
test al, al
jne 0x4a27af
test bl, bl
je 0x4a27af
lea edi, [esp + 0x28]
xor eax, eax
lea ecx, [esp + 0x18]
mov edx, edi
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
call fcn.004a2522
test al, al
je 0x4a27cd
cmp byte [esp + 0x13], 0
jns 0x4a2787
mov esi, dword [esp + 8]
lea edi, [esp + 0x28]
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4a2797
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.005a6c81
add esp, 8
test eax, eax
sete bl
jmp 0x4a27cf
mov bl, 1
jmp 0x4a285c
xor ebx, ebx
test al, al
je 0x4a285c
cmp byte [esp + 0x13], 0
mov dword [esp + 4], ebx
mov dword [esp], ebx
jns 0x4a27e7
mov eax, dword [esp + 8]
jmp 0x4a27eb
xor ebx, ebx
cmp byte [edi + 0xb], 0
jns 0x4a285c
push dword [esp + 0x28]
call fcn.005909b6
add esp, 4
jmp 0x4a285c
lea eax, [esp + 8]
mov eax, dword [eax]
mov ecx, esp
lea edi, [esp + 0x28]
mov dword [ecx], eax
push 0x104
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x4a285c
cmp eax, 0x104
je 0x4a285c
push edi
call fcn.005ab4c4
add esp, 4
mov esi, eax
movzx eax, byte [esp + 0x13]
test al, al
jns 0x4a2826
mov eax, dword [esp + 0xc]
lea ecx, [esi + eax - 2]
movzx eax, byte [esp + 0x23]
test al, al
mov edx, eax
jns 0x4a2839
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jne 0x4a285a
test al, al
jns 0x4a2847
mov eax, dword [esp + 0x18]
jmp 0x4a284b
lea eax, [esp + 0x18]
push esi
push edi
push eax
call fcn.005a6dfe
add esp, 0xc
test eax, eax
je 0x4a28a1
xor ebx, ebx
cmp byte [esp + 0x13], 0
mov esi, ebx
jns 0x4a2871
push dword [esp + 8]
call fcn.005909b6
add esp, 4
lea ebx, [esp + 0x18]
cmp byte [ebx + 0xb], 0
jns 0x4a2887
push dword [esp + 0x18]
call fcn.005909b6
add esp, 4
mov ebx, esi
mov ecx, dword [esp + 0x230]
xor ecx, ebp
call fcn.005909f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0xc]
mov eax, dword [ecx - 4]
add eax, 4
cmp byte [ecx + 7], 0
cmovns eax, ecx
cmp byte [esp + 0x23], 0
jns 0x4a28bf
mov ecx, dword [esp + 0x18]
jmp 0x4a28c3
lea ecx, [esp + 0x18]
lea ecx, [ecx + esi*2]
push eax
push ecx
call fcn.005a6c81
add esp, 8
test eax, eax
sete bl
jmp 0x4a285c