Function at 0x45fd0b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4abbce
call fcn.004a9438
sub esp, 0x5e4
push ebx
push esi
push edi
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x5ee]
push ebx
mov dword [ebp - 4], 1
push eax
mov word [ebp - 0x5f0], bx
call fcn.0048c8d0
add esp, 0xc
lea eax, [ebp - 0x5f0]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405e35
mov eax, dword [ebp + 8]
add eax, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jne 0x45fdfd
mov esi, 0x104
push esi
lea eax, [ebp - 0x5f0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x45fdb4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
lea eax, [ebp - 0x5f0]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406050
push esi
lea esi, [ebp - 0x10]
call fcn.00405cf6
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp - 0x10], ebx
jne 0x45fddd
xor eax, eax
jmp 0x45fde6
push dword [ebp - 0x10]
call fcn.0048d175
pop ecx
lea edx, [ebp - 0x10]
call fcn.00405cbd
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x45fd83
push str.datalanguage_
jmp 0x45fe0a
lea edi, [ebp - 0x10]
call fcn.00405107
push 0x4bacec
lea eax, [ebp - 0x10]
push eax
call fcn.0040646b
mov esi, dword [ebp + 0x10]
push dword [esi - 0xc]
lea eax, [ebp - 0x10]
push esi
call fcn.00406a4f
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45fe4d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00405bc5
lea eax, [esi - 0x10]
jmp 0x45fd9c
lea eax, [ebp - 0x150]
push eax
call fcn.0040177e
push ebx
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00406f58
mov byte [ebp - 4], 4
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x150]
call fcn.004017d6
test al, al
jne 0x45fec0
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x45feac
push dword [ebp - 0xd8]
call fcn.0048c580
pop ecx
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00402d93
jmp 0x45fe2f
lea eax, [ebp - 0x150]
call fcn.00402b0c
cmp eax, ebx
jne 0x45ff1f
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x45fee9
push dword [ebp - 0xd8]
call fcn.0048c580
pop ecx
xor bl, bl
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00402d93
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00405bc5
lea eax, [esi - 0x10]
call fcn.00405bc5
mov al, bl
jmp 0x45fda3
push 0x4bfeb4
call fcn.00402ad7
mov edi, eax
cmp edi, ebx
je 0x46006e
push 0x4bfedc
mov eax, edi
call fcn.004013ca
push dword [ebp + 0xc]
lea esi, [ebp - 0x1d4]
mov ebx, eax
call fcn.00406f2c
push dword [eax]
mov eax, edi
call fcn.004013ca
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1d0]
cmp dword [ebp - 0x1d4], eax
je 0x45ff75
push dword [ebp - 0x1d4]
call fcn.0048c580
pop ecx
test ebx, ebx
je 0x460055
cmp dword [ebp - 0x14], 0
je 0x460055
lea eax, [ebp - 0x2d4]
mov esi, 0xfde9
push esi
mov dword [ebp - 0x2d8], eax
push ebx
lea eax, [ebp - 0x2d8]
push eax
call fcn.0042a64f
mov byte [ebp - 4], 5
push dword [ebp - 0x2d8]
lea eax, [ebp - 0x4c]
call fcn.00408ddd
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2d8], eax
je 0x45ffd6
push dword [ebp - 0x2d8]
call fcn.0048c580
pop ecx
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x3d8]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3dc]
push eax
call fcn.0042a64f
mov byte [ebp - 4], 8
push dword [ebp - 0x3dc]
lea eax, [ebp - 0x30]
call fcn.00408ddd
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x3dc], eax
je 0x460022
push dword [ebp - 0x3dc]
call fcn.0048c580
pop ecx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.004638a4
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [ebp - 0x30]
call fcn.00408f06
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00406816
push ebx
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00406816
push 0x4bfeb4
mov eax, edi
call fcn.00402a87
mov edi, eax
test edi, edi
jne 0x45ff33
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x460088
push dword [ebp - 0xd8]
call fcn.0048c580
pop ecx
mov bl, 1
jmp 0x45feeb