Function at 0x41f4b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c33e8
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
mov dword [ebp - 0x224], ecx
call edx
mov edi, eax
mov dword [ebp - 0x228], edi
test edi, edi
je 0x41f6eb
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0049f910
add esp, 0xc
lea edx, [edi + 0xc]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ebx, str..png
call fcn.00415430
add esp, 8
mov ebx, eax
mov dword [ebp - 4], 0
lea esi, [ebp - 0x220]
call fcn.00434d50
mov byte [ebp - 4], 1
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, eax
call fcn.004152e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41f64a
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x41f64a
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00437e00
add esp, 4
or eax, edx
je 0x41f64a
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x21c]
mov ebx, dword [ecx + 0x4e8]
call fcn.0045b080
mov edx, dword [ebp - 0x21c]
push edx
xor ebx, ebx
call fcn.00434ae0
add esp, 4
mov ebx, eax
push ebx
push 0x4d642c
push 0x104
add edi, 0x24
push edi
call fcn.0049c891
push ebx
call fcn.0049ca2e
add esp, 0x14
mov dword [ebp - 4], esi
lea eax, [ebp - 0x21c]
push eax
call fcn.00402550
jmp 0x41f6eb
push 0x10
call fcn.0049caff
add esp, 4
test eax, eax
je 0x41f662
push eax
call fcn.0041f710
mov ebx, eax
jmp 0x41f664
xor ebx, ebx
mov ecx, dword [ebp - 0x224]
lea eax, [edi + 0x18]
lea edi, [ebx + 4]
mov dword [ebp - 0x220], ebx
mov dword [ebx + 0xc], ecx
call fcn.00402630
lea edi, [ebx + 8]
lea eax, [ebp - 0x21c]
call fcn.00402630
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x248]
push 0x4f9450
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x220]
push ecx
call fcn.00420090
push 0x4f9450
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x4f944c]
push edx
call dword [sym.imp.KERNEL32.dll_PulseEvent]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41f6eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret