Function at 0x449eac
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
push ebx
push esi
push edi
push 0x4975e4
mov dword [ebp + 0x5c], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0x78]
push eax
call fcn.00426ff7
pop ecx
push 5
lea ecx, [ebp + 0x68]
call fcn.0042c415
push 0x14
lea ecx, [ebp + 0x60]
call fcn.0042c415
lea ecx, [ebp + 0x64]
call fcn.0042c3f7
xor ebx, ebx
mov byte [ebp + 0x6f], 0xff
mov byte [ebp + 0x6e], bl
jmp 0x449f76
push 9
lea eax, [ebp + 0x78]
push eax
push str._userfree
call fcn.0042df66
add esp, 0xc
test al, al
je 0x449f15
mov byte [ebp + 0x6f], bl
jmp 0x449f76
push 8
lea eax, [ebp + 0x78]
push eax
push str._userall
call fcn.0042df66
add esp, 0xc
test al, al
je 0x449f32
mov byte [ebp + 0x6f], 1
jmp 0x449f76
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0042df66
add esp, 0xc
test al, al
je 0x449f4f
mov byte [ebp + 0x6f], 2
jmp 0x449f76
push 4
lea eax, [ebp + 0x78]
push eax
push str._raw
call fcn.0042df66
add esp, 0xc
test al, al
je 0x449f6c
mov byte [ebp + 0x6e], 1
jmp 0x449f76
lea eax, [ebp + 0x78]
push eax
call fcn.00403c51
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x449ef9
push 0x3d
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042e8ac
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
push ebx
lea eax, [ebp + 0x60]
push eax
call fcn.00402a5b
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x3d
jne 0x449fc1
add dword [ebp + 0x78], 2
push 0x2c
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042e8ac
add esp, 0xc
mov eax, dword [ebp + 0x68]
push eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x68], ebx
call fcn.0040ce49
pop ecx
push eax
lea ecx, [ebp + 0x68]
call fcn.00436246
lea ecx, [ebp + 0x78]
call fcn.0042704a
mov esi, dword [ebp + 0x60]
xor ecx, ecx
mov cx, word [esi]
mov eax, esi
jmp 0x449ff9
cmp cx, 0x2c
je 0x44a000
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x449fee
jmp 0x44a01a
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x78], eax
push 0x2c
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042e8ac
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
push ebx
lea eax, [ebp + 0x64]
push eax
call fcn.00402a5b
push esi
call fcn.0040b1aa
cmp word [esi], bx
pop ecx
jne 0x44a03b
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x44a043
mov edi, dword [ebp + 0x68]
cmp word [edi], bx
jne 0x44a04b
xor ebx, ebx
inc ebx
jmp 0x44a2e7
push edi
push 0x4877d8
call fcn.00427f44
test al, al
pop ecx
pop ecx
je 0x44a092
push 0xca
lea ecx, [ebp + 0x64]
call fcn.0042c43e
mov eax, dword [ebp + 0x64]
push ebx
push ebx
push 1
mov word [eax], bx
lea eax, [ebp + 0x68]
push 0x7c
push eax
call fcn.004319c1
mov ecx, dword [ebp + 0x5c]
add esp, 0x14
push dword [ebp + 0x68]
push esi
call fcn.0042af0d
jmp 0x44a2e7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 0x19]
push eax
lea ecx, [ebp + 0x68]
call fcn.0042c43e
cmp byte [ebp + 0x6f], bl
jl 0x44a179
cmp esi, 1
mov edx, dword [ebp + 0x68]
jne 0x44a0ce
cmp word [edx], 0x2e
je 0x44a0e4
mov word [edx + 2], 0x3a
mov word [edx + 4], 0x5c
mov word [edx + 6], bx
cmp esi, 2
jne 0x44a0e4
cmp word [edx + 2], 0x3a
jne 0x44a0e4
mov word [edx + 4], 0x5c
mov word [edx + 6], bx
mov esi, 0x4877d0
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
push 0xe
pop ecx
lea edi, [ebp - 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
lea edi, [ebp + 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x38]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, eax
cmp esi, ebx
je 0x44a13b
movsx eax, byte [ebp + 0x6f]
push dword [ebp + eax*8 + 0x3c]
push dword [ebp + eax*8 + 0x38]
lea eax, [ebp - 0x48]
push eax
call fcn.00435e9e
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x60]
call fcn.0042af0d
lea ecx, [ebp + 0x64]
call fcn.0042704a
lea ecx, [ebp + 0x60]
call fcn.0042704a
lea ecx, [ebp + 0x68]
call fcn.0042704a
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x44a30c
push str..C:
lea ecx, [ebp + 0x50]
call fcn.004361de
mov esi, dword [ebp + 0x68]
mov ax, word [esi]
mov edi, dword [ebp + 0x50]
or dword [ebp + 0x54], 0xffffffff
or dword [ebp + 0x58], 0xffffffff
push 4
mov word [edi + 8], ax
push esi
mov word [edi + 0xe], bx
push str.._
mov word [edi + 0xc], bx
call fcn.00427f14
add esp, 0xc
test al, al
jne 0x44a234
push 8
push esi
push str.Device_
call fcn.00427f14
add esp, 0xc
test al, al
jne 0x44a234
mov eax, dword [ebp + 0x60]
mov word [esi + 2], 0x3a
mov word [esi + 6], bx
mov word [esi + 4], bx
cmp word [eax], bx
je 0x44a1ec
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
jmp 0x44a1ef
mov esi, dword [ebp + 0x54]
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
jne 0x44a20b
cmp byte [ebp + 0x6e], bl
jne 0x44a217
cmp esi, 2
je 0x44a20b
cmp esi, 3
je 0x44a20b
cmp esi, 5
jne 0x44a217
push ebx
push edi
call fcn.0042dd61
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
or eax, 0xffffffff
cmp byte [ebp + 0x6e], bl
jne 0x44a222
mov eax, dword [ebp + 0x58]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.00429b96
mov esi, dword [ebp + 0x60]
mov edi, eax
jmp 0x44a29b
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0xc0000000
push esi
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], ebx
call fcn.00403c6d
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x44a269
push 1
push ebx
push dword [ebp + 0x78]
call fcn.004305f0
add esp, 0xc
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x44a27f
push dword [ebp + 0x78]
push ebx
call fcn.0042dd61
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
lea ecx, [ebp + 0x78]
call fcn.0040296e
push dword [ebp + 0x54]
lea edi, [ebp - 8]
mov eax, edi
push 0x482fd4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp word [esi], bx
je 0x44a2ad
mov ecx, dword [ebp + 0x5c]
push edi
push esi
call fcn.0042af0d
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
je 0x44a2d7
push dword [ebp + 0x58]
lea eax, [ebp - 8]
push 0x482fd4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042af0d
cmp word [edi], bx
jne 0x44a2df
xor ebx, ebx
inc ebx
lea ecx, [ebp + 0x50]
call fcn.0042704a
lea ecx, [ebp + 0x64]
call fcn.0042704a
lea ecx, [ebp + 0x60]
call fcn.0042704a
lea ecx, [ebp + 0x68]
call fcn.0042704a
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8