Function at 0x447aeb
Capabilities:
Get disk information

Disassembly:
sub esp, 0x20c
cmp dword [0x51adac], 5
push ebx
push ebp
push esi
push edi
mov esi, ecx
jl 0x447b20
mov eax, dword [esp + 0x224]
test eax, eax
jne 0x447b10
mov eax, 0x4550e0
push eax
push str.CDosDeviceNames::CDosDeviceNames__s_...
push 5
call fcn.0044fe2e
add esp, 0xc
mov eax, dword [esp + 0x220]
mov dword [esi + 4], eax
mov eax, dword [0x4a5f80]
xor ecx, ecx
push 2
xor ebp, ebp
pop edx
mul edx
seto cl
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
neg ecx
or ecx, eax
push ecx
call fcn.00449e38
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
pop ecx
push ebp
mov dword [esi], eax
call edi
mov eax, dword [0x4a5f80]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
dec eax
push eax
push dword [esi]
push ebp
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x447bbc
cmp dword [0x4a5f80], 0x100000
jge 0x447bc7
push dword [esi]
call fcn.00449e73
add dword [0x4a5f80], 0x1000
mov eax, dword [0x4a5f80]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449e38
pop ecx
pop ecx
push 0
mov dword [esi], eax
call edi
mov eax, dword [0x4a5f80]
dec eax
push eax
push dword [esi]
push 0
call ebx
mov dword [esp + 0x10], eax
call ebp
cmp eax, 0x7a
je 0x447b71
call ebp
test eax, eax
je 0x447c15
call ebp
cmp eax, 0x7a
je 0x447c15
call fcn.0044cf74
push eax
push str._qdd_all__err_S
push 3
call fcn.0044fe2e
push dword [esi]
call fcn.00449e73
push str.CDosDeviceNames::CDosDeviceNames
push 0x24
push str..CDosDeviceNames.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044fe2e
add esp, 0x24
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x447d2d
mov ebx, dword [esp + 0x10]
xor edi, edi
test ebx, ebx
jle 0x447c3c
mov eax, dword [esi]
lea eax, [eax + edi*2]
cmp word [eax], 0
je 0x447c3c
inc dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax + 1]
cmp edi, ebx
jl 0x447c1f
cmp dword [0x51adac], 5
jl 0x447c58
push dword [esi + 0xc]
push ebx
push str.QueryDosDevice_returned__i_bytes_with__i_names
push 5
call fcn.0044fe2e
add esp, 0x10
mov ebp, dword [esi + 0xc]
add ebp, 0x64
xor ecx, ecx
push 8
pop edx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449e38
xor ebx, ebx
cmp dword [esp + 0x14], ebx
pop ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
jle 0x447d2d
mov eax, dword [esi]
lea edi, [eax + ebx*2]
cmp word [edi], 0
je 0x447d2d
cmp dword [esp + 0x224], 0
je 0x447cb2
push dword [esp + 0x224]
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x447d11
push edi
mov ecx, esi
call fcn.004479d1
test eax, eax
jne 0x447d11
push 0x104
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x447cfa
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ecx + eax*8 + 4], edi
lea eax, [esp + 0x14]
push eax
call fcn.0042bff0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [edx + ecx*8], eax
inc dword [esi + 0xc]
cmp dword [esi + 0xc], ebp
jge 0x447d2d
jmp 0x447d11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.qdd__s__err_u
push 1
call fcn.0044fe2e
add esp, 0x10
mov ecx, dword [esi]
lea eax, [ebx + ebx]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax + 1]
cmp ebx, dword [esp + 0x10]
jl 0x447c87
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 8