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

Disassembly:
sub esp, 0x4d4
mov dl, byte [0x4caf4c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xb5]
mov byte [esp + 0xb4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x281]
mov byte [esp + 0x280], dl
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x3ec]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.0043ccf0
mov eax, dword [esi + 0x3e8]
add esp, 8
lea edx, [esp + 0x2c]
cmp eax, 1
push edx
jne 0x416600
mov eax, dword [esi + 0x90]
push 0x81
lea ecx, [esp + 0xbc]
push eax
push ecx
call fcn.0043e2a0
add esp, 0x10
jmp 0x41661d
push eax
mov eax, dword [esi + 0x90]
push 0x82
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.0043e2a0
add esp, 0x14
mov eax, dword [esp + 0x4e8]
test eax, eax
jne 0x41662e
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ecx
mov dword [esp + 0x10], 0
jne 0x416689
push 8
push 0xffffffffffffffff
push 0x100c
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x416662
mov edx, dword [esi + 0x1c]
push 1
push eax
push 0x100c
push edx
call ebx
push eax
mov ecx, esi
call fcn.00418d40
test eax, eax
je 0x41690b
mov edx, dword [eax + 8]
lea ecx, [esp + 0x17c]
push ecx
push edx
call dword [sym.imp.USER32.dll_OemToCharA]
jmp 0x41690b
mov ecx, esi
call fcn.00413740
mov ecx, dword [esi + 0x3f4]
mov ebp, eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], ebp
push eax
push ecx
call fcn.0043ccf0
mov eax, dword [esi + 0x3f0]
add esp, 8
cmp eax, 1
jle 0x4166dc
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x17c]
push edx
push eax
mov eax, dword [esi + 0x90]
push 0x83
push eax
push ecx
call fcn.0043e2a0
add esp, 0x14
jmp 0x41681d
test ebp, ebp
je 0x41690b
mov eax, dword [ebp + 4]
cmp eax, 3
jne 0x41679e
mov edx, dword [ebp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x41670d
cmp eax, 4
je 0x41670d
cmp eax, 5
jne 0x41681d
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x5c]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x41681d
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x2c]
imul edi, dword [esp + 0x20]
mov eax, edi
push edx
imul eax, dword [esp + 0x2c]
push eax
mov dword [esi + 0x3f4], eax
call fcn.0043ccf0
imul edi, dword [esp + 0x24]
add esp, 8
lea eax, [esp + 0x94]
mov dword [esi + 0x3f4], edi
push eax
push edi
call fcn.0043ccf0
mov eax, dword [esi + 0x90]
add esp, 8
lea ecx, [esp + 0x94]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x84
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.0043e2a0
add esp, 0x14
jmp 0x41681d
cmp eax, 2
je 0x41681d
mov dl, byte [0x4caf4c]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x385]
mov byte [esp + 0x384], dl
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x388]
lea ecx, [ebp + 0x34]
push eax
push ecx
call fcn.0043cc80
mov eax, dword [ebp + 4]
add esp, 0xc
test eax, eax
jne 0x416807
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x17c]
push edx
push eax
call edi
lea ecx, [esp + 0x17c]
push 0x4be910
push ecx
call edi
lea edx, [esp + 0x384]
lea eax, [esp + 0x17c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test ebp, ebp
je 0x41690b
mov eax, dword [ebp + 0x30]
test eax, eax
jl 0x41684f
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x24]
push edx
push ecx
push eax
lea edx, [esp + 0x130]
push 0
push edx
call fcn.00446610
add esp, 0x20
test ebp, ebp
je 0x41690b
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x41690b
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 4], 2
je 0x41690b
lea edx, [esp + 0x280]
push 0x100
push edx
push eax
call sub.comdlg32.dll_GetFileTitleA
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41690b
lea ecx, [esp + 0x280]
push str.___
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dl, byte [0x4caf4c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x385]
mov byte [esp + 0x384], dl
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x388]
lea ecx, [esi + 0xa4]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0041dd10
lea edx, [esp + 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x104
lea edx, [esp + eax + 0x280]
sub ecx, eax
lea eax, [esp + 0x384]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_OemToCharBuffA]
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x14]
push 0
push 0
push 0x31
push edx
mov edi, eax
call ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0xb8]
push eax
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x14]
mov ebp, 1
add eax, 0xa
mov dword [esp + 0x6c], eax
mov al, byte [esp + 0x17c]
test al, al
je 0x4169a1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x17c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x184]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov ebp, 2
lea eax, [ecx + edx + 0xa]
mov dword [esp + 0x70], eax
mov al, byte [esp + 0x280]
test al, al
je 0x416a0f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x280]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x288]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0x40f
push ecx
call ebx
test eax, eax
je 0x4169f6
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x14]
lea eax, [edx + eax + 5]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x416a00
mov eax, dword [esp + ebp*4 + 0x68]
jmp 0x416a02
xor eax, eax
mov ecx, dword [esp + 0x14]
inc ebp
lea edx, [ecx + eax + 0xa]
mov dword [esp + ebp*4 + 0x68], edx
mov al, byte [esp + 0x118]
test al, al
je 0x416a56
lea eax, [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x11c]
push eax
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test ebp, ebp
je 0x416a47
mov eax, dword [esp + ebp*4 + 0x68]
jmp 0x416a49
xor eax, eax
mov ecx, dword [esp + 0x14]
inc ebp
lea edx, [ecx + eax + 0xa]
mov dword [esp + ebp*4 + 0x68], edx
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x416af7
mov ecx, dword [esi + 0x90]
lea eax, [esp + 0x4c]
push 0x1e
push eax
push 0x6e
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x50]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x3f8]
test eax, eax
je 0x416aba
mov edx, dword [esi + 0x90]
push eax
push 0x6e
lea eax, [esp + 0x54]
push edx
push eax
call fcn.0043e2a0
add esp, 0x10
jmp 0x416ad0
mov edx, dword [esi + 0x90]
lea ecx, [esp + 0x4c]
push 0x1e
push ecx
push 0x6f
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
sub edx, ecx
sub edx, 0xa
mov dword [esp + ebp*4 + 0x6c], edx
inc ebp
mov eax, dword [esi + 0x14]
push edi
mov dword [esp + ebp*4 + 0x70], 0xffffffff
push eax
inc ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x14]
xor edi, edi
push edi
push edi
push 0x409
push ecx
call ebx
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x6c]
push edx
push ebp
push 0x404
push eax
call ebx
mov al, byte [esp + 0xb4]
mov ecx, dword [esi + 0x68]
test al, al
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x68], edi
je 0x416b67
mov edx, dword [esi + 0x14]
push edi
push edi
push 0x40f
push edx
call ebx
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0xb4]
push eax
push 0
push 0x401
push ecx
mov edi, 1
call ebx
mov al, byte [esp + 0x17c]
test al, al
je 0x416b97
mov edx, dword [esi + 0x14]
push 0
push edi
push 0x40f
push edx
call ebx
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x17c]
mov eax, edi
push ecx
push eax
push 0x401
push edx
inc edi
call ebx
mov al, byte [esp + 0x280]
mov ebp, dword [esp + 0x10]
test al, al
je 0x416c61
test ebp, ebp
je 0x416c4a
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x416c4a
mov ecx, dword [0x4caa70]
test ecx, ecx
je 0x416c0a
push eax
lea eax, [esi + 0xa4]
lea ecx, [esp + 0x388]
push eax
push ecx
call fcn.0043c6e0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
xor eax, eax
test ecx, ecx
je 0x416bed
mov eax, 0x200
push eax
push ebp
lea ecx, [esi + 0x47c]
call fcn.0041e710
mov edx, dword [esi + 0x5c]
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [esi + 0x68], eax
jmp 0x416c3a
push 0x101
lea eax, [esp + 0x388]
push 0x160
push eax
lea ecx, [esp + 0x28c]
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x416c3a
mov edx, dword [esp + 0x384]
mov dword [esi + 0x68], edx
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x14]
push eax
push edi
push 0x40f
push ecx
call ebx
lea edx, [esp + 0x280]
mov eax, edi
push edx
push eax
mov eax, dword [esi + 0x14]
push 0x401
push eax
inc edi
call ebx
mov al, byte [esp + 0x118]
test al, al
je 0x416c91
mov ecx, dword [esi + 0x14]
push 0
push edi
push 0x40f
push ecx
call ebx
lea edx, [esp + 0x118]
mov eax, edi
push edx
push eax
mov eax, dword [esi + 0x14]
push 0x401
push eax
inc edi
call ebx
mov ecx, dword [esi + 0x14]
push 0
push edi
push 0x40f
push ecx
call ebx
test ebp, ebp
je 0x416cf9
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x416caf
mov ecx, dword [eax + 0xc]
jmp 0x416cb1
xor ecx, ecx
test ecx, ecx
je 0x416cf9
test eax, eax
je 0x416cbe
mov eax, dword [eax + 0xc]
jmp 0x416cc0
xor eax, eax
mov edx, dword [esi + 0x14]
push eax
push edi
push 0x410
push edx
call ebx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x416ce7
mov eax, dword [eax + 0xc]
mov ecx, edi
push eax
mov eax, dword [esi + 0x14]
push ecx
push 0x401
inc edi
push eax
jmp 0x416d1c
xor eax, eax
mov ecx, edi
push eax
mov eax, dword [esi + 0x14]
push ecx
push 0x401
inc edi
push eax
jmp 0x416d1c
mov ecx, dword [esi + 0x14]
push 0x4caf4c
push edi
push 0x410
push ecx
call ebx
mov edx, dword [esi + 0x14]
mov eax, edi
push 0x4caf4c
push eax
push 0x401
inc edi
push edx
call ebx
mov al, byte [esp + 0x4c]
test al, al
je 0x416d4b
mov eax, dword [esi + 0x14]
push 0
push edi
push 0x40f
push eax
call ebx
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x4c]
or edi, 0x200
push ecx
push edi
push 0x401
push edx
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x416d5a
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d4
ret 4