Function at 0x4a1af0
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 - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], 7
push str.filepath
lea ecx, [ebp - 0x8c]
mov word [ebp - 0x8c], ax
call fcn.00402e60
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.00427880
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x4a1b75
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1b6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2547
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
push 7
push str.iconbox
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00402e60
push 0
push 0x5b584c
push 0x5b780c
push 0
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.00427880
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 0x4a1c22
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1c18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a254c
push edx
push ecx
call fcn.00531d2c
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 0x4a1e4d
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.IconWnd:AddPathToCache__s_n
call fcn.0046ffb0
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 0x4a1cb3
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 0x4a1cad
nop dword [eax]
cmp esi, edx
je 0x4a1cb3
sub esi, 2
cmp word [esi], 0x2c
jne 0x4a1ca0
sub esi, edx
sar esi, 1
jmp 0x4a1cb6
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x4a1d8e
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 0x4a2551
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 0x4a1e45
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0044be70
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x54]
push eax
call fcn.0046d530
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00401570
mov esi, eax
add esp, 0x24
lea eax, [ebp - 0x18]
cmp eax, esi
je 0x4a1dfa
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 - 0x74]
call fcn.00403070
lea ecx, [ebp - 0x54]
call fcn.00403070
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 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 edi, eax
test edi, edi
jne 0x4a1e8a
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea ecx, [ebp - 0x18]
call fcn.00403070
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4a253e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2556
jmp 0x4a2534
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 0x4a1fd8
xor esi, esi
test eax, eax
je 0x4a213d
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, eax
push esi
lea eax, [ebp - 0x54]
push 0x57cd0c
push eax
call fcn.004014d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046f610
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 0x4a1f9e
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 0x4a1f9e
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 0x4a1f9e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a1fa8
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a1fa1
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a1fa1
push edx
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046bb30
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a1fa8
push eax
call edi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a1fb2
push ecx
call edi
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a1fbc
push edx
call edi
lea ecx, [ebp - 0x54]
call fcn.00403070
inc esi
cmp esi, ebx
jb 0x4a1ec7
mov ebx, dword [ebp - 0x98]
jmp 0x4a213d
push 0x57f224
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x24], 1
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046f610
lea ecx, [ebp - 0x74]
call fcn.00403070
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x18]
push 0xffffffffffffffff
push str..ico
add esi, 0xfffffffc
call fcn.0041c8c0
cmp eax, esi
jne 0x4a2043
push 0x57f224
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046b9c0
jmp 0x4a2135
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c8c0
cmp eax, esi
jne 0x4a207c
push 0x57f224
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046c350
jmp 0x4a2135
push 0xffffffffffffffff
push 0x596998
lea ecx, [ebp - 0x18]
call fcn.0041c8c0
cmp eax, esi
jne 0x4a20b5
push 0x57f224
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046c6c0
jmp 0x4a2135
push 0xffffffffffffffff
push str..webp
lea ecx, [ebp - 0x18]
call fcn.0041c8c0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffffb
cmp eax, ecx
jne 0x4a20f1
push 0x57f224
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046c790
jmp 0x4a2135
push 0x4008
push 0x2b4
lea eax, [ebp - 0x364]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push edi
call dword [sym.imp.SHELL32.dll_ILFree]
push 0x57f224
lea ecx, [ebp - 0x74]
call fcn.00402fa0
push dword [ebp - 0x360]
lea eax, [ebp - 0x74]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046baa0
lea ecx, [ebp - 0x74]
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 0x4a24a3
push esi
lea eax, [ebp - 0x74]
push 0x57cd0c
push eax
call fcn.004014d0
push esi
lea eax, [ebp - 0x8c]
push 0x57f228
push eax
call fcn.004014d0
push 0x43c
call fcn.00531cfc
add esp, 0x1c
test eax, eax
je 0x4a2194
push 1
mov ecx, eax
call fcn.0043e3d0
mov edi, eax
jmp 0x4a2196
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.00409960
mov edx, dword [ebp - 0x40]
add esp, 0x30
cmp edx, 8
jb 0x4a220c
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2202
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2547
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x4a225e
mov ecx, edi
call fcn.0042a680
mov ecx, edi
mov esi, eax
call fcn.0042a600
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 0x5b81a0
push 0x5b7c68
push 0
call dword [eax + 0x18c]
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
call fcn.0043bb80
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.00434100
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a22c8
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a22be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2547
push edx
push ecx
call fcn.00531d2c
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 0x4a236a
lea eax, [ebp - 0x8c]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046ea30
test al, al
jne 0x4a235c
push 7
push str._s:err
lea ecx, [ebp - 0x8c]
call fcn.00402e60
lea eax, [ebp - 0x8c]
push eax
call fcn.00478830
mov ecx, eax
call fcn.0046ea30
test al, al
je 0x4a236a
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.00434100
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403070
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0042bb30
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.00434100
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a23d4
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a23ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2547
push edx
push ecx
call fcn.00531d2c
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 0x4a23fa
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
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 - 0x78]
cmp edx, 8
jb 0x4a2442
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2438
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2547
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x4a2493
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2489
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2547
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x24]
jb 0x4a2155
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jle 0x4a24dc
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 0x4a251b
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2556
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
jmp 0x4a1e4d
push edx
push ecx
call fcn.00531d2c
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.0055e070
call fcn.0055e070
call fcn.00402410
call fcn.0055e070
int3