Function at 0x46dfc0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 8
jb 0x46dfdb
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x46dfe8
mov ecx, dword [esi]
push eax
push ecx
push str.AddPathToCache__s__s_n
call fcn.00472280
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00401570
add esp, 0x14
cmp dword [ebp - 0x28], 0
jne 0x46e00e
xor bl, bl
jmp 0x46e5d4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403190
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push 0x57b10c
push eax
call fcn.00463b10
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x46e063
mov ecx, eax
call fcn.00403070
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x58]
call fcn.00403070
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00401570
mov edx, dword [ebp - 0x5c]
add esp, 8
cmp edx, 8
jb 0x46e0b8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e0ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e615
push edx
push ecx
call fcn.00532e3c
add esp, 8
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004087f0
add esp, 8
cmp dword [ebp - 0x40], 0
je 0x46e0d8
mov bl, 1
jmp 0x46e5a1
push ebx
lea ecx, [ebp - 0x18]
call fcn.00403190
mov ebx, dword [ebp - 8]
cmp ebx, 2
jbe 0x46e153
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
cmp esi, 8
cmovae eax, ecx
cmp word [eax], 0x2a
jne 0x46e153
cmp esi, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax + 2], 0x2e
jne 0x46e153
push 0x2b4
lea eax, [ebp - 0x608]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x608]
cmp esi, 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push 0x4010
push 0x2b4
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push dword [ebp - 0x604]
jmp 0x46e58c
push 0xffffffffffffffff
push 0x2c
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.0040b140
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46e1c8
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040f770
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call sub.msvcrt.dll__wtol
mov esi, eax
add esp, 4
test esi, esi
jns 0x46e195
neg esi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f770
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f730
lea ecx, [ebp - 0x88]
call fcn.00403070
lea ecx, [ebp - 0x58]
call fcn.00403070
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0x46e1d3
xor bl, bl
jmp 0x46e599
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x58]
push eax
call fcn.0046f800
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00401570
add esp, 0x24
lea ecx, [ebp - 0x18]
push eax
call fcn.0040f730
lea ecx, [ebp - 0x88]
call fcn.00403070
lea ecx, [ebp - 0x58]
call fcn.00403070
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 ebx, dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
je 0x46e348
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x20]
push 0
push 1
push ecx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push 0x10
push 0x10
lea eax, [ebp - 0x18]
mov dword [ebp + 8], 0
cmovae eax, dword [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, 1
jne 0x46e327
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x20]
push 0
push 1
push ecx
lea ecx, [ebp + 8]
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 0x46e327
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x20]
push 0
push 1
push ecx
lea ecx, [ebp - 0x1c]
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 0x46e327
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x46e337
test eax, eax
je 0x46e32d
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e32d
push ecx
push eax
push edx
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046de00
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov bl, al
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46e30a
push eax
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x46e314
push eax
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46e599
push eax
call esi
jmp 0x46e599
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x46e337
push edx
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x46e33e
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e348
push ecx
call ebx
push 0xffffffffffffffff
push str..ico
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov esi, dword [ebp - 8]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e428
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e428
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.AddIcoToCahce__s_n
call fcn.00472280
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
lea eax, [ebp - 0x18]
add esp, 8
cmp dword [ebp - 4], 8
cmovae eax, dword [ebp - 0x18]
push 0x2010
push 0x10
push 0x10
push 1
push eax
push 0
call esi
cmp dword [ebp - 4], 8
push 0x2010
push 0x20
mov dword [ebp + 8], eax
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push 0x20
push 1
push eax
push 0
call esi
cmp dword [ebp - 4], 8
mov ebx, eax
push 0x2010
push 0x30
push 0x30
lea eax, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
cmovae eax, dword [ebp - 0x18]
push 1
push eax
push 0
call esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x46e445
test ebx, ebx
je 0x46e445
test eax, eax
je 0x46e445
push eax
push ebx
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046de00
push esi
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov bl, al
call esi
push dword [ebp + 0xc]
call esi
push dword [ebp - 0x20]
call esi
test bl, bl
je 0x46e445
mov bl, 1
jmp 0x46e599
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e459
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e459
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046e620
jmp 0x46e597
push 0xffffffffffffffff
push 0x597738
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e4be
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e4be
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.AddSvgToCache__s_n
call fcn.00472280
lea eax, [ebp - 0x18]
push eax
call fcn.0041c050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46e564
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.0046e9f0
push esi
mov bl, al
call fcn.0041c110
add esp, 4
jmp 0x46e599
push 0xffffffffffffffff
push str..webp
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e4ef
lea eax, [esi - 5]
cmp ecx, eax
jne 0x46e4ef
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046ea60
jmp 0x46e597
push 0x2b4
lea eax, [ebp - 0x354]
push 0
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x354]
add esp, 0xc
lea eax, [ebp - 0x18]
cmp dword [ebp - 4], 8
cmovae eax, dword [ebp - 0x18]
push 0x4000
push 0x2b4
push ecx
push 0
push eax
call ebx
mov eax, dword [ebp - 0x350]
test eax, eax
jne 0x46e58b
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
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]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test esi, esi
jne 0x46e568
xor bl, bl
jmp 0x46e599
push 0x4008
push 0x2b4
lea eax, [ebp - 0x354]
push eax
push 0
push esi
call ebx
push esi
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x350]
push eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046dd70
mov bl, al
lea ecx, [ebp - 0x18]
call fcn.00403070
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x46e5c9
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46e5c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x46e5c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xa0]
call fcn.00403070
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x46e60a
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e600
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e61a
push edx
push ecx
call fcn.00532e3c
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0055f150
call fcn.0055f150
int3