Function at 0x4a45b0
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.00427170
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp edx, 8
jb 0x4a4635
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a462b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5007
push edx
push ecx
call fcn.005348bc
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 0x5b884c
push 0x5ba80c
push 0
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.00427170
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 0x4a46e2
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a46d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a500c
push edx
push ecx
call fcn.005348bc
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 0x4a490d
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.IconWnd:AddPathToCache__s_n
call fcn.00472530
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 0x4a4773
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 0x4a476d
nop dword [eax]
cmp esi, edx
je 0x4a4773
sub esi, 2
cmp word [esi], 0x2c
jne 0x4a4760
sub esi, edx
sar esi, 1
jmp 0x4a4776
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x4a484e
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 0x4a5011
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 0x4a4905
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0044dfb0
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x54]
push eax
call fcn.0046fab0
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 0x4a48ba
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 0x4a494a
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 0x4a4ffe
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4ff4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5016
jmp 0x4a4ff4
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 0x4a4a98
xor esi, esi
test eax, eax
je 0x4a4bfd
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, eax
push esi
lea eax, [ebp - 0x54]
push 0x57fd74
push eax
call fcn.004014d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.00471b90
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 0x4a4a5e
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 0x4a4a5e
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 0x4a4a5e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a4a68
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a4a61
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a4a61
push edx
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046e0b0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a4a68
push eax
call edi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a4a72
push ecx
call edi
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a4a7c
push edx
call edi
lea ecx, [ebp - 0x54]
call fcn.00403070
inc esi
cmp esi, ebx
jb 0x4a4987
mov ebx, dword [ebp - 0x98]
jmp 0x4a4bfd
push 0x58228c
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x24], 1
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.00471b90
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.0041c570
cmp eax, esi
jne 0x4a4b03
push 0x58228c
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046df40
jmp 0x4a4bf5
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, esi
jne 0x4a4b3c
push 0x58228c
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046e8d0
jmp 0x4a4bf5
push 0xffffffffffffffff
push 0x599a58
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, esi
jne 0x4a4b75
push 0x58228c
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046ec40
jmp 0x4a4bf5
push 0xffffffffffffffff
push str..webp
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, dword [ebp - 8]
add ecx, 0xfffffffb
cmp eax, ecx
jne 0x4a4bb1
push 0x58228c
lea ecx, [ebp - 0x74]
call fcn.00402fa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046ed10
jmp 0x4a4bf5
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 0x58228c
lea ecx, [ebp - 0x74]
call fcn.00402fa0
push dword [ebp - 0x360]
lea eax, [ebp - 0x74]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046e020
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 0x4a4f63
push esi
lea eax, [ebp - 0x74]
push 0x57fd74
push eax
call fcn.004014d0
push esi
lea eax, [ebp - 0x8c]
push 0x582290
push eax
call fcn.004014d0
push 0x43c
call fcn.0053488c
add esp, 0x1c
test eax, eax
je 0x4a4c54
push 1
mov ecx, eax
call fcn.0043fd40
mov edi, eax
jmp 0x4a4c56
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 0x4a4ccc
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4cc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5007
push edx
push ecx
call fcn.005348bc
add esp, 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x4a4d1e
mov ecx, edi
call fcn.00429f90
mov ecx, edi
mov esi, eax
call fcn.00429f10
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 0x5bb1a0
push 0x5bac68
push 0
call dword [eax + 0x18c]
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
call fcn.0043c9a0
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.004342c0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a4d88
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4d7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5007
push edx
push ecx
call fcn.005348bc
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 0x4a4e2a
lea eax, [ebp - 0x8c]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.00470fb0
test al, al
jne 0x4a4e1c
push 7
push str._s:err
lea ecx, [ebp - 0x8c]
call fcn.00402e60
lea eax, [ebp - 0x8c]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.00470fb0
test al, al
je 0x4a4e2a
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.004342c0
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403070
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0042b530
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.004342c0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a4e94
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4e8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5007
push edx
push ecx
call fcn.005348bc
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 0x4a4eba
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 0x4a4f02
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4ef8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5007
push edx
push ecx
call fcn.005348bc
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 0x4a4f53
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4f49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5007
push edx
push ecx
call fcn.005348bc
add esp, 8
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x24]
jb 0x4a4c15
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jle 0x4a4f9c
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 0x4a4fdb
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4fd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5016
push edx
push ecx
call fcn.005348bc
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
jmp 0x4a490d
push edx
push ecx
call fcn.005348bc
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.00560be0
call fcn.00560be0
call fcn.00402410
call fcn.00560be0
int3