Function at 0x449bef
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x7f8
lea ebp, [esp - 4]
mov eax, dword [0x4c3360]
xor eax, ebp
mov dword [ebp + 0x7f8], eax
push 0x54
mov eax, 0x49a61a
call fcn.00454d31
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x808]
mov edi, dword [ebp + 0x804]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], eax
call fcn.0043d9d0
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040ca90
mov esi, 0x4b0ccc
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0043db61
push esi
lea ecx, [ebp - 0x14]
call fcn.0040113c
push 0x16
push 0x4a5d50
push edi
call fcn.004586a0
add esp, 0xc
test eax, eax
jne 0x449df2
mov esi, 0x4af248
xor ebx, ebx
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], ebx
call fcn.0040ca90
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040ca90
lea eax, [ebp - 0x30]
push eax
mov edi, 0x4ac198
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00439595
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push 0x4b04d9
push eax
call fcn.00449ba8
pop ecx
pop ecx
test al, al
je 0x449d29
inc ebx
cmp ebx, 2
push 0x5c
jg 0x449cdd
lea ecx, [ebp - 0x20]
call fcn.0044927a
lea ecx, [ebp - 0x20]
jmp 0x449ce8
lea ecx, [ebp - 0x24]
call fcn.0044927a
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
push eax
call fcn.004080e2
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp + 0x7f0]
push eax
lea ecx, [ebp - 0x14]
call fcn.00439595
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0040141e
mov ecx, dword [ebp + 0x7f0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401395
jmp 0x449cb4
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ca90
push 0x41
mov byte [ebp - 4], 7
pop esi
cmp si, 0x5a
ja 0x449da5
xor eax, eax
push 0x3a
lea edi, [ebp + 0x7f2]
stosd dword es:[edi], eax
pop eax
mov word [ebp + 0x7f2], ax
xor eax, eax
mov word [ebp + 0x7f4], ax
push 0x3e8
lea eax, [ebp]
push eax
lea eax, [ebp + 0x7f0]
push eax
mov word [ebp + 0x7f0], si
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x449eb7
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
call fcn.004580ce
pop ecx
pop ecx
test eax, eax
jne 0x449eb7
lea eax, [ebp + 0x7f0]
push eax
lea ecx, [ebp - 0x28]
call fcn.004084de
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call fcn.004084de
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.004080e2
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401395
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401395
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401395
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401395
mov ebx, dword [ebp - 0x34]
cmp byte [ebx + 0x79], 0
je 0x449f42
cmp byte [ebx + 0x7a], 0
jne 0x449f42
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
call fcn.004274ca
push 0
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
call esi
mov ebx, dword [ebp - 0x18]
push 0xffffffffffffffff
mov ecx, ebx
mov edi, eax
call fcn.0040859a
test edi, edi
jne 0x449ebd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6094]
cmp ecx, 0x4c6094
je 0x449e6c
test byte [ecx + 0x1c], 1
je 0x449e6c
cmp byte [ecx + 0x19], 2
jb 0x449e6c
push eax
push dword [ebp - 0x14]
push 0x4a5ac8
push 0x2a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.00444114
add esp, 0x18
push dword [ebp - 0x2c]
mov ecx, ebx
call fcn.004084de
mov ecx, ebx
call fcn.00449252
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401395
lea ecx, [ebp - 0x58]
call fcn.0043d9b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7f8]
xor ecx, ebp
call fcn.0044fc8e
add ebp, 0x7fc
leave
ret 8
inc esi
jmp 0x449d39
inc edi
push edi
mov ecx, ebx
call fcn.0040136b
push edi
push eax
push dword [ebp - 0x14]
call esi
push 0xffffffffffffffff
mov ecx, ebx
mov esi, eax
call fcn.0040859a
test esi, esi
jne 0x449f4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6094]
cmp ecx, 0x4c6094
je 0x449f15
test byte [ecx + 0x1c], 1
je 0x449f15
cmp byte [ecx + 0x19], 2
jb 0x449f15
push eax
push dword [ebp - 0x14]
push 0x4a5ac8
push 0x2b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.00444114
add esp, 0x18
push dword [ebp - 0x2c]
mov ecx, ebx
call fcn.004084de
mov ecx, ebx
call fcn.00449252
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401395
xor bl, bl
lea ecx, [ebp - 0x58]
call fcn.0043d9b0
mov al, bl
jmp 0x449e92
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.0040141e
mov ecx, dword [ebp - 0x18]
call fcn.00449252
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401395
lea ecx, [ebp - 0x58]
call fcn.0043d9a3
mov bl, al
neg bl
sbb bl, bl
inc bl
jmp 0x449f33