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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.0041e560
mov ebx, eax
cmp ebx, 9
jne 0x44a355
mov eax, dword [ebp + 8]
push 0
push eax
mov eax, edi
call fcn.00449f60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
jne 0x44a3e2
push 0x102
lea ecx, [esp + 0x4c]
push edi
push ecx
call fcn.00496040
lea eax, [esp + 0x54]
add esp, 0xc
mov byte [esp + 0x14a], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a380
sub eax, edx
je 0x44a399
cmp byte [esp + eax + 0x47], 0x5c
lea eax, [esp + eax + 0x48]
je 0x44a399
mov byte [eax], 0x5c
lea ecx, [esi + 9]
lea esp, [esp]
mov al, byte [ecx]
cmp al, 0x20
je 0x44a3aa
cmp al, 9
jne 0x44a3ad
inc ecx
jmp 0x44a3a0
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
mov eax, 0x4a7950
jne 0x44a3c7
mov eax, 0x4a7dfc
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4bbc50]
push eax
call fcn.004828b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4bb388]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.0041c2e0
cmp ebx, 8
ja case.0x44a3fc.4
jmp dword [ebx*4 + 0x44a830]
cmp byte [edi], 0
jne 0x44a412
mov edi, pe_nt_image_headers32
jmp 0x44a49d
push 0x4aea24
push edi
call fcn.00492c11
add esp, 8
test eax, eax
jne 0x44a429
lea edi, [eax + 5]
jmp 0x44a49d
push 0x4aea2c
push edi
call fcn.00492c11
add esp, 8
test eax, eax
jne 0x44a440
lea edi, [eax + 2]
jmp 0x44a49d
push 0x4aea38
push edi
call fcn.00492c11
add esp, 8
test eax, eax
jne 0x44a457
lea edi, [eax + 3]
jmp 0x44a49d
push 0x4aea40
push edi
call fcn.00492c11
add esp, 8
test eax, eax
jne 0x44a46e
lea edi, [eax + 4]
jmp 0x44a49d
push 0x4aea48
push edi
call fcn.00492c11
add esp, 8
test eax, eax
jne 0x44a485
lea edi, [eax + 6]
jmp 0x44a49d
push 0x4aea50
push edi
call fcn.00492c11
add esp, 8
test eax, eax
jne case.0x44a3fc.0
xor edi, edi
mov dword [esp + 0xc], 0
mov bl, 0x41
jmp 0x44a4b0
lea ecx, [esp + 0x150]
push ecx
mov byte [esp + 0x154], bl
mov word [esp + 0x155], 0x5c3a
mov byte [esp + 0x157], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, edi
je 0x44a4e8
cmp edi, 0x100
jne 0x44a4f5
cmp eax, 1
je 0x44a4f5
mov eax, dword [esp + 0xc]
mov byte [esp + eax + 0x28], bl
inc eax
mov dword [esp + 0xc], eax
inc bl
cmp bl, 0x5a
jbe 0x44a4b0
mov edx, dword [esp + 0xc]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push esi
mov byte [esp + edx + 0x3c], 0
call fcn.004828b0
cmp byte [esp + 0x28], 0
je case.0x44a3fc.0
jmp case.0x44a3fc.4
push 0x102
lea ecx, [esp + 0x4c]
push edi
push ecx
call fcn.00496040
lea eax, [esp + 0x54]
add esp, 0xc
mov byte [esp + 0x14a], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a548
sub eax, edx
je 0x44a561
cmp byte [esp + eax + 0x47], 0x5c
lea eax, [esp + eax + 0x48]
je 0x44a561
mov byte [eax], 0x5c
push 0xff
lea edx, [esp + 0x454]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xff
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je case.0x44a3fc.0
mov eax, ebx
sub eax, 2
je 0x44a5d8
dec eax
je 0x44a5c4
sub eax, 2
jne case.0x44a3fc.4
mov edx, dword [esp + 0xc]
push 0x18
push eax
push edx
mov eax, esi
call fcn.00401130
jmp case.0x44a3fc.4
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x25c]
push eax
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x45c]
push ecx
push esi
jmp 0x44a79f
push 0x102
lea edx, [esp + 0x4c]
push edi
push edx
call fcn.00496040
lea eax, [esp + 0x54]
add esp, 0xc
mov byte [esp + 0x14a], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a610
sub eax, edx
je 0x44a629
cmp byte [esp + eax + 0x47], 0x5c
lea eax, [esp + eax + 0x48]
je 0x44a629
mov byte [eax], 0x5c
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.0x44a3fc.0
jmp dword [eax*4 + 0x44a854]
push 1
push 0
push 0xffffffffffffffff
push 0x4aea50
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea2c
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea38
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea40
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea58
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea60
push esi
jmp 0x44a79f
push 0x102
lea ecx, [esp + 0x4c]
push edi
push ecx
call fcn.00496040
lea eax, [esp + 0x54]
add esp, 0xc
mov byte [esp + 0x14a], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a6d0
sub eax, edx
je 0x44a6e9
cmp byte [esp + eax + 0x47], 0x5c
lea eax, [esp + eax + 0x48]
je 0x44a6e9
mov byte [eax], 0x5c
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44a710
xor eax, eax
jmp 0x44a71f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
ja case.0x44a63d.72
movzx ecx, byte [eax + 0x44a884]
jmp dword [ecx*4 + 0x44a870]
push 1
push 0
push 0xffffffffffffffff
push 0x4aea68
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea70
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea78
push esi
jmp 0x44a79f
push 1
push 0
push 0xffffffffffffffff
push 0x4aea84
push esi
jmp 0x44a79f
cmp byte [edi], 0
jne 0x44a7c4
push 0
push 0x80
lea edx, [esp + 0x1d8]
push edx
push 0x4aea90
call dword [sym.imp.WINMM.dll_mciSendStringA]
test eax, eax
jne case.0x44a3fc.0
mov eax, dword [esp + 0xc]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x1dc]
push edx
push eax
call fcn.004828b0
mov ecx, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7950
push ecx
call fcn.004828b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push 0x4ae9c8
mov esi, pe_nt_image_headers32
lea edi, [esp + 0x358]
call fcn.0047f710
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
add esp, 8
push 0
push 0
push 0
mov eax, edi
push eax
call esi
test eax, eax
jne case.0x44a3fc.0
push eax
push 0x80
lea ecx, [esp + 0x1d8]
push ecx
push 0x4aeaa4
call esi
push 0
push 0
push 0
push 0x4aea0c
mov edi, eax
call esi
test edi, edi
je 0x44a78c
mov ebx, dword [ebp + 8]
call fcn.0043d050
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4