Function at 0x4a1420
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
push 8
mov esi, ecx
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], 7
push str.filepath
lea ecx, [ebp - 0x78]
mov word [ebp - 0x78], ax
call fcn.00402e60
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.004270b0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x4a1499
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a148f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e54
push edx
push ecx
call fcn.0053140c
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
push 7
push str.iconbox
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00402e60
push 0
push 0x5b484c
push 0x5b67e4
push 0
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.004270b0
push eax
call sub.msvcrt.dll___RTDynamicCast
mov edx, dword [ebp - 0x9c]
add esp, 0x14
mov ebx, eax
mov dword [ebp - 0x98], ebx
cmp edx, 8
jb 0x4a1543
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e59
push edx
push ecx
call fcn.0053140c
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp dword [ebp + 0x18], eax
je 0x4a176a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.IconWnd:AddPathToCache__s_n
call fcn.00472040
add esp, 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
call fcn.00403190
mov edi, dword [ebp - 8]
lea edx, [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 4], 8
mov dword [ebp - 0x94], eax
cmovae edx, dword [ebp - 0x18]
test edi, edi
je 0x4a15d3
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2c
lea esi, [edx + ecx*2]
je 0x4a15cd
nop dword [eax]
cmp esi, edx
je 0x4a15d3
sub esi, 2
cmp word [esi], 0x2c
jne 0x4a15c0
sub esi, edx
sar esi, 1
jmp 0x4a15d6
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x4a16ae
lea ecx, [esi + 1]
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp edi, ecx
jb 0x4a1e5e
sub edi, ecx
lea eax, [ebp - 0x18]
cmp edi, 0xffffffff
mov edx, 0xffffffff
cmovb edx, edi
cmp dword [ebp - 4], 8
push edx
cmovae eax, dword [ebp - 0x18]
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x54]
call fcn.00402e60
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call sub.msvcrt.dll__wtol
add esp, 4
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 8], esi
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x18]
cmovb esi, dword [ebp - 8]
cmp dword [ebp - 4], 8
push esi
cmovae eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x28], 7
call fcn.00402e60
lea ecx, [ebp - 0x18]
call fcn.00403070
movups xmm0, xmmword [ebp - 0x3c]
xor eax, eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], ax
movups xmmword [ebp - 0x18], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [ebp - 8], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
call fcn.00403070
lea ecx, [ebp - 0x54]
call fcn.00403070
mov edi, dword [ebp - 8]
test edi, edi
je 0x4a1762
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0044b740
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x54]
push eax
call fcn.0046f5c0
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00401570
mov esi, eax
add esp, 0x24
lea eax, [ebp - 0x18]
cmp eax, esi
je 0x4a171d
mov ecx, eax
call fcn.00403070
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x18], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x90]
call fcn.00403070
lea ecx, [ebp - 0x54]
call fcn.00403070
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
test esi, esi
jne 0x4a17a7
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea ecx, [ebp - 0x18]
call fcn.00403070
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4a1e4b
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1e41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e63
jmp 0x4a1e41
push 0x4008
push 0x2b4
lea eax, [ebp - 0x364]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push 0
cmovae eax, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4a1916
xor esi, esi
test eax, eax
je 0x4a1a5a
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, eax
push esi
lea eax, [ebp - 0x54]
push 0x57bc6c
push eax
call fcn.004014d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.004716a0
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push 0
push 1
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push 0x10
push 0x10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x58], 0
cmovae eax, dword [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x5c], 0
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, 1
jne 0x4a18dc
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push 0
push 1
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 0x20
push 0x20
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, 1
jne 0x4a18dc
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x1c]
push 0
push 1
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0x30
push 0x30
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, 1
jne 0x4a18dc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a18e6
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a18df
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a18df
push edx
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046dbb0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a18e6
push eax
call edi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a18f0
push ecx
call edi
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a18fa
push edx
call edi
lea ecx, [ebp - 0x54]
call fcn.00403070
inc esi
cmp esi, ebx
jb 0x4a1805
mov ebx, dword [ebp - 0x98]
jmp 0x4a1a5a
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
push 0x57ddf4
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x24], 1
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.004716a0
lea ecx, [ebp - 0x90]
call fcn.00403070
push 0xffffffffffffffff
push str..ico
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov esi, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x4a199e
lea ecx, [esi - 4]
cmp eax, ecx
jne 0x4a199e
push 0x57ddf4
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046da40
jmp 0x4a1a4f
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, 0xffffffff
je 0x4a19e2
lea ecx, [esi - 4]
cmp eax, ecx
jne 0x4a19e2
push 0x57ddf4
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046e3d0
jmp 0x4a1a4f
push 0xffffffffffffffff
push 0x595368
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, 0xffffffff
je 0x4a1a26
lea ecx, [esi - 4]
cmp eax, ecx
jne 0x4a1a26
push 0x57ddf4
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046e740
jmp 0x4a1a4f
push 0x57ddf4
lea ecx, [ebp - 0x90]
call fcn.00402fa0
push dword [ebp - 0x360]
lea eax, [ebp - 0x90]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046db20
lea ecx, [ebp - 0x90]
call fcn.00403070
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x170]
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x24], esi
jbe 0x4a1db0
push esi
lea eax, [ebp - 0x90]
push 0x57bc6c
push eax
call fcn.004014d0
push esi
lea eax, [ebp - 0x78]
push 0x57ddf8
push eax
call fcn.004014d0
push 0x43c
call fcn.005313dc
add esp, 0x1c
test eax, eax
je 0x4a1ab1
push 1
mov ecx, eax
call fcn.0043fc40
mov edi, eax
jmp 0x4a1ab3
xor edi, edi
push 0x19
xor eax, eax
mov dword [ebp - 0x44], 0
push str.main_item_tile32_icon.xml
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00402e60
sub esp, 0x28
mov eax, esp
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.004097f0
mov edx, dword [ebp - 0x40]
add esp, 0x30
cmp edx, 8
jb 0x4a1b29
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1b1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e54
push edx
push ecx
call fcn.0053140c
add esp, 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x4a1b7b
mov ecx, edi
call fcn.0042a010
mov ecx, edi
mov esi, eax
call fcn.00429f90
push 1
sub esp, 8
mov ecx, esp
push 0
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, ebx
mov eax, dword [ebx]
push 0x5b7178
push 0x5b6c40
push 0
call dword [eax + 0x18c]
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
call fcn.0043ca90
push 9
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.item_icon
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00402e60
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00434340
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a1be5
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e54
push edx
push ecx
call fcn.0053140c
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
test esi, esi
je 0x4a1c77
lea eax, [ebp - 0x78]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.00470ac0
test al, al
jne 0x4a1c6c
push 7
push str._s:err
lea ecx, [ebp - 0x78]
call fcn.00402e60
lea eax, [ebp - 0x78]
push eax
call fcn.0047a610
mov ecx, eax
call fcn.00470ac0
test al, al
je 0x4a1c77
push 9
xor eax, eax
mov dword [ebp - 0x44], 0
push str.item_icon
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00402e60
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.00434340
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403070
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.0042b5b0
push 9
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.item_text
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00402e60
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00434340
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a1ce1
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1cd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e54
push edx
push ecx
call fcn.0053140c
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
test esi, esi
je 0x4a1d0a
mov eax, dword [esi]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, esi
call dword [eax + 0x154]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x160]
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x4a1d4f
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e54
push edx
push ecx
call fcn.0053140c
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edx, 8
jb 0x4a1da0
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1d96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e54
push edx
push ecx
call fcn.0053140c
add esp, 8
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x24]
jb 0x4a1a72
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jle 0x4a1de9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
mov edx, dword [ebp - 0x94]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebx + 0x560]
push 1
cmovge edx, ecx
lea ecx, [ebx + 0x560]
push 0
push edx
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x2c]
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x4a1e28
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1e1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1e63
push edx
push ecx
call fcn.0053140c
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
jmp 0x4a176a
push edx
push ecx
call fcn.0053140c
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.0055d660
call fcn.0055d660
call fcn.00402410
call fcn.0055d660
int3