Function at 0x43fc2a
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x521d50
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x44]
lea ebx, [esi + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00442110
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebx
call fcn.0041cde0
mov eax, dword [esi + 0x38]
lea edi, [esi + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00442110
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.0041ce70
mov eax, dword [esi + 0x50]
lea ebp, [esi + 0x4c]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.00442110
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0041cde0
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
cmp edi, eax
je 0x43fcf5
lea eax, [edi + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.004c73e6
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43fcdd
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, ebx
call fcn.0041cd10
mov edi, dword [edi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp edi, dword [esi + 0x14]
jne 0x43fc9d
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x43fdb8
jmp 0x43fd0c
mov eax, dword [esp + 0x14]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.004c73e6
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], 0
mov edi, dword [eax]
cmp edi, eax
je 0x43fd61
mov eax, dword [edi + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x43fd59
mov edi, dword [edi]
mov eax, dword [esi + 0xa8]
cmp edi, eax
jne 0x43fd35
jmp 0x43fd61
mov dword [esp + 0x18], 1
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43fd94
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43fd94
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, ebp
call fcn.0041cd10
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov edi, dword [eax]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString
cmp edi, dword [esi + 0x20]
jne 0x43fd08
mov ecx, esi
call fcn.0043f970
push ebp
mov ecx, esi
call fcn.004382a0
push ebx
mov ecx, esi
call fcn.004382a0
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp edi, eax
je 0x43fe18
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x18]
lea ebx, [edi + 8]
push ecx
push eax
push 0
lea ecx, [edi + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [edi + 0xc]
push eax
push edx
mov ecx, esi
call fcn.0043d9d0
test eax, eax
je 0x43fe0f
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x34]
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00442120
mov edi, dword [edi]
mov eax, dword [esi + 8]
cmp edi, eax
jne 0x43fdd8
mov eax, dword [esi + 0x3c]
test eax, eax
ja 0x43fe2d
mov eax, dword [esi + 0x54]
test eax, eax
ja 0x43fe2d
mov eax, dword [esi + 0x48]
test eax, eax
jbe 0x43fe45
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret