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

Disassembly:
sub esp, 0x504
mov dl, byte [0x4eb858]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xe5]
mov byte [esp + 0xe4], 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 + 0x1ad]
mov byte [esp + 0x1ac], 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 + 0x149]
mov byte [esp + 0x148], 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 + 0x9d]
mov byte [esp + 0x9c], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2b1]
mov byte [esp + 0x2b0], dl
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x444]
mov edx, dword [esi + 0x440]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
call fcn.0044aba0
mov eax, dword [esi + 0x434]
add esp, 0xc
cmp eax, 1
jne 0x41b8fd
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x2c]
push eax
push 0x81
lea edx, [esp + 0xec]
push ecx
push edx
call fcn.0044c380
add esp, 0x10
jmp 0x41b91f
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x82
lea eax, [esp + 0xf0]
push edx
push eax
call fcn.0044c380
add esp, 0x14
mov eax, dword [esp + 0x518]
xor ebx, ebx
cmp eax, ebx
jne 0x41b932
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x10], ebx
cmp eax, ecx
jne 0x41b9cb
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 8
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x41b979
mov ecx, dword [esi + 0x24]
push 1
push eax
push 0x100c
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x41b979
mov edx, dword [esi + 0x24]
push 2
push eax
push 0x100c
push edx
call ebp
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 4
push eax
push ebx
push 0x1005
push ecx
mov dword [esp + 0x8c], ebx
call ebp
test eax, eax
je 0x41bcd9
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x41bcd9
mov eax, dword [eax + 8]
lea edx, [esp + 0x1ac]
push edx
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
jmp 0x41bcd9
mov ecx, dword [esi + 0xc]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x41b9e9
xor eax, eax
jmp 0x41ba23
lea edx, [esp + 0xbc]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0xc]
push edx
push ebx
push 0x1005
push eax
mov dword [esp + 0xcc], 4
mov dword [esp + 0xd4], ebx
call ebp
mov ecx, dword [esp + 0xdc]
neg eax
sbb eax, eax
and eax, ecx
mov edx, dword [esi + 0x44c]
lea ecx, [esp + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x448]
push ecx
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.0044aba0
mov eax, dword [esi + 0x438]
add esp, 0xc
cmp eax, 1
jle 0x41ba76
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x83
lea eax, [esp + 0x1b8]
push edx
push eax
call fcn.0044c380
add esp, 0x14
jmp 0x41bbf2
cmp edi, ebx
je 0x41bcd9
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
cmp eax, 3
jne 0x41bb65
mov eax, dword [edi + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x41baab
cmp eax, 4
je 0x41baab
cmp eax, 5
jne 0x41bbf2
mov edi, dword [edi + 0x68]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x41bbf2
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
imul edi, dword [esp + 0x20]
push ebx
push edi
push ebx
push edx
call fcn.004bf680
mov dword [esi + 0x448], eax
lea eax, [esp + 0x2c]
mov dword [esi + 0x44c], edx
mov ecx, edx
mov edx, dword [esi + 0x448]
push eax
push ecx
push edx
call fcn.0044aba0
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebx
xor ebx, ebx
push edi
push ebx
push eax
call fcn.004bf680
mov dword [esi + 0x448], eax
lea ecx, [esp + 0x74]
mov dword [esi + 0x44c], edx
mov eax, dword [esi + 0x448]
push ecx
push edx
push eax
call fcn.0044aba0
mov eax, dword [esi + 0x200]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x38]
push ecx
push edx
push 0x9c
lea ecx, [esp + 0x1c4]
push eax
push ecx
call fcn.0044c380
add esp, 0x20
jmp 0x41bbf2
cmp eax, 2
je 0x41bbf2
mov dl, byte [0x4eb858]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x3b5]
mov byte [esp + 0x3b4], dl
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x3b8]
push 0x100
push eax
lea ecx, [edi + 0x40]
push ecx
call fcn.0044ab30
mov eax, dword [edi + 8]
add esp, 0x10
cmp eax, ebx
jne 0x41bbda
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1ac]
push edx
push eax
call edi
lea ecx, [esp + 0x1ac]
push 0x4e0870
push ecx
call edi
jmp 0x41bbe0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x3b4]
lea eax, [esp + 0x1ac]
push edx
push eax
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41bcd9
mov edi, eax
mov eax, dword [edi + 0x3c]
cmp eax, ebx
jl 0x41bc2b
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x34]
push ebx
push ebx
push ecx
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [edi + 0x2c]
push ecx
push edx
push eax
lea eax, [esp + 0x164]
push ebx
push eax
call fcn.0045cdc0
add esp, 0x24
mov edi, dword [edi + 0x68]
cmp edi, ebx
je 0x41bcd9
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 8], 2
je 0x41bcd9
lea edx, [esp + 0x2b0]
push 0x100
push edx
push edi
call sub.comdlg32.dll_GetFileTitleA
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], ebx
je 0x41bcd9
lea ecx, [esp + 0x2b0]
push str.___
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dl, byte [0x4eb858]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3b5]
mov byte [esp + 0x3b4], dl
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3b8]
lea ecx, [esi + 0x20c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00424820
lea edx, [esp + 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x104
lea edx, [esp + eax + 0x2b0]
sub ecx, eax
lea eax, [esp + 0x3b4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_OemToCharBuffA]
mov ecx, dword [esi + 0x1c]
xor edi, edi
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x1c]
push edi
push edi
push 0x31
push edx
mov ebx, eax
call ebp
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov al, byte [esp + 0xe4]
test al, al
je 0x41bd37
lea eax, [esp + 0x14]
lea ecx, [esp + 0xe4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0xe8]
push eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x14]
mov edi, 1
add eax, 0xa
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x1ac]
test al, al
je 0x41bd7e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x1b4]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test edi, edi
je 0x41bd6f
mov eax, dword [esp + edi*4 + 0x48]
jmp 0x41bd71
xor eax, eax
mov ecx, dword [esp + 0x14]
inc edi
lea edx, [eax + ecx + 0xa]
mov dword [esp + edi*4 + 0x48], edx
mov al, byte [esp + 0x2b0]
test al, al
je 0x41bdeb
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2b0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x2b4]
push eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x40f
push eax
call ebp
test eax, eax
je 0x41bdd2
push 0x31
call fcn.00449ad0
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 5]
mov dword [esp + 0x14], edx
test edi, edi
je 0x41bddc
mov eax, dword [esp + edi*4 + 0x48]
jmp 0x41bdde
xor eax, eax
mov ecx, dword [esp + 0x14]
inc edi
lea edx, [eax + ecx + 0xa]
mov dword [esp + edi*4 + 0x48], edx
mov al, byte [esp + 0x148]
test al, al
je 0x41be32
lea eax, [esp + 0x14]
lea ecx, [esp + 0x148]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x14c]
push eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test edi, edi
je 0x41be23
mov eax, dword [esp + edi*4 + 0x48]
jmp 0x41be25
xor eax, eax
mov ecx, dword [esp + 0x14]
inc edi
lea edx, [eax + ecx + 0xa]
mov dword [esp + edi*4 + 0x48], edx
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x41be99
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x9c]
push 0x1e
push eax
push 0x6f
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0xa0]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
sub ecx, eax
sub ecx, 0x1a
mov dword [esp + edi*4 + 0x4c], ecx
inc edi
mov edx, dword [esi + 0x1c]
push ebx
mov dword [esp + edi*4 + 0x50], 0xffffffff
push edx
inc edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x409
push eax
call ebp
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push edi
push 0x404
push edx
call ebp
mov eax, dword [esi + 0x70]
xor edi, edi
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0xe4]
test al, al
mov dword [esi + 0x70], 0
je 0x41bf0f
mov ecx, dword [esi + 0x1c]
push edi
push edi
push 0x40f
push ecx
call ebp
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xe4]
push edx
push 0
push 0x401
push eax
mov edi, 1
call ebp
mov al, byte [esp + 0x1ac]
test al, al
je 0x41bf3f
mov ecx, dword [esi + 0x1c]
push 0
push edi
push 0x40f
push ecx
call ebp
lea edx, [esp + 0x1ac]
mov eax, edi
push edx
push eax
mov eax, dword [esi + 0x1c]
push 0x401
push eax
inc edi
call ebp
mov al, byte [esp + 0x2b0]
mov ebx, dword [esp + 0x10]
test al, al
je 0x41c006
test ebx, ebx
je 0x41bfef
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41bfef
mov ecx, dword [0x4eb34c]
test ecx, ecx
je 0x41bfaf
lea ecx, [esi + 0x20c]
push eax
lea edx, [esp + 0x3b8]
push ecx
push edx
call fcn.0044a2d0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
xor eax, eax
test ecx, ecx
je 0x41bf95
mov eax, 0x200
push eax
push ebx
lea ecx, [esi + 0x490]
call fcn.00425260
push eax
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
jmp 0x41bfdc
push 0x101
lea ecx, [esp + 0x3b8]
push 0x160
push ecx
lea edx, [esp + 0x2bc]
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x41bfdf
mov eax, dword [esp + 0x3b4]
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x1c]
push ecx
push edi
push 0x40f
push edx
call ebp
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x2b0]
mov eax, edi
push ecx
push eax
push 0x401
push edx
inc edi
call ebp
mov al, byte [esp + 0x148]
test al, al
je 0x41c036
mov eax, dword [esi + 0x1c]
push 0
push edi
push 0x40f
push eax
call ebp
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x148]
mov eax, edi
push ecx
push eax
push 0x401
push edx
inc edi
call ebp
test ebx, ebx
je 0x41c081
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41c081
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41c081
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x410
push eax
call ebp
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41c06f
mov eax, dword [eax + 0xc]
mov ecx, edi
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 0x401
inc edi
push ecx
jmp 0x41c0a4
xor eax, eax
mov ecx, edi
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 0x401
inc edi
push ecx
jmp 0x41c0a4
mov edx, dword [esi + 0x1c]
push 0x4eb858
push edi
push 0x410
push edx
call ebp
mov eax, edi
push 0x4eb858
push eax
mov eax, dword [esi + 0x1c]
push 0x401
inc edi
push eax
call ebp
mov al, byte [esp + 0x9c]
test al, al
je 0x41c0d3
mov ecx, dword [esi + 0x1c]
push 0
push edi
push 0x40f
push ecx
call ebp
mov edx, dword [esi + 0x1c]
or edi, 0x1000
push 0
push edi
push 0x401
push edx
call ebp
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x41c0e6
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
add esp, 0x504
ret 4