Function at 0x46e270
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 0x46e28b
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x46e298
mov ecx, dword [esi]
push eax
push ecx
push str.AddPathToCache__s__s_n
call fcn.00472530
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00401570
add esp, 0x14
cmp dword [ebp - 0x28], 0
jne 0x46e2be
xor bl, bl
jmp 0x46e884
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403190
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push 0x57d10c
push eax
call fcn.00463dc0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x46e313
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 0x46e368
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e35e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e8c5
push edx
push ecx
call fcn.005348bc
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 0x46e388
mov bl, 1
jmp 0x46e851
push ebx
lea ecx, [ebp - 0x18]
call fcn.00403190
mov ebx, dword [ebp - 8]
cmp ebx, 2
jbe 0x46e403
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 0x46e403
cmp esi, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax + 2], 0x2e
jne 0x46e403
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 0x46e83c
push 0xffffffffffffffff
push 0x2c
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.0040b140
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46e478
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 0x46e445
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 0x46e483
xor bl, bl
jmp 0x46e849
sub esp, 0x18
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403190
lea eax, [ebp - 0x58]
push eax
call fcn.0046fab0
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 0x46e5f8
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 0x46e5d7
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 0x46e5d7
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 0x46e5d7
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x46e5e7
test eax, eax
je 0x46e5dd
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e5dd
push ecx
push eax
push edx
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046e0b0
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov bl, al
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46e5ba
push eax
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x46e5c4
push eax
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46e849
push eax
call esi
jmp 0x46e849
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x46e5e7
push edx
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x46e5ee
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46e5f8
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 0x46e6d8
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e6d8
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.AddIcoToCahce__s_n
call fcn.00472530
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 0x46e6f5
test ebx, ebx
je 0x46e6f5
test eax, eax
je 0x46e6f5
push eax
push ebx
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0046e0b0
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 0x46e6f5
mov bl, 1
jmp 0x46e849
push 0xffffffffffffffff
push str..png
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e709
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e709
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046e8d0
jmp 0x46e847
push 0xffffffffffffffff
push 0x599a58
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e76e
lea eax, [esi - 4]
cmp ecx, eax
jne 0x46e76e
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.AddSvgToCache__s_n
call fcn.00472530
lea eax, [ebp - 0x18]
push eax
call fcn.0041c050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46e814
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.0046eca0
push esi
mov bl, al
call fcn.0041c110
add esp, 4
jmp 0x46e849
push 0xffffffffffffffff
push str..webp
lea ecx, [ebp - 0x18]
call fcn.0041c570
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46e79f
lea eax, [esi - 5]
cmp ecx, eax
jne 0x46e79f
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046ed10
jmp 0x46e847
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 0x46e83b
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 0x46e818
xor bl, bl
jmp 0x46e849
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.0046e020
mov bl, al
lea ecx, [ebp - 0x18]
call fcn.00403070
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x46e879
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46e879
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x46e879
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 0x46e8ba
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e8b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e8ca
push edx
push ecx
call fcn.005348bc
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00560be0
call fcn.00560be0
int3