Function at 0x4a3ff0
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 0x4a4075
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a406b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a47
push edx
push ecx
call fcn.005342bc
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 0x5b784c
push 0x5b980c
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 0x4a4122
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a4c
push edx
push ecx
call fcn.005342bc
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 0x4a434d
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 0x4a41b3
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 0x4a41ad
nop dword [eax]
cmp esi, edx
je 0x4a41b3
sub esi, 2
cmp word [esi], 0x2c
jne 0x4a41a0
sub esi, edx
sar esi, 1
jmp 0x4a41b6
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x4a428e
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 0x4a4a51
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 0x4a4345
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 0x4a42fa
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 0x4a438a
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 0x4a4a3e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4a34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a56
jmp 0x4a4a34
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 0x4a44d8
xor esi, esi
test eax, eax
je 0x4a463d
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, eax
push esi
lea eax, [ebp - 0x54]
push 0x57ed34
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 0x4a449e
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 0x4a449e
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 0x4a449e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a44a8
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a44a1
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a44a1
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 0x4a44a8
push eax
call edi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a44b2
push ecx
call edi
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a44bc
push edx
call edi
lea ecx, [ebp - 0x54]
call fcn.00403070
inc esi
cmp esi, ebx
jb 0x4a43c7
mov ebx, dword [ebp - 0x98]
jmp 0x4a463d
push 0x58124c
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 0x4a4543
push 0x58124c
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 0x4a4635
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, esi
jne 0x4a457c
push 0x58124c
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 0x4a4635
push 0xffffffffffffffff
push 0x5989e8
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, esi
jne 0x4a45b5
push 0x58124c
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 0x4a4635
push 0xffffffffffffffff
push str..webp
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, dword [ebp - 8]
add ecx, 0xfffffffb
cmp eax, ecx
jne 0x4a45f1
push 0x58124c
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 0x4a4635
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 0x58124c
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 0x4a49a3
push esi
lea eax, [ebp - 0x74]
push 0x57ed34
push eax
call fcn.004014d0
push esi
lea eax, [ebp - 0x8c]
push 0x581250
push eax
call fcn.004014d0
push 0x43c
call fcn.0053428c
add esp, 0x1c
test eax, eax
je 0x4a4694
push 1
mov ecx, eax
call fcn.0043fd40
mov edi, eax
jmp 0x4a4696
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 0x4a470c
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a47
push edx
push ecx
call fcn.005342bc
add esp, 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x4a475e
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 0x5ba1a0
push 0x5b9c68
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 0x4a47c8
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a47be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a47
push edx
push ecx
call fcn.005342bc
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 0x4a486a
lea eax, [ebp - 0x8c]
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.00470fb0
test al, al
jne 0x4a485c
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 0x4a486a
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 0x4a48d4
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a48ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a47
push edx
push ecx
call fcn.005342bc
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 0x4a48fa
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 0x4a4942
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4938
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a47
push edx
push ecx
call fcn.005342bc
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 0x4a4993
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4989
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a47
push edx
push ecx
call fcn.005342bc
add esp, 8
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x24]
jb 0x4a4655
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jle 0x4a49dc
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 0x4a4a1b
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4a11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4a56
push edx
push ecx
call fcn.005342bc
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
jmp 0x4a434d
push edx
push ecx
call fcn.005342bc
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.00560610
call fcn.00560610
call fcn.00402410
call fcn.00560610
int3