Function at 0x41a5ad
Capabilities:
Check if file exists

Disassembly:
push 0x340
mov eax, 0x4a3ac6
call fcn.00481da3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x348], esi
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x344], ebx
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x334]
call fcn.0040161b
mov dword [ebp - 4], ebx
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x32c]
call fcn.0040161b
mov byte [ebp - 4], 1
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x330]
call fcn.0040161b
mov edi, 0x103
push edi
lea eax, [ebp - 0x327]
push ebx
mov byte [ebp - 4], 2
push eax
mov byte [ebp - 0x328], bl
call fcn.0047e7d0
add esp, 0xc
push edi
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.0047e7d0
add esp, 0xc
push edi
lea eax, [ebp - 0x21f]
push ebx
push eax
mov byte [ebp - 0x220], bl
call fcn.0047e7d0
add esp, 0xc
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x34c], ebx
call esi
test eax, eax
je 0x41a864
lea ebx, [ebp - 0x334]
call fcn.0041a8bd
lea ebx, [ebp - 0x32c]
call fcn.0041a8bd
mov eax, dword [ebp - 0x334]
cmp dword [eax - 0xc], 0
je 0x41a864
mov eax, dword [ebp - 0x32c]
cmp dword [eax - 0xc], 0
je 0x41a864
lea ebx, [edi + 1]
mov edi, dword [ebp - 0x338]
lea eax, [ebp - 0x328]
push ebx
push eax
call fcn.00403479
mov edi, dword [ebp - 0x334]
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00403479
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x33c]
lea eax, [ebp - 0x220]
push 0x4197b1
push eax
lea eax, [ebp - 0x328]
push eax
push dword [0x4efd34]
call fcn.0042ac32
add esp, 0x28
push ebx
test eax, eax
push 0
lea eax, [ebp - 0x118]
push eax
je 0x41a770
call fcn.0047e7d0
lea eax, [ebp - 0x118]
add esp, 0xc
push eax
call fcn.0042b045
pop ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x330]
call fcn.00404714
push dword [ebp - 0x338]
push dword [ebp - 0x330]
push 0x1a6
push 0x4ef184
call fcn.0042a517
add esp, 0x10
call fcn.00428e69
jmp 0x41a864
call fcn.0047e7d0
lea eax, [ebp - 0x118]
add esp, 0xc
push eax
call fcn.0042b045
pop ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x330]
call fcn.00404714
push dword [ebp - 0x348]
call fcn.004212ea
test eax, eax
jne 0x41a7ad
mov eax, 0x100000
jmp 0x41a7b2
add eax, 0x100000
push eax
push dword [ebp - 0x334]
push dword [ebp - 0x32c]
call fcn.00433d0f
add esp, 0xc
test eax, eax
je 0x41a864
push dword [ebp - 0x32c]
call esi
test eax, eax
je 0x41a864
push dword [ebp - 0x338]
mov edi, 0x4ef184
push dword [ebp - 0x330]
push 0x1a5
push edi
call fcn.0042a517
add esp, 0x10
push dword [ebp - 0x340]
call fcn.0041a8a8
push dword [ebp - 0x32c]
push dword [ebp - 0x340]
push dword [ebp - 0x348]
call fcn.00435766
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x33c]
mov eax, dword [eax + 0x1ec]
jne 0x41a846
add eax, 0xcc
push eax
push 0x1a7
push edi
call fcn.0042a517
jmp 0x41a861
add eax, 0xcc
push eax
push 0x1a8
push edi
call fcn.0042a517
mov dword [ebp - 0x344], 1
add esp, 0xc
mov esi, dword [ebp - 0x32c]
push esi
call fcn.0041a8a8
mov edi, dword [ebp - 0x334]
push edi
call fcn.0041a8a8
mov ecx, dword [ebp - 0x330]
add ecx, 0xfffffff0
call fcn.00401325
lea ecx, [esi - 0x10]
call fcn.00401325
lea ecx, [edi - 0x10]
call fcn.00401325
mov eax, dword [ebp - 0x344]
call fcn.00481e26
ret 0xc