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

Disassembly:
sub esp, 0x4d4
mov dl, byte [0x4fbe40]
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, pe_nt_image_headers32
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 + 0x75]
mov byte [esp + 0x74], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x281]
mov byte [esp + 0x280], 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.00443540
mov eax, dword [esi + 0x434]
add esp, 0xc
cmp eax, 1
jne 0x4156f7
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x2c]
push eax
push 0x81
lea edx, [esp + 0xbc]
push ecx
push edx
call fcn.00444d00
add esp, 0x10
jmp 0x415719
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x82
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.00444d00
add esp, 0x14
mov eax, dword [esp + 0x4e8]
test eax, eax
jne 0x41572a
call dword [sym.imp.user32.dll_GetFocus]
mov ecx, dword [esi + 0x24]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
cmp eax, ecx
mov dword [esp + 0x10], 0
jne 0x415785
push 8
push 0xffffffffffffffff
push 0x100c
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x41575e
mov ecx, dword [esi + 0x24]
push 1
push eax
push 0x100c
push ecx
call ebx
push eax
mov ecx, esi
call fcn.00418060
test eax, eax
je 0x415a4a
mov eax, dword [eax + 8]
lea edx, [esp + 0x17c]
push edx
push eax
call dword [sym.imp.user32.dll_OemToCharA]
jmp 0x415a4a
mov ecx, esi
call fcn.00412510
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.00443540
mov eax, dword [esi + 0x438]
add esp, 0xc
cmp eax, 1
jle 0x4157df
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x83
lea eax, [esp + 0x188]
push edx
push eax
call fcn.00444d00
add esp, 0x14
jmp 0x41595d
test edi, edi
je 0x415a4a
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
cmp eax, 3
jne 0x4158d4
mov eax, dword [edi + 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 3
je 0x415814
cmp eax, 4
je 0x415814
cmp eax, 5
jne 0x41595d
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 0x41595d
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
imul edi, dword [esp + 0x20]
xor ebp, ebp
push ebp
push edi
push ebp
push edx
call fcn.004c8dc0
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.00443540
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebp
push edi
push ebp
push eax
call fcn.004c8dc0
mov dword [esi + 0x448], eax
lea ecx, [esp + 0x94]
mov dword [esi + 0x44c], edx
mov eax, dword [esi + 0x448]
push ecx
push edx
push eax
call fcn.00443540
mov eax, dword [esi + 0x200]
add esp, 0xc
lea ecx, [esp + 0x94]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x9c
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.00444d00
add esp, 0x14
jmp 0x41595d
cmp eax, 2
je 0x41595d
mov dl, byte [0x4fbe40]
mov ecx, 0x3f
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
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x388]
push 0x100
push eax
lea ecx, [edi + 0x40]
push ecx
call fcn.004434d0
mov eax, dword [edi + 8]
add esp, 0x10
test eax, eax
jne 0x415947
mov edi, dword [sym.imp.kernel32.dll_lstrcat]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x17c]
push edx
push eax
call edi
lea ecx, [esp + 0x17c]
push 0x4ee720
push ecx
call edi
lea edx, [esp + 0x384]
lea eax, [esp + 0x17c]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x415a4a
mov edi, eax
mov eax, dword [edi + 0x3c]
test eax, eax
jl 0x415999
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x34]
push 0
push 0
push ecx
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [edi + 0x2c]
push ecx
push edx
push eax
lea eax, [esp + 0x134]
push 0
push eax
call fcn.00456950
add esp, 0x24
mov edi, dword [edi + 0x68]
test edi, edi
je 0x415a4a
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 8], 2
je 0x415a4a
lea edx, [esp + 0x280]
push 0x100
push edx
push edi
call dword [sym.imp.comdlg32.dll_GetFileTitleA]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x415a4a
lea ecx, [esp + 0x280]
push 0x4ee718
push ecx
call dword [sym.imp.kernel32.dll_lstrcat]
mov dl, byte [0x4fbe40]
mov ecx, pe_nt_image_headers32
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 + 0x20c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0041df30
lea edx, [esp + 0x280]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
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 + 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 ebp, eax
call ebx
push eax
push ebp
call dword [sym.imp.gdi32.dll_SelectObject]
mov al, byte [esp + 0xb4]
test al, al
je 0x415aa8
lea eax, [esp + 0x14]
lea ecx, [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
lea edx, [esp + 0xb8]
push eax
push edx
push ebp
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 + 0x17c]
test al, al
je 0x415aef
lea ecx, [esp + 0x14]
lea edx, [esp + 0x17c]
push ecx
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
push eax
lea eax, [esp + 0x184]
push eax
push ebp
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
test edi, edi
je 0x415ae0
mov eax, dword [esp + edi*4 + 0x48]
jmp 0x415ae2
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 + 0x280]
test al, al
je 0x415b5c
lea eax, [esp + 0x14]
lea ecx, [esp + 0x280]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
lea edx, [esp + 0x284]
push eax
push edx
push ebp
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x40f
push eax
call ebx
test eax, eax
je 0x415b43
push 0x31
call fcn.00442af0
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 5]
mov dword [esp + 0x14], edx
test edi, edi
je 0x415b4d
mov eax, dword [esp + edi*4 + 0x48]
jmp 0x415b4f
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 + 0x118]
test al, al
je 0x415ba3
lea eax, [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
lea edx, [esp + 0x11c]
push eax
push edx
push ebp
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
test edi, edi
je 0x415b94
mov eax, dword [esp + edi*4 + 0x48]
jmp 0x415b96
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 0x415c07
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x74]
push 0x1e
push eax
push 0x6f
push ecx
call dword [sym.imp.user32.dll_LoadStringA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x74]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
lea ecx, [esp + 0x78]
push eax
push ecx
push ebp
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x94]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esp + 0x9c]
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 ebp
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 ebx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push edi
push 0x404
push edx
call ebx
mov eax, dword [esi + 0x70]
xor edi, edi
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0xb4]
test al, al
mov dword [esi + 0x70], 0
je 0x415c7d
mov ecx, dword [esi + 0x1c]
push edi
push edi
push 0x40f
push ecx
call ebx
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xb4]
push edx
push 0
push 0x401
push eax
mov edi, 1
call ebx
mov al, byte [esp + 0x17c]
test al, al
je 0x415cad
mov ecx, dword [esi + 0x1c]
push 0
push edi
push 0x40f
push ecx
call ebx
lea edx, [esp + 0x17c]
mov eax, edi
push edx
push eax
mov eax, dword [esi + 0x1c]
push 0x401
push eax
inc edi
call ebx
mov al, byte [esp + 0x280]
mov ebp, dword [esp + 0x10]
test al, al
je 0x415d74
test ebp, ebp
je 0x415d5d
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x415d5d
mov ecx, dword [0x4fb83c]
test ecx, ecx
je 0x415d1d
lea ecx, [esi + 0x20c]
push eax
lea edx, [esp + 0x388]
push ecx
push edx
call fcn.00442e30
mov ecx, dword [ebp + 0x10]
add esp, 0xc
xor eax, eax
test ecx, ecx
je 0x415d03
mov eax, 0x200
push eax
push ebp
lea ecx, [esi + 0x490]
call fcn.0041e9e0
push eax
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.comctl32.dll_ImageList_GetIcon]
jmp 0x415d4a
push 0x101
lea ecx, [esp + 0x388]
push 0x160
push ecx
lea edx, [esp + 0x28c]
push 0
push edx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
test eax, eax
je 0x415d4d
mov eax, dword [esp + 0x384]
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x1c]
push ecx
push edi
push 0x40f
push edx
call ebx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x280]
mov eax, edi
push ecx
push eax
push 0x401
push edx
inc edi
call ebx
mov al, byte [esp + 0x118]
test al, al
je 0x415da4
mov eax, dword [esi + 0x1c]
push 0
push edi
push 0x40f
push eax
call ebx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x118]
mov eax, edi
push ecx
push eax
push 0x401
push edx
inc edi
call ebx
test ebp, ebp
je 0x415def
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x415def
mov eax, dword [eax + 0xc]
test eax, eax
je 0x415def
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x410
push eax
call ebx
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x415ddd
mov eax, dword [eax + 0xc]
mov ecx, edi
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 0x401
inc edi
push ecx
jmp 0x415e12
xor eax, eax
mov ecx, edi
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 0x401
inc edi
push ecx
jmp 0x415e12
mov edx, dword [esi + 0x1c]
push 0x4fbe40
push edi
push 0x410
push edx
call ebx
mov eax, edi
push 0x4fbe40
push eax
mov eax, dword [esi + 0x1c]
push 0x401
inc edi
push eax
call ebx
mov al, byte [esp + 0x74]
test al, al
je 0x415e3e
mov ecx, dword [esi + 0x1c]
push 0
push edi
push 0x40f
push ecx
call ebx
mov edx, dword [esi + 0x1c]
or edi, 0x1000
push 0
push edi
push 0x401
push edx
call ebx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x415e51
push eax
call dword [sym.imp.user32.dll_DestroyCursor]
add esp, 0x4d4
ret 4