Function at 0x44a284
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.00427312
pop ecx
push 5
lea ecx, [ebp + 0x68]
call fcn.0042c827
push 0x14
lea ecx, [ebp + 0x60]
call fcn.0042c827
lea ecx, [ebp + 0x64]
call fcn.0042c809
xor ebx, ebx
mov byte [ebp + 0x6f], 0xff
mov byte [ebp + 0x6e], bl
jmp 0x44a34e
push 9
lea eax, [ebp + 0x78]
push eax
push str._userfree
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x44a2ed
mov byte [ebp + 0x6f], bl
jmp 0x44a34e
push 8
lea eax, [ebp + 0x78]
push eax
push str._userall
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x44a30a
mov byte [ebp + 0x6f], 1
jmp 0x44a34e
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x44a327
mov byte [ebp + 0x6f], 2
jmp 0x44a34e
push 4
lea eax, [ebp + 0x78]
push eax
push str._raw
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x44a344
mov byte [ebp + 0x6e], 1
jmp 0x44a34e
lea eax, [ebp + 0x78]
push eax
call fcn.00403cc8
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x44a2d1
push 0x3d
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042ec20
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
push ebx
lea eax, [ebp + 0x60]
push eax
call fcn.00402b15
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x3d
jne 0x44a399
add dword [ebp + 0x78], 2
push 0x2c
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042ec20
add esp, 0xc
mov eax, dword [ebp + 0x68]
push eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x68], ebx
call fcn.0040d003
pop ecx
push eax
lea ecx, [ebp + 0x68]
call fcn.00436622
lea ecx, [ebp + 0x78]
call fcn.00427365
mov esi, dword [ebp + 0x60]
xor ecx, ecx
mov cx, word [esi]
mov eax, esi
jmp 0x44a3d1
cmp cx, 0x2c
je 0x44a3d8
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x44a3c6
jmp 0x44a3f2
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.0042ec20
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
push ebx
lea eax, [ebp + 0x64]
push eax
call fcn.00402b15
push esi
call fcn.0040b35a
cmp word [esi], bx
pop ecx
jne 0x44a413
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x44a41b
mov edi, dword [ebp + 0x68]
cmp word [edi], bx
jne 0x44a423
xor ebx, ebx
inc ebx
jmp 0x44a6bf
push edi
push 0x4877e0
call fcn.00428293
test al, al
pop ecx
pop ecx
je 0x44a46a
push 0xca
lea ecx, [ebp + 0x64]
call fcn.0042c850
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.00431d35
mov ecx, dword [ebp + 0x5c]
add esp, 0x14
push dword [ebp + 0x68]
push esi
call fcn.0042b2cd
jmp 0x44a6bf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 0x19]
push eax
lea ecx, [ebp + 0x68]
call fcn.0042c850
cmp byte [ebp + 0x6f], bl
jl 0x44a551
cmp esi, 1
mov edx, dword [ebp + 0x68]
jne 0x44a4a6
cmp word [edx], 0x2e
je 0x44a4bc
mov word [edx + 2], 0x3a
mov word [edx + 4], 0x5c
mov word [edx + 6], bx
cmp esi, 2
jne 0x44a4bc
cmp word [edx + 2], 0x3a
jne 0x44a4bc
mov word [edx + 4], 0x5c
mov word [edx + 6], bx
mov esi, 0x4877d8
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 0x44a513
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.0043627a
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x60]
call fcn.0042b2cd
lea ecx, [ebp + 0x64]
call fcn.00427365
lea ecx, [ebp + 0x60]
call fcn.00427365
lea ecx, [ebp + 0x68]
call fcn.00427365
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x44a6e4
push str..C:
lea ecx, [ebp + 0x50]
call fcn.004365ba
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 0x4877bc
mov word [edi + 0xc], bx
call fcn.00428263
add esp, 0xc
test al, al
jne 0x44a60c
push 8
push esi
push 0x48621c
call fcn.00428263
add esp, 0xc
test al, al
jne 0x44a60c
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 0x44a5c4
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
jmp 0x44a5c7
mov esi, dword [ebp + 0x54]
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
jne 0x44a5e3
cmp byte [ebp + 0x6e], bl
jne 0x44a5ef
cmp esi, 2
je 0x44a5e3
cmp esi, 3
je 0x44a5e3
cmp esi, 5
jne 0x44a5ef
push ebx
push edi
call fcn.0042e0d5
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
or eax, 0xffffffff
cmp byte [ebp + 0x6e], bl
jne 0x44a5fa
mov eax, dword [ebp + 0x58]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.00429ee8
mov esi, dword [ebp + 0x60]
mov edi, eax
jmp 0x44a673
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.00403ce4
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x44a641
push 1
push ebx
push dword [ebp + 0x78]
call fcn.00430964
add esp, 0xc
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x44a657
push dword [ebp + 0x78]
push ebx
call fcn.0042e0d5
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
lea ecx, [ebp + 0x78]
call fcn.00402a26
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 0x44a685
mov ecx, dword [ebp + 0x5c]
push edi
push esi
call fcn.0042b2cd
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
je 0x44a6af
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.0042b2cd
cmp word [edi], bx
jne 0x44a6b7
xor ebx, ebx
inc ebx
lea ecx, [ebp + 0x50]
call fcn.00427365
lea ecx, [ebp + 0x64]
call fcn.00427365
lea ecx, [ebp + 0x60]
call fcn.00427365
lea ecx, [ebp + 0x68]
call fcn.00427365
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8