Function at 0x44eb70
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bd6c
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x198], 0
mov dword [ebp - 4], 0
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x44ebcc
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x300], esi
mov byte [ebp - 4], 1
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x44ebf3
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x308], edi
push 0
push 0
push 0x1009
push dword [ebx + 4]
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x200
lea ecx, [ebp - 0x198]
call fcn.0043edf0
push dword [ebp - 0x198]
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ebx, dword [ebp - 0x198]
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edx, ebx
mov dword [ebp - 0x318], eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x44ec54
sub edx, eax
je 0x44f014
push 0x160
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.00517590
push 0x3c
lea eax, [ebp - 0x374]
push 0
push eax
call fcn.00517590
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x44f000
cmp eax, 1
je 0x44f000
push 0x104
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x44efef
push 0
lea eax, [ebp - 0x310]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x320]
movlpd qword [ebp - 0x320], xmm0
push eax
push ebx
movlpd qword [ebp - 0x310], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
push 0x4200
push 0x160
lea eax, [ebp - 0x2f8]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x2ec]
push 4
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x374], 0x107
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], 0x104
call fcn.005134da
mov esi, eax
add esp, 4
test esi, esi
je 0x44ed76
call fcn.00406110
test eax, eax
je 0x44ebc2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
jmp 0x44ed78
xor esi, esi
test ebx, ebx
jne 0x44ed80
xor ecx, ecx
jmp 0x44ed8e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ed85
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.00407040
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x374]
push eax
mov eax, dword [ebp - 0x304]
push 0
push 0x1007
mov dword [ebp - 0x354], esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x30c], 0
ja 0x44edef
cmp dword [ebp - 0x310], 0
ja 0x44edef
push 0
push 0x54727d
lea ecx, [ebp - 0x300]
call fcn.00407040
jmp 0x44ef0e
call fcn.00406110
test eax, eax
je 0x44ebc2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2fc], esi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 3
jge 0x44ee3a
push 0x104
lea ecx, [ebp - 0x308]
call fcn.00406dd0
mov edi, dword [ebp - 0x308]
push 0x104
push edi
push dword [ebp - 0x31c]
push dword [ebp - 0x320]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSize64A]
push dword [edi - 8]
push edi
call fcn.00526cb2
add esp, 8
test eax, eax
js 0x44f08c
cmp eax, dword [edi - 8]
jg 0x44f08c
mov dword [edi - 0xc], eax
mov ecx, 1
mov byte [eax + edi], 0
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44eea0
push 0x104
lea ecx, [ebp - 0x2fc]
call fcn.00406dd0
mov esi, dword [ebp - 0x2fc]
push 0x104
push esi
push dword [ebp - 0x30c]
push dword [ebp - 0x310]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSize64A]
push dword [esi - 8]
push esi
call fcn.00526cb2
add esp, 8
test eax, eax
js 0x44f08c
cmp eax, dword [esi - 8]
jg 0x44f08c
push esi
mov dword [esi - 0xc], eax
push edi
mov byte [eax + esi], 0
lea eax, [ebp - 0x300]
push 0x8572
push eax
call fcn.0040f1d0
add esp, 0x10
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44ef0e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x38
lea eax, [ebp - 0x3ac]
push 0
push eax
call fcn.00517590
mov eax, dword [ebp - 0x370]
add esp, 0xc
mov esi, dword [ebp - 0x300]
mov dword [ebp - 0x3ac], eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], 1
push eax
mov eax, dword [ebp - 0x304]
push 0
push 0x1006
mov dword [ebp - 0x3a8], 1
push dword [eax + 4]
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x39c], esi
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x314]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x334]
push eax
mov eax, dword [ebp - 0x304]
push 0
push 0x10a4
mov dword [ebp - 0x314], 1
push dword [eax + 4]
mov dword [ebp - 0x334], 0x14
mov dword [ebp - 0x32c], 1
mov dword [ebp - 0x324], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44eff4
sub ecx, edx
inc ebx
add ebx, ecx
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f005
sub ecx, edx
jne 0x44ec63
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44f03e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44f057
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x194]
cmp dword [ebp - 0x198], eax
je 0x44f070
lea ecx, [ebp - 0x198]
call fcn.0040f2a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004063a0
int3