Function at 0x4a2cf0
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 0x4a2d69
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2d5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3724
push edx
push ecx
call fcn.00532e3c
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 0x5b684c
push 0x5b880c
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 0x4a2e13
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3729
push edx
push ecx
call fcn.00532e3c
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 0x4a303a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.IconWnd:AddPathToCache__s_n
call fcn.00472280
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 0x4a2ea3
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 0x4a2e9d
nop dword [eax]
cmp esi, edx
je 0x4a2ea3
sub esi, 2
cmp word [esi], 0x2c
jne 0x4a2e90
sub esi, edx
sar esi, 1
jmp 0x4a2ea6
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x4a2f7e
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 0x4a372e
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 0x4a3032
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0044dd00
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x54]
push eax
call fcn.0046f800
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 0x4a2fed
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 0x4a3077
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 0x4a371b
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3711
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3733
jmp 0x4a3711
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 0x4a31e6
xor esi, esi
test eax, eax
je 0x4a332a
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, eax
push esi
lea eax, [ebp - 0x54]
push 0x57db8c
push eax
call fcn.004014d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.004718e0
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 0x4a31ac
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 0x4a31ac
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 0x4a31ac
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a31b6
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a31af
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a31af
push edx
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.0046de00
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4a31b6
push eax
call edi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4a31c0
push ecx
call edi
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x4a31ca
push edx
call edi
lea ecx, [ebp - 0x54]
call fcn.00403070
inc esi
cmp esi, ebx
jb 0x4a30d5
mov ebx, dword [ebp - 0x98]
jmp 0x4a332a
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
push 0x58009c
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x24], 1
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.004718e0
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 0x4a326e
lea ecx, [esi - 4]
cmp eax, ecx
jne 0x4a326e
push 0x58009c
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.0046dc90
jmp 0x4a331f
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, 0xffffffff
je 0x4a32b2
lea ecx, [esi - 4]
cmp eax, ecx
jne 0x4a32b2
push 0x58009c
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.0046e620
jmp 0x4a331f
push 0xffffffffffffffff
push 0x597738
lea ecx, [ebp - 0x18]
call fcn.0041c570
cmp eax, 0xffffffff
je 0x4a32f6
lea ecx, [esi - 4]
cmp eax, ecx
jne 0x4a32f6
push 0x58009c
lea ecx, [ebp - 0x90]
call fcn.00402fa0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.0046e990
jmp 0x4a331f
push 0x58009c
lea ecx, [ebp - 0x90]
call fcn.00402fa0
push dword [ebp - 0x360]
lea eax, [ebp - 0x90]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.0046dd70
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 0x4a3680
push esi
lea eax, [ebp - 0x90]
push 0x57db8c
push eax
call fcn.004014d0
push esi
lea eax, [ebp - 0x78]
push 0x5800a0
push eax
call fcn.004014d0
push 0x43c
call fcn.00532e0c
add esp, 0x1c
test eax, eax
je 0x4a3381
push 1
mov ecx, eax
call fcn.0043fa90
mov edi, eax
jmp 0x4a3383
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 0x4a33f9
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a33ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3724
push edx
push ecx
call fcn.00532e3c
add esp, 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x4a344b
mov ecx, edi
call fcn.00429ed0
mov ecx, edi
mov esi, eax
call fcn.00429e50
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 0x5b91a0
push 0x5b8c68
push 0
call dword [eax + 0x18c]
push eax
call sub.msvcrt.dll___RTDynamicCast
add esp, 0x14
mov ecx, eax
call fcn.0043c8e0
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.004341f0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a34b5
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a34ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3724
push edx
push ecx
call fcn.00532e3c
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 0x4a3547
lea eax, [ebp - 0x78]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.00470d00
test al, al
jne 0x4a353c
push 7
push str._s:err
lea ecx, [ebp - 0x78]
call fcn.00402e60
lea eax, [ebp - 0x78]
push eax
call fcn.0047a880
mov ecx, eax
call fcn.00470d00
test al, al
je 0x4a3547
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.004341f0
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403070
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.0042b470
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.004341f0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 8
jb 0x4a35b1
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a35a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3724
push edx
push ecx
call fcn.00532e3c
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 0x4a35da
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 0x4a361f
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3724
push edx
push ecx
call fcn.00532e3c
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 0x4a3670
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a3666
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3724
push edx
push ecx
call fcn.00532e3c
add esp, 8
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x24]
jb 0x4a3342
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jle 0x4a36b9
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 0x4a36f8
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a36ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3733
push edx
push ecx
call fcn.00532e3c
add esp, 8
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
jmp 0x4a303a
push edx
push ecx
call fcn.00532e3c
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.0055f150
call fcn.0055f150
call fcn.00402410
call fcn.0055f150
int3