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

Disassembly:
mov eax, dword [0x4e52cc]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43e858
push eax
push 0x4d9d4c
lea eax, [esp + 0x1c]
push 0x4d9d38
push eax
call fcn.00480fb0
mov ecx, dword [0x4e52cc]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, eax
add esp, 0x10
mov eax, dword [esi]
cmp ecx, eax
je 0x43e6d9
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x43e6a9
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x43e6b0
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x43e6c1
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, 0x4e52cc
call fcn.00401630
jmp 0x43e6d9
mov ecx, 0x4e52cc
call fcn.0040e950
mov esi, dword [esi]
mov dword [0x4e52cc], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4d9544]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43e70a
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43e70a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov ecx, dword [0x4e52cc]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43e858
lea ecx, [esp + 0x1c]
call fcn.004ace50
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push edx
push 0x1a
call fcn.004ada80
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call fcn.004ad580
mov ecx, dword [0x4d9540]
mov edx, str.Q_DirFavoriten_
test edx, edx
mov esi, eax
mov dword [esp + 0x14], ecx
jne 0x43e75a
xor eax, eax
jmp 0x43e765
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.004017b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401200
lea ecx, [esp + 0x14]
call fcn.004014c0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43e7bd
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43e7bd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e824
test al, 0x10
je 0x43e824
mov ecx, dword [0x4e52cc]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x43e828
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x43e7f3
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x43e7fa
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x43e80b
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, 0x4e52cc
call fcn.00401630
jmp 0x43e824
mov ecx, 0x4e52cc
call fcn.0040e950
mov eax, dword [esp + 0x10]
mov dword [0x4e52cc], eax
add eax, 0xfffffff4
push eax
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43e84f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43e84f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004acdf0
mov eax, dword [0x4e52cc]
pop edi
pop esi
pop ebp
mov ecx, dword [eax - 8]
pop ebx
test ecx, ecx
je 0x43e8b5
mov ecx, 0x4d9c5c
test ecx, ecx
jne 0x43e875
xor eax, eax
jmp 0x43e880
push 0x4d9c5c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4d9c5c
push eax
mov ecx, 0x4e52cc
call fcn.00401850
push 0x4e52cc
call fcn.0048ba60
mov edx, dword [0x4e52cc]
push 0
push edx
push 0x4d9d4c
push 0x4d9d38
call fcn.00480f80
add esp, 0x14
add esp, 0x14
ret