Function at 0x43fc6d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2fb9
mov eax, dword fs:[0]
push eax
mov eax, 0x122c
call fcn.004360a0
mov eax, dword [0x6540b4]
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 [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1238], eax
cmp dword [0x65cca8], ebx
jne 0x43fdd3
call fcn.00431000
test al, al
je 0x43fcdc
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
xor ebx, ebx
call fcn.00430e20
test al, al
je 0x43fd05
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00448340
lea eax, [ebp - 0x218]
push str.C:LogResLog.dll
push eax
call fcn.0044f640
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43fdb3
cmp dword [0x6540e8], 8
lea ecx, [ebp - 0x1231]
mov eax, 0x6540d4
cmovae eax, dword [0x6540d4]
push eax
lea eax, [ebp - 0x1230]
push eax
call fcn.0043fbad
mov esi, str.ResLog.dll
mov dword [ebp - 4], ebx
push esi
call fcn.0044b8d2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1230]
call fcn.004045b0
cmp dword [ebp - 0x121c], 8
lea eax, [ebp - 0x1230]
cmovae eax, dword [ebp - 0x1230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044f640
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1230]
call fcn.00402820
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x65cca8], eax
test eax, eax
je 0x43feae
mov eax, dword [ebp - 0x1238]
push ebx
push 0x6484f4
mov ecx, eax
call fcn.004028e0
call fcn.004311e0
test al, al
je 0x43fe00
push edi
pop ebx
push edi
push edx
push ecx
pop ebx
pop edx
push ebx
pop eax
push eax
pop ebp
pop edi
pop ebp
pop esp
pop ecx
push ecx
push edx
push esp
push ecx
push edi
pop ebp
pop ecx
pop ebx
call fcn.00430e80
test al, al
je 0x43fe21
pop eax
pop ebx
pop edi
pop edi
pop ebp
pop edi
pop ecx
pop esp
push esp
pop edi
push eax
push ebp
pop esp
pop edi
pop edx
push ebx
pop esi
push edx
push esp
push ecx
pop ebp
pop ebp
pop edi
push edi
call fcn.00430f40
test al, al
je 0x43fe42
push esi
push esi
push edx
pop esi
pop ecx
push ecx
pop edi
pop eax
pop ebp
pop eax
push esp
push ecx
pop edx
pop eax
pop ebx
push esi
pop esp
pop ecx
push ecx
pop ebp
pop edi
pop esi
push esi
push ebp
push 0x800
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
push dword [0x65cca8]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x43fe93
cmp word [ebp - 0x1218], 0
jne 0x43fe6f
xor eax, eax
jmp 0x43fe7c
lea eax, [ebp - 0x1218]
push eax
call fcn.0044b8d2
pop ecx
push eax
lea ecx, [ebp - 0x1218]
push ecx
mov ecx, dword [ebp - 0x1238]
call fcn.004028e0
mov al, 1
jmp 0x43feb0
call fcn.00431180
test al, al
je 0x43feae
push eax
push esi
push esi
push esi
pop esp
pop eax
pop esi
push ecx
push edi
push ecx
pop edx
push ecx
pop esp
pop esp
push ecx
pop edi
pop ebp
pop ebp
xor al, al
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.00435ba5
mov esp, ebp
pop ebp
ret