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

Disassembly:
push 0xffffffffffffffff
push 0x5752cb
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 0x4059a9
mov ecx, dword [edi + 0x7bc]
push 0
push 0
push 0x1042
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x405997
lea ebx, [edi + 0x7a0]
push esi
mov ecx, ebx
call fcn.005535b2
cmp eax, 1
jne 0x4059a9
push 0
lea edx, [esp + 0x14]
push esi
push edx
mov ecx, ebx
call fcn.0055350d
push eax
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x1c8], 1
call fcn.00559c26
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.00559aed
jmp 0x4059a9
lea eax, [edi + 0x668]
lea ecx, [edi + 0x728]
push eax
call fcn.00556aed
mov ecx, dword [esp + 0x1cc]
mov ebx, dword [fcn.0053e557]
push 0x5c7a1c
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x405a07
push ecx
lea esi, [edi + 0x668]
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00559862
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call fcn.00406790
push eax
mov ecx, esi
mov byte [esp + 0x1c8], 2
call fcn.00559c26
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.00559aed
jmp 0x405a6b
mov eax, dword [esp + 0x1cc]
push 0x5c7a18
push eax
call ebx
add esp, 8
test eax, eax
je 0x405a6b
lea ecx, [esp + 0x1cc]
lea esi, [edi + 0x668]
push ecx
mov ecx, esi
call fcn.00559f05
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, esi
call fcn.00551f87
mov eax, dword [eax]
push 0x5c7a14
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00559aed
test bl, bl
je 0x405a6b
push 0x5c7a14
mov ecx, esi
call fcn.00559ec9
mov eax, dword [edi + 0x668]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x405a84
mov ecx, edi
call fcn.00405560
jmp 0x405e27
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 0x405ae5
mov ecx, dword [edi + 0x7bc]
push 0
push 0
push 0x101c
push ecx
call ebp
test eax, eax
jne 0x405acf
push 0xffffffffffffffff
push 0xc8
lea esi, [edi + 0x7a0]
push 0
push 0x5c79dc
push 0
mov ecx, esi
call fcn.00553394
push 0xffffffffffffffff
push 0x64
push 0
push 0x5c7a0c
push 1
mov ecx, esi
call fcn.00553394
push 0xffffffffffffffff
push 0x64
push 0
push 0x5c79d4
push 2
mov ecx, esi
call fcn.00553394
push 0xffffffffffffffff
push 0x73
push 0
push 0x5c7a00
push 3
mov ecx, esi
call fcn.00553394
push 0x10
push 0
mov dword [esp + 0x20], 1
call fcn.00404fc0
add esp, 8
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x5c7a1c
push 0
push 3
call fcn.005533e7
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, esi
call fcn.00553469
xor ebp, ebp
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x20]
call fcn.00424158
lea eax, [edi + 0x668]
push 0x5c79fc
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x1d0], 3
call fcn.00559d82
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc], 4
call fcn.0042421b
lea ecx, [esp + 0x50]
mov ebx, eax
mov byte [esp + 0x1c4], 3
call fcn.00559aed
test ebx, ebx
je 0x405df3
lea ecx, [esp + 0x20]
call fcn.0042443b
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00424402
test eax, eax
jne 0x405de7
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 0x405de7
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
push edx
call fcn.0042450a
mov edi, dword [eax]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 5
call fcn.00424633
mov ebp, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 6
call fcn.00424633
mov ebx, dword [eax]
push edi
mov byte [esp + 0x1c8], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
push ebp
call fcn.00404fc0
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.005533e7
lea ecx, [esp + 0x4c]
mov edi, eax
mov byte [esp + 0x1c4], 6
call fcn.00559aed
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c4], 5
call fcn.00559aed
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c4], 3
call fcn.00559aed
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.00553469
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
call fcn.00424633
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.00559aed
lea edx, [esp + 0x16c]
push edx
push 2
push edi
mov ecx, esi
call fcn.005534e2
mov eax, dword [0x5c9d6c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 8
call fcn.00424692
mov ebx, eax
lea ecx, [esp + 0x20]
and ebx, 0x3ff
neg ebx
sbb ebx, ebx
neg ebx
call fcn.00424692
shr eax, 0xa
add ebx, eax
lea ecx, [esp + 0x14]
push ebx
push str._10d_KB
push ecx
call fcn.00552423
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push edx
push 1
push edi
call fcn.005534e2
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
push eax
call fcn.004243ac
lea ecx, [esp + 0x40]
push str._Y__m__d__H:_M
push ecx
lea ecx, [esp + 0x60]
call fcn.00552c7f
mov eax, dword [eax]
mov ecx, esi
push eax
push 3
push edi
mov byte [esp + 0x1d0], 9
call fcn.005534e2
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c4], 8
call fcn.00559aed
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 3
call fcn.00559aed
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x405bdd
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0
call fcn.00424195
inc ebp
cmp ebp, 2
mov dword [esp + 0x10], ebp
jl 0x405b85
mov edx, dword [edi + 0x668]
push edx
push 0x5c799c
push edi
call fcn.00407020
add esp, 0xc
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.00559aed
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret 4