Function at 0x46dd70
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 0x46dd8b
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x46dd98
mov ecx, dword [esi]
push eax
push ecx
push str.AddPathToCache__s__s_n
call fcn.00472040
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00401570
add esp, 0x14
cmp dword [ebp - 0x28], 0
jne 0x46ddbe
xor bl, bl
jmp 0x46e384
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403190
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push 0x57910c
push eax
call fcn.00461460
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x46de13
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 0x46de68
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46de5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e3c5
push edx
push ecx
call fcn.0053140c
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 0x46de88
mov bl, 1
jmp 0x46e351
push ebx
lea ecx, [ebp - 0x18]
call fcn.00403190
mov ebx, dword [ebp - 8]
cmp ebx, 2
jbe 0x46df03
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 0x46df03
cmp esi, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax + 2], 0x2e
jne 0x46df03
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 0x46e33c
push 0xffffffffffffffff
push 0x2c
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.0040b140
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46df78
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 0x46df45
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 0x46df83
xor bl, bl
jmp 0x46e349
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x58]
push eax
call fcn.0046f5c0
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 0x46e0f8
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 0x46e0d7
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 0x46e0d7
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 0x46e0d7
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x46e0e7
test eax, eax
je 0x46e0dd
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e0dd
push ecx
push eax
push edx
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046dbb0
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov bl, al
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46e0ba
push eax
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x46e0c4
push eax
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46e349
push eax
call esi
jmp 0x46e349
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x46e0e7
push edx
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x46e0ee
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e0f8
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 0x46e1d8
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e1d8
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.AddIcoToCahce__s_n
call fcn.00472040
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 0x46e1f5
test ebx, ebx
je 0x46e1f5
test eax, eax
je 0x46e1f5
push eax
push ebx
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046dbb0
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 0x46e1f5
mov bl, 1
jmp 0x46e349
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e209
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e209
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046e3d0
jmp 0x46e347
push 0xffffffffffffffff
push 0x595368
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e26e
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e26e
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.AddSvgToCache__s_n
call fcn.00472040
lea eax, [ebp - 0x18]
push eax
call fcn.0041c050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46e314
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.0046e7a0
push esi
mov bl, al
call fcn.0041c110
add esp, 4
jmp 0x46e349
push 0xffffffffffffffff
push str..webp
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e29f
lea eax, [esi - 5]
cmp ecx, eax
jne 0x46e29f
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046e810
jmp 0x46e347
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 0x46e33b
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 0x46e318
xor bl, bl
jmp 0x46e349
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.0046db20
mov bl, al
lea ecx, [ebp - 0x18]
call fcn.00403070
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x46e379
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46e379
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x46e379
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 0x46e3ba
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e3b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e3ca
push edx
push ecx
call fcn.0053140c
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0055d660
call fcn.0055d660
int3