Function at 0x4481a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x55561c]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4483a8
push eax
push 0x546ff4
lea eax, [esp + 0x1c]
push 0x546fe0
push eax
call fcn.0048def0
mov ecx, dword [0x55561c]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, eax
add esp, 0x10
mov eax, dword [esi]
cmp ecx, eax
je 0x448229
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4481f9
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x448200
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x448211
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, 0x55561c
call fcn.00405870
jmp 0x448229
mov ecx, 0x55561c
call fcn.00412670
mov esi, dword [esi]
mov dword [0x55561c], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [0x546564]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x44825a
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x44825a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov ecx, dword [0x55561c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4483a8
lea ecx, [esp + 0x1c]
call fcn.0050fea0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push edx
push 0x1a
call fcn.00510c80
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call fcn.00510700
mov ecx, dword [0x546560]
mov edx, str.Q_DirFavoriten_
test edx, edx
mov esi, eax
mov dword [esp + 0x14], ecx
jne 0x4482aa
xor eax, eax
jmp 0x4482b5
push str.Q_DirFavoriten_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
push str.Q_DirFavoriten_
push eax
push ecx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x20]
push eax
call fcn.004059f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405440
lea ecx, [esp + 0x14]
call fcn.00405700
mov eax, dword [esp + 0x18]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x44830d
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x44830d
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x448374
test al, 0x10
je 0x448374
mov ecx, dword [0x55561c]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x448378
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x448343
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x44834a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x44835b
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, 0x55561c
call fcn.00405870
jmp 0x448374
mov ecx, 0x55561c
call fcn.00412670
mov eax, dword [esp + 0x10]
mov dword [0x55561c], eax
add eax, 0xfffffff4
push eax
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x44839f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x44839f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.0050fe40
mov eax, dword [0x55561c]
pop edi
pop esi
pop ebp
mov ecx, dword [eax - 8]
pop ebx
test ecx, ecx
je 0x448405
mov ecx, 0x546f04
test ecx, ecx
jne 0x4483c5
xor eax, eax
jmp 0x4483d0
push 0x546f04
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x546f04
push eax
mov ecx, 0x55561c
call fcn.00405a90
push 0x55561c
call fcn.004b8df0
mov edx, dword [0x55561c]
push 0
push edx
push 0x546ff4
push 0x546fe0
call fcn.0048dec0
add esp, 0x14
add esp, 0x14
ret