Function at 0x41caf0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f998d
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
or esi, 0xffffffff
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
cmp edi, esi
jne 0x41cb66
mov eax, dword [ebx + 0x20]
push 0x105
push 0
push 0
push eax
mov dword [ebx + 0x9c], esi
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x41d273
push 1
lea ecx, [esp + 0x1c]
push edi
push ecx
call dword [0x4ff4f4]
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x41d26d
lea esi, [ebx + 0x84]
mov dword [esp + 0x40], esi
call fcn.0041db20
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
push 1
push 0
push 0
lea edx, [ebx + 0x8c]
push ecx
mov dword [esp + 0x44], edx
call fcn.004f08d0
mov edi, edx
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [edx + 0x14]
xor ecx, ecx
add esi, eax
push 0x104
adc edi, ecx
mov ecx, dword [esp + 0x38]
push 0x104
call dword [0x4fff30]
push eax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrFormatKBSizeW]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
call dword [0x4ffef8]
lea esi, [ebx + 0x90]
mov ecx, esi
mov dword [esp + 0x44], esi
call dword [0x4ffad0]
mov eax, dword [esp + 0x18]
call fcn.0041dc20
lea ecx, [esp + 0x14]
call dword [0x4fff58]
mov dword [esp + 0x348], 0
mov edi, dword [ebp + 8]
lea esi, [esp + 0x14]
call fcn.0041dba0
mov eax, dword [ebx + 0x58]
lea edi, [ebx + 0x54]
xor esi, esi
cmp eax, esi
je 0x41cc58
push eax
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x20], 0xffffffff
mov byte [edi + 0x1d], 0
mov byte [edi + 0x1c], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
push edx
push edi
call fcn.00413c20
test eax, eax
je 0x41cc79
mov eax, dword [esp + 0x14]
push eax
lea edi, [ebx + 0x178]
call fcn.0043efa0
jmp 0x41cc96
mov ebx, edi
call fcn.00450020
mov ecx, dword [esp + 0x1c]
add ecx, 0x17c
call dword [0x4ffad0]
mov ebx, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.0041dc70
test eax, eax
jne 0x41ccf2
push 0x2e
lea ecx, [esp + 0x18]
call dword [0x4ffb84]
cmp eax, 0xffffffff
je 0x41ccf2
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call dword [0x4ffb88]
mov byte [esp + 0x348], 1
push eax
lea ecx, [esp + 0x18]
call dword [0x4ffefc]
mov byte [esp + 0x348], 0
lea ecx, [esp + 0x1c]
call dword [0x4fff34]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
push 0x510
push 0x2b4
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x41cd4a
lea ecx, [esp + 0x290]
push ecx
lea ecx, [ebx + 0x88]
call dword [0x4fff04]
mov eax, dword [ebx + 0x94]
cmp eax, esi
je 0x41cd40
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esp + 0x7c]
mov dword [ebx + 0x94], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
shr ecx, 4
and ecx, 1
mov dword [ebx + 0xa0], ecx
lea ecx, [esp + 0x24]
call dword [0x4fff58]
mov byte [esp + 0x348], 2
lea ecx, [esp + 0x28]
call dword [0x4fff58]
mov byte [esp + 0x348], 3
lea ecx, [esp + 0x30]
call dword [0x4fff58]
mov byte [esp + 0x348], 4
lea ecx, [esp + 0x2c]
call dword [0x4fff58]
mov byte [esp + 0x348], 5
lea ecx, [esp + 0x20]
call dword [0x4fff58]
mov byte [esp + 0x348], 6
push 0x500820
push 0x500820
push 0x500820
push 0x5043b0
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x28]
call dword [0x4fff04]
push 0x500820
push 0x500820
push 0x500820
push str.3701037
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x2c]
call dword [0x4fff04]
push 0x500820
push 0x500820
push 0x500820
push str.3701020
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x34]
call dword [0x4fff04]
push 0x500820
push 0x500820
push 0x500820
push str.3701021
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x30]
call dword [0x4fff04]
cmp dword [ebx + 0xa0], esi
je 0x41ce8b
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x88]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x38]
push str._s:__s_r_n_s:__s_r_n_s:__s
push ecx
call dword [0x4ffacc]
add esp, 0x20
jmp 0x41d1c2
lea edx, [esp + 0x4c]
push edx
call fcn.00405ba0
mov byte [esp + 0x348], 7
lea ecx, [esp + 0x1c]
call dword [0x4fff58]
mov byte [esp + 0x348], 8
lea ecx, [esp + 0x3c]
call dword [0x4fff58]
mov byte [esp + 0x348], 9
lea ecx, [esp + 0x38]
call dword [0x4fff58]
mov byte [esp + 0x348], 0xa
lea ecx, [esp + 0x48]
call dword [0x4fff58]
mov byte [esp + 0x348], 0xb
push 0x500820
push 0x500820
push 0x500820
push str.3701038
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x20]
call dword [0x4fff04]
push 0x500820
push 0x500820
push 0x500820
push str.3701039
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x40]
call dword [0x4fff04]
push 0x500820
push 0x500820
push 0x500820
push str.3701040
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x3c]
call dword [0x4fff04]
push 0x500820
push 0x500820
push 0x500820
push str.3701041
call fcn.004ef0c6
push eax
lea ecx, [esp + 0x4c]
call dword [0x4fff04]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x41d125
mov ecx, dword [esp + 0x14]
push ecx
lea edi, [esp + 0x50]
call fcn.0041d4e0
add esp, 4
test eax, eax
je 0x41d125
lea ecx, [esp + 0x10]
call dword [0x4fff58]
mov byte [esp + 0x348], 0xc
mov edx, dword [esp + 0x54]
mov eax, dword [edx - 0xc]
cmp eax, esi
je 0x41cffa
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x504460
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x5025bc
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
mov edx, dword [esp + 0x58]
cmp dword [edx - 0xc], esi
je 0x41d03f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x504460
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x5025bc
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
mov edx, dword [esp + 0x70]
cmp dword [edx - 0xc], esi
je 0x41d084
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x504460
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x5025bc
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
mov edx, dword [esp + 0x50]
cmp dword [edx - 0xc], esi
je 0x41d0c9
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x504460
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x14]
call dword [0x4ff9e8]
push 0x5025bc
lea ecx, [esp + 0x14]
call dword [0x4ffad4]
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [edx]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x88]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x44]
push str._s:__s_r_n_s:__s_r_n_s_s:__s_r_n_s:__s
push edx
call dword [0x4ffacc]
add esp, 0x2c
mov byte [esp + 0x348], 0xb
lea ecx, [esp + 0x10]
call dword [0x4fff34]
jmp 0x41d168
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [eax]
mov eax, dword [ebx + 0x88]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x40]
push str._s:__s_r_n_s:__s_r_n_s:__s_r_n_s:__s
push edx
call dword [0x4ffacc]
add esp, 0x28
mov byte [esp + 0x348], 0xa
lea ecx, [esp + 0x48]
call dword [0x4fff34]
mov byte [esp + 0x348], 9
lea ecx, [esp + 0x38]
call dword [0x4fff34]
mov byte [esp + 0x348], 8
lea ecx, [esp + 0x3c]
call dword [0x4fff34]
mov byte [esp + 0x348], 7
lea ecx, [esp + 0x1c]
call dword [0x4fff34]
mov byte [esp + 0x348], 6
lea eax, [esp + 0x4c]
push eax
call fcn.00405c90
cmp dword [ebx + 0x20], esi
je 0x41d1e0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004ef126
mov edx, dword [ebx + 0x20]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x18]
push eax
call dword [0x4ff4f0]
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ebx + 0x9c], ecx
mov byte [esp + 0x348], 5
lea ecx, [esp + 0x20]
call dword [0x4fff34]
mov byte [esp + 0x348], 4
lea ecx, [esp + 0x2c]
call dword [0x4fff34]
mov byte [esp + 0x348], 3
lea ecx, [esp + 0x30]
call dword [0x4fff34]
mov byte [esp + 0x348], 2
lea ecx, [esp + 0x28]
call dword [0x4fff34]
mov byte [esp + 0x348], 0
lea ecx, [esp + 0x24]
call dword [0x4fff34]
mov dword [esp + 0x348], 0xffffffff
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov eax, 1
jmp 0x41d275
mov dword [ebx + 0x9c], esi
xor eax, eax
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.004efe2a
mov esp, ebp
pop ebp
ret 4