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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
push ebx
push esi
push edi
push 0x49b604
mov dword [ebp + 0x5c], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0x78]
push eax
call fcn.00428a5b
pop ecx
push 5
lea ecx, [ebp + 0x68]
call fcn.0042e1e2
push 0x14
lea ecx, [ebp + 0x60]
call fcn.0042e1e2
lea ecx, [ebp + 0x64]
call fcn.0042e1c4
xor ebx, ebx
mov byte [ebp + 0x6f], 0xff
mov byte [ebp + 0x6e], bl
jmp 0x44dec7
push 9
lea eax, [ebp + 0x78]
push eax
push str._userfree
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x44de66
mov byte [ebp + 0x6f], bl
jmp 0x44dec7
push 8
lea eax, [ebp + 0x78]
push eax
push str._userall
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x44de83
mov byte [ebp + 0x6f], 1
jmp 0x44dec7
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x44dea0
mov byte [ebp + 0x6f], 2
jmp 0x44dec7
push 4
lea eax, [ebp + 0x78]
push eax
push str._raw
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x44debd
mov byte [ebp + 0x6e], 1
jmp 0x44dec7
lea eax, [ebp + 0x78]
push eax
call fcn.00404037
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x44de4a
push 0x3d
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043060a
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
push ebx
lea eax, [ebp + 0x60]
push eax
call fcn.00402bdd
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x3d
jne 0x44df12
add dword [ebp + 0x78], 2
push 0x2c
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043060a
add esp, 0xc
mov eax, dword [ebp + 0x68]
push eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x68], ebx
call fcn.0040dca1
pop ecx
push eax
lea ecx, [ebp + 0x68]
call fcn.0043a522
lea ecx, [ebp + 0x78]
call fcn.00428a48
mov esi, dword [ebp + 0x60]
xor ecx, ecx
mov cx, word [esi]
mov eax, esi
jmp 0x44df4a
cmp cx, 0x2c
je 0x44df51
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x44df3f
jmp 0x44df6b
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.0043060a
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
push ebx
lea eax, [ebp + 0x64]
push eax
call fcn.00402bdd
push esi
call fcn.0040bf57
cmp word [esi], bx
pop ecx
jne 0x44df8c
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x44df94
mov edi, dword [ebp + 0x68]
cmp word [edi], bx
jne 0x44df9c
xor ebx, ebx
inc ebx
jmp 0x44e238
push edi
push 0x48b018
call fcn.0042999a
test al, al
pop ecx
pop ecx
je 0x44dfe3
push 0xca
lea ecx, [ebp + 0x64]
call fcn.0042e20b
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.004342a4
mov ecx, dword [ebp + 0x5c]
add esp, 0x14
push dword [ebp + 0x68]
push esi
call fcn.0042cbf7
jmp 0x44e238
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 0x19]
push eax
lea ecx, [ebp + 0x68]
call fcn.0042e20b
cmp byte [ebp + 0x6f], bl
jl 0x44e0ca
cmp esi, 1
mov edx, dword [ebp + 0x68]
jne 0x44e01f
cmp word [edx], 0x2e
je 0x44e035
mov word [edx + 2], 0x3a
mov word [edx + 4], 0x5c
mov word [edx + 6], bx
cmp esi, 2
jne 0x44e035
cmp word [edx + 2], 0x3a
jne 0x44e035
mov word [edx + 4], 0x5c
mov word [edx + 6], bx
mov esi, 0x48bbec
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 0x44e08c
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.0042dbf5
add esp, 0xc
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x60]
call fcn.0042cbf7
lea ecx, [ebp + 0x64]
call fcn.00428a48
lea ecx, [ebp + 0x60]
call fcn.00428a48
lea ecx, [ebp + 0x68]
call fcn.00428a48
push 0x49b604
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x44e25d
push str..C:
lea ecx, [ebp + 0x50]
call fcn.0043a4ba
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.0042996a
add esp, 0xc
test al, al
jne 0x44e185
push 8
push esi
push str.Device_
call fcn.0042996a
add esp, 0xc
test al, al
jne 0x44e185
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 0x44e13d
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
jmp 0x44e140
mov esi, dword [ebp + 0x54]
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
jne 0x44e15c
cmp byte [ebp + 0x6e], bl
jne 0x44e168
cmp esi, 2
je 0x44e15c
cmp esi, 3
je 0x44e15c
cmp esi, 5
jne 0x44e168
push ebx
push edi
call fcn.0042fa5a
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
or eax, 0xffffffff
cmp byte [ebp + 0x6e], bl
jne 0x44e173
mov eax, dword [ebp + 0x58]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.0042b660
mov esi, dword [ebp + 0x60]
mov edi, eax
jmp 0x44e1ec
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.00404073
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x44e1ba
push 1
push ebx
push dword [ebp + 0x78]
call fcn.00432498
add esp, 0xc
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x44e1d0
push dword [ebp + 0x78]
push ebx
call fcn.0042fa5a
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
lea ecx, [ebp + 0x78]
call fcn.00402abc
push dword [ebp + 0x54]
lea edi, [ebp - 8]
mov eax, edi
push 0x4870bc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp word [esi], bx
je 0x44e1fe
mov ecx, dword [ebp + 0x5c]
push edi
push esi
call fcn.0042cbf7
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
je 0x44e228
push dword [ebp + 0x58]
lea eax, [ebp - 8]
push 0x4870bc
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.0042cbf7
cmp word [edi], bx
jne 0x44e230
xor ebx, ebx
inc ebx
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp + 0x64]
call fcn.00428a48
lea ecx, [ebp + 0x60]
call fcn.00428a48
lea ecx, [ebp + 0x68]
call fcn.00428a48
push 0x49b604
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8