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

Disassembly:
push 0xffffffffffffffff
push 0x54a60b
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 0x405df9
mov ecx, dword [edi + 0x8b8]
push 0
push 0
push 0x1042
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x405de7
lea ebx, [edi + 0x89c]
push esi
mov ecx, ebx
call fcn.00529b7f
cmp eax, 1
jne 0x405df9
push 0
lea edx, [esp + 0x14]
push esi
push edx
mov ecx, ebx
call fcn.00529a95
push eax
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x1c8], 1
call fcn.00530020
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.0052fee7
jmp 0x405df9
lea eax, [edi + 0x668]
lea ecx, [edi + 0x728]
push eax
call fcn.0052cf85
mov ecx, dword [esp + 0x1cc]
push 0x596b50
push ecx
call fcn.00432657
add esp, 8
test eax, eax
jne 0x405e54
push ecx
lea esi, [edi + 0x668]
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.0052fc5c
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call fcn.00406bd0
push eax
mov ecx, esi
mov byte [esp + 0x1c8], 2
call fcn.00530020
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.0052fee7
jmp 0x405ebe
mov eax, dword [esp + 0x1cc]
push 0x596b4c
push eax
call fcn.00432657
add esp, 8
test eax, eax
je 0x405ebe
lea ecx, [esp + 0x1cc]
lea esi, [edi + 0x668]
push ecx
mov ecx, esi
call fcn.005302ff
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, esi
call fcn.0052877b
mov eax, dword [eax]
push 0x596b48
push eax
call fcn.00432657
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0052fee7
test bl, bl
je 0x405ebe
push 0x596b48
mov ecx, esi
call fcn.005302c3
mov eax, dword [edi + 0x668]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x405ed7
mov ecx, edi
call fcn.004059e0
jmp 0x406261
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 + 0x8b8]
push 0
push 0
push 0x1009
push edx
call ebp
mov eax, dword [edi + 0x8b8]
push 0
push 0
push 0x101c
push eax
call ebp
test eax, eax
jne 0x405f0c
push 0xffffffffffffffff
push 0xc8
lea esi, [edi + 0x89c]
push eax
push 0x596b10
push eax
mov ecx, esi
call fcn.0052991c
push 0xffffffffffffffff
push 0x64
push 0
push 0x596b40
push 1
mov ecx, esi
call fcn.0052991c
push 0xffffffffffffffff
push 0x64
push 0
push 0x596b08
push 2
mov ecx, esi
call fcn.0052991c
push 0xffffffffffffffff
push 0x73
push 0
push 0x596b34
push 3
mov ecx, esi
call fcn.0052991c
push 0x10
push 0
mov dword [esp + 0x20], 1
call fcn.00405470
add esp, 8
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x596b50
push 0
push 3
call fcn.0052996f
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, esi
call fcn.005299f1
xor ebp, ebp
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x20]
call fcn.0042a00c
lea eax, [edi + 0x668]
push 0x596b30
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0x1d0], 3
call fcn.0053017c
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc], 4
call fcn.0042a0cf
lea ecx, [esp + 0x50]
mov ebx, eax
mov byte [esp + 0x1c4], 3
call fcn.0052fee7
test ebx, ebx
je 0x40622d
lea ecx, [esp + 0x20]
call fcn.0042a2ef
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0042a2b6
test eax, eax
jne 0x406221
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x38]
neg eax
sbb eax, eax
inc eax
cmp eax, ebp
sete al
test al, al
je 0x406221
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
push eax
call fcn.0042a3be
mov edi, dword [eax]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 5
call fcn.0042a4e7
mov ebp, dword [eax]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 6
call fcn.0042a4e7
mov ebx, dword [eax]
push edi
mov byte [esp + 0x1c8], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
push ebp
call fcn.00405470
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.0052996f
lea ecx, [esp + 0x4c]
mov edi, eax
mov byte [esp + 0x1c4], 6
call fcn.0052fee7
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c4], 5
call fcn.0052fee7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c4], 3
call fcn.0052fee7
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x38]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call fcn.005299f1
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042a4e7
mov eax, dword [eax]
push 0x410
lea edx, [esp + 0x60]
push 0x160
push edx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [esp + 0x48]
call fcn.0052fee7
lea eax, [esp + 0x16c]
push eax
push 2
push edi
mov ecx, esi
call fcn.00529a6a
mov ecx, dword [0x59a094]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 8
call fcn.0042a546
mov ebx, eax
lea ecx, [esp + 0x20]
and ebx, 0x3ff
neg ebx
sbb ebx, ebx
neg ebx
call fcn.0042a546
shr eax, 0xa
add ebx, eax
lea edx, [esp + 0x14]
push ebx
push str._10d_KB
push edx
call fcn.00528c17
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push eax
push 1
push edi
call fcn.00529a6a
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042a260
lea edx, [esp + 0x40]
push str._Y__m__d__H:_M
push edx
lea ecx, [esp + 0x60]
call fcn.00529473
mov eax, dword [eax]
mov ecx, esi
push eax
push 3
push edi
mov byte [esp + 0x1d0], 9
call fcn.00529a6a
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c4], 8
call fcn.0052fee7
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 3
call fcn.0052fee7
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x406018
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0
call fcn.0042a049
inc ebp
cmp ebp, 2
mov dword [esp + 0x10], ebp
jl 0x405fc0
mov eax, dword [edi + 0x668]
push eax
push 0x596ad0
push edi
call fcn.004074c0
add esp, 0xc
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.0052fee7
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret 4