Function at 0x49e858
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x4e5ec0
call fcn.004bd677
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0xc64], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push ebx
push eax
mov dword [ebp - 0xc6c], ebx
call fcn.004a35f0
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.004a35f0
add esp, 0x18
call fcn.0049f55a
test al, al
je 0x49e8bf
push eax
pop ebx
pop edx
push edi
push edi
pop esp
pop esp
push esi
push esi
pop edx
push edx
pop ebx
push edx
push esi
push edi
push ebp
pop ebp
call fcn.0049fb48
test al, al
je 0x49e8e8
pop eax
pop edx
pop ecx
pop ebx
pop edx
push ebx
pop ebp
pop edi
push esp
pop esp
push esp
push edi
pop edx
push edi
push ebx
pop edx
push edx
push edx
push edx
pop esi
push eax
push ebx
pop edx
push esi
pop esp
push ebp
push edi
pop edx
pop ebx
push edx
pop edx
push ebx
call fcn.0049f515
test al, al
je 0x49e904
push edi
pop ecx
push edi
push ebp
pop ecx
push edx
pop edx
push esi
pop esi
pop ebp
pop edi
push ebx
push ecx
push esp
pop esp
pop esi
push edx
pop ebp
push eax
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004a35f0
push esi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.004a35f0
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004a35f0
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004a35f0
add esp, 0x30
call fcn.0049f851
test al, al
je 0x49e96d
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.0049fa79
test al, al
je 0x49e98a
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.0049f9ef
test al, al
je 0x49e9b2
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
xor ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
call fcn.0049ecea
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b007c
lea eax, [ebp - 0x218]
push eax
call fcn.004b009e
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004a2511
add esp, 0x24
mov dword [ebp - 0xc60], eax
call fcn.0049f59f
test al, al
je 0x49ea3d
push ebp
pop ebp
pop edi
push edx
pop ebx
push esi
pop ecx
pop edi
pop edi
pop esp
pop eax
push ecx
push ecx
pop esi
push edi
push edx
push esi
pop esp
push eax
pop ebp
push edi
push esi
pop ecx
pop ebp
pop eax
push esp
pop ecx
pop edi
pop eax
pop esp
call fcn.0049f4d0
test al, al
je 0x49ea5a
pop esi
pop ebx
pop ecx
pop edx
pop edx
push eax
pop ebp
pop ebp
push esi
push ebp
push ebx
pop edx
push edx
push esp
pop edx
push edi
pop ebx
pop edx
pop ecx
push ecx
call fcn.0049fb48
test al, al
je 0x49ea7f
push eax
pop edi
pop edi
pop ecx
push edx
pop edx
push eax
push esi
pop esi
pop eax
push esi
push edx
push edi
push ebp
pop esi
push esi
pop ecx
push ebp
pop esp
push edx
push ecx
pop edi
pop esp
pop edi
pop ebp
push ebp
push ecx
push esi
mov eax, dword [ebp - 0xc60]
test eax, eax
jne 0x49eab8
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0049e2a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004039e0
push 0
push 1
jmp 0x49ecd3
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004b007c
lea eax, [ebp - 0x830]
push 0x4ec8e8
push eax
call fcn.004b000b
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
xor ecx, ecx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc60], ecx
call fcn.0049fb03
test al, al
je 0x49eb20
push ecx
push esi
push edx
pop edx
push ecx
pop edi
push ecx
push esp
push edx
pop ecx
pop ebx
push esp
push esi
push eax
push ecx
push ebp
pop ebx
push esi
pop esp
push edi
pop esi
pop esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004b007c
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004b000b
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc68], ecx
push eax
call fcn.004b007c
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004b000b
add esp, 0x10
call fcn.0049f8db
test al, al
je 0x49ebb4
push edi
push ebx
pop edx
pop esi
push ebx
push eax
push eax
push edi
push esi
pop ecx
push ebx
pop ebx
pop esi
pop edx
push ecx
pop ecx
push esp
pop edi
push esp
pop edx
push ebp
push ebp
push eax
push ebx
pop esi
push edx
pop eax
push edx
pop ecx
push ecx
push esi
pop ebp
call fcn.0049f965
test al, al
je 0x49ebcf
pop esi
push ebx
pop eax
pop ebp
pop eax
push esp
push ecx
push edx
pop ebp
push eax
push esp
push ebx
push ebx
push esi
push ebp
pop ecx
pop ecx
push esp
call fcn.0049f515
test al, al
je 0x49ebea
push esi
pop ebp
pop edx
push ebx
push esp
pop ebx
pop ecx
pop edi
pop edx
pop eax
push ebx
push ebx
push edx
push edx
push edi
push edx
pop ebp
push ecx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa38]
push eax
call ebx
xor ecx, ecx
test eax, eax
push 1
pop edi
cmovne ecx, edi
cmp dword [ebp - 0xc60], 0
je 0x49ec84
cmp dword [ebp - 0xc68], 0
je 0x49ec84
test ecx, ecx
je 0x49ec84
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x4ec920
push eax
call fcn.00407e80
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x49ec54
lea eax, [ebp - 0x420]
push eax
call fcn.0049e156
pop ecx
cmp word [ebp - 0x420], 0
jne 0x49ec62
xor eax, eax
jmp 0x49ec6f
lea eax, [ebp - 0x420]
push eax
call fcn.004b009e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00403330
jmp 0x49ecbe
call fcn.0049f965
test al, al
je 0x49ecaa
pop edx
push edx
pop ebx
pop edi
pop eax
push ebp
push edi
push edx
push eax
push eax
pop ebx
pop ebx
push esi
pop ebx
pop ecx
push ebp
pop ebx
push edi
push eax
pop ecx
push edx
push eax
push ecx
pop esi
push eax
push esp
xor edi, edi
inc edi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0049e2a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004039e0
push 0
push edi
lea ecx, [ebp - 0xc58]
call fcn.00403270
mov eax, dword [ebp - 0xc64]
call fcn.004bd632
ret