Function at 0x443dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x644a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x443e34
push 1
push esi
call fcn.00443900
test eax, eax
jne 0x443e34
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x443e34
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5c5bec
lea eax, [ebp + 0xc]
push esi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp + 0xc], edi
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x443e86
mov esi, dword [sym.imp.MSVCR100.dll__errno]
call esi
cmp dword [eax], 2
jne 0x443e6c
mov eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443ec1
call esi
mov eax, dword [eax]
sub eax, 0xd
neg eax
sbb eax, eax
and eax, 0x69
add eax, 5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443ec1
push edi
call dword [sym.imp.MSVCR100.dll__time64]
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
call fcn.00456250
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ecx]
mov dword [ebp - 0x24], ecx
mov dword [ebp + 8], edi
cmp edi, ecx
jne 0x443ef3
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004562e0
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x443ed2
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
cmp ebx, eax
je 0x443f9c
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push str._s__s_n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf_s]
add esp, 0x10
test eax, eax
js 0x443fb1
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x443f8b
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
cmp edx, dword [ebp - 0x28]
jl 0x443f82
jg 0x443f46
cmp edi, dword [ebp - 0x2c]
jbe 0x443f82
mov eax, dword [esi + 0xc]
cmp byte [eax], 0
jne 0x443f53
mov eax, 0x5c12ac
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 8]
push ebx
mov ebx, dword [esi + 0x24]
push ebx
mov ebx, dword [esi + 0x20]
push ebx
push edx
mov edx, dword [ebp + 0xc]
push edi
push eax
push ecx
push str._t_s__s__I64d__d__d__d_n
push edx
call dword [sym.imp.MSVCR100.dll_fprintf_s]
add esp, 0x24
test eax, eax
js 0x443fb1
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
mov esi, dword [esi]
cmp esi, eax
jne 0x443f34
mov edi, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
cmp ebx, dword [ebp - 0x20]
jne 0x443f06
mov ecx, dword [ebp - 0x24]
mov edi, dword [edi]
mov dword [ebp + 8], edi
cmp edi, ecx
jne 0x443ef0
mov ebx, dword [ebp - 0x10]
jmp 0x443eac
push 0x1d
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004562e0
jmp 0x443ec1