Function at 0x406ae0
Capabilities:
Get file attributes
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x567dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x1cc]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c4], 0
mov eax, dword [eax - 8]
test eax, eax
jne 0x406b99
mov ecx, dword [edi + 0x7bc]
push 0
push 0
push 0x1042
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x406b87
lea ebx, [edi + 0x7a0]
push esi
mov ecx, ebx
call fcn.00546061
cmp eax, 1
jne 0x406b99
push 0
lea edx, [esp + 0x14]
push esi
push edx
mov ecx, ebx
call fcn.00545fbc
push eax
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x1c8], 1
call fcn.0054c731
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.0054c5f8
jmp 0x406b99
lea eax, [edi + 0x668]
lea ecx, [edi + 0x728]
push eax
call fcn.005494c5
mov ecx, dword [esp + 0x1cc]
mov ebx, dword [fcn.00531767]
push 0x5b9e8c
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x406bf7
push ecx
lea esi, [edi + 0x668]
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.0054c36d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call fcn.00407980
push eax
mov ecx, esi
mov byte [esp + 0x1c8], 2
call fcn.0054c731
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.0054c5f8
jmp 0x406c5b
mov eax, dword [esp + 0x1cc]
push 0x5b9e88
push eax
call ebx
add esp, 8
test eax, eax
je 0x406c5b
lea ecx, [esp + 0x1cc]
lea esi, [edi + 0x668]
push ecx
mov ecx, esi
call fcn.0054ca10
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, esi
call fcn.00544de7
mov eax, dword [eax]
push 0x5b9e84
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0054c5f8
test bl, bl
je 0x406c5b
push 0x5b9e84
mov ecx, esi
call fcn.0054c9d4
mov eax, dword [edi + 0x668]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x406c74
mov ecx, edi
call fcn.00406750
jmp 0x407017
push eax
mov eax, dword [edi + 0x744]
push 0
push 0x14a
push eax
call ebp
mov ecx, dword [edi + 0x744]
push 0
push 0
push 0x14e
push ecx
call ebp
mov edx, dword [edi + 0x7bc]
push 0
push 0
push 0x1009
push edx
call ebp
mov eax, dword [edi + 0x7bc]
push 0
push 0
push 0x101c
push eax
call ebp
test eax, eax
je 0x406cd5
mov ecx, dword [edi + 0x7bc]
push 0
push 0
push 0x101c
push ecx
call ebp
test eax, eax
jne 0x406cbf
push 0xffffffffffffffff
push 0xc8
lea esi, [edi + 0x7a0]
push 0
push 0x5b9e4c
push 0
mov ecx, esi
call fcn.00545e43
push 0xffffffffffffffff
push 0x64
push 0
push 0x5b9e7c
push 1
mov ecx, esi
call fcn.00545e43
push 0xffffffffffffffff
push 0x64
push 0
push 0x5b9e44
push 2
mov ecx, esi
call fcn.00545e43
push 0xffffffffffffffff
push 0x73
push 0
push 0x5b9e70
push 3
mov ecx, esi
call fcn.00545e43
push 0x10
push 0
mov dword [esp + 0x20], 1
call fcn.004061b0
add esp, 8
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x5b9e8c
push 0
push 3
call fcn.00545e96
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, esi
call fcn.00545f18
xor ebp, ebp
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x20]
call fcn.00429a70
lea eax, [edi + 0x668]
push 0x5b9e6c
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x1d0], 3
call fcn.0054c88d
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc], 4
call fcn.00429b33
lea ecx, [esp + 0x50]
mov ebx, eax
mov byte [esp + 0x1c4], 3
call fcn.0054c5f8
test ebx, ebx
je 0x406fe3
lea ecx, [esp + 0x20]
call fcn.00429d53
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00429d1a
test eax, eax
jne 0x406fd7
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x38]
xor ecx, ecx
test eax, eax
sete cl
cmp ecx, ebp
sete al
test al, al
je 0x406fd7
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
push edx
call fcn.00429e22
mov edi, dword [eax]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 5
call fcn.00429f4b
mov ebp, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 6
call fcn.00429f4b
mov ebx, dword [eax]
push edi
mov byte [esp + 0x1c8], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
push ebp
call fcn.004061b0
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, edx
inc edx
push 0
push eax
push 0
push 0
push ebx
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.00545e96
lea ecx, [esp + 0x4c]
mov edi, eax
mov byte [esp + 0x1c4], 6
call fcn.0054c5f8
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c4], 5
call fcn.0054c5f8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c4], 3
call fcn.0054c5f8
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x38]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call fcn.00545f18
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
call fcn.00429f4b
mov eax, dword [eax]
push 0x410
lea ecx, [esp + 0x60]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [esp + 0x48]
call fcn.0054c5f8
lea edx, [esp + 0x16c]
push edx
push 2
push edi
mov ecx, esi
call fcn.00545f91
mov eax, dword [0x5bc6c4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 8
call fcn.00429faa
mov ebx, eax
lea ecx, [esp + 0x20]
and ebx, 0x3ff
neg ebx
sbb ebx, ebx
neg ebx
call fcn.00429faa
shr eax, 0xa
add ebx, eax
lea ecx, [esp + 0x14]
push ebx
push str._10d_KB
push ecx
call fcn.00545283
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push edx
push 1
push edi
call fcn.00545f91
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
push eax
call fcn.00429cc4
lea ecx, [esp + 0x40]
push str._Y__m__d__H:_M
push ecx
lea ecx, [esp + 0x60]
call fcn.00545ac1
mov eax, dword [eax]
mov ecx, esi
push eax
push 3
push edi
mov byte [esp + 0x1d0], 9
call fcn.00545f91
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c4], 8
call fcn.0054c5f8
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 3
call fcn.0054c5f8
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x406dcd
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0
call fcn.00429aad
inc ebp
cmp ebp, 2
mov dword [esp + 0x10], ebp
jl 0x406d75
mov edx, dword [edi + 0x668]
push edx
push 0x5b9e0c
push edi
call fcn.00408210
add esp, 0xc
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.0054c5f8
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret 4