Function at 0x42238e
Capabilities:
Check if file exists

Disassembly:
push 0x670
mov eax, 0x57e1a2
call fcn.0042c498
mov ebx, ecx
mov dword [ebp - 0x67c], ebx
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
push 0
push eax
call fcn.0044ea80
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0044ea80
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044ea80
add esp, 0x24
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
push str.15041
call fcn.00422633
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
push str.b3679
call fcn.00422633
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
push str.53335
call fcn.00422633
call fcn.00431516
test al, al
je 0x42243b
push eax
push ebx
pop esp
push edx
push edx
pop eax
push ecx
pop ebp
push esp
pop ebx
pop esi
push ebp
pop eax
pop ecx
push edx
push ebp
pop eax
pop eax
push ebx
push esp
push ecx
pop ecx
push esi
pop edx
push ecx
push edi
pop eax
push ebx
push ebp
pop edi
push esp
call fcn.0043121f
test al, al
je 0x42245a
pop esi
push ecx
pop ebp
push ebp
pop eax
pop esi
push ebx
push ebx
push ebx
pop eax
pop ebx
push edi
pop eax
push edi
pop esp
pop edx
push ebp
push eax
push eax
pop edi
push edi
push edx
call fcn.00431333
test al, al
je 0x42247f
pop ebx
pop ebp
pop edx
push edx
push ebp
pop ebx
pop ebx
pop edx
push ebx
push edi
push ebx
pop edx
pop edi
push edx
push ebp
push esp
push ecx
pop eax
push ebx
pop eax
push ecx
pop eax
pop edx
pop edi
push edi
push ecx
push edi
pop ebp
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42262d
xor eax, eax
mov dword [ebp - 0x62c], 7
xor ebx, ebx
mov word [ebp - 0x640], ax
mov dword [ebp - 0x630], ebx
cmp word [ebp - 0x218], ax
je 0x4224c5
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.004202e4
cmp dword [ebp - 0x630], 0
mov dword [ebp - 4], ebx
je 0x42257a
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004357b8
mov esi, str.sat.dll
mov byte [ebp - 4], 1
push esi
call fcn.004525b1
add esp, 0xc
lea ecx, [ebp - 0x658]
push eax
push esi
call fcn.00420e5e
lea ecx, [ebp - 0x678]
call fcn.004207be
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
push ecx
cmovae eax, dword [ebp - 0x658]
lea ecx, [ebp - 0x678]
push eax
call fcn.00420ca3
lea ecx, [ebp - 0x678]
call fcn.004208b3
push ebx
push 1
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], bl
call fcn.0042019a
call fcn.00431378
test al, al
je 0x4225a3
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
call fcn.0043166f
test al, al
je 0x4225c5
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
mov ecx, dword [ebp - 0x67c]
call fcn.0042232b
call fcn.0043110b
test al, al
je 0x4225e9
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
lea eax, [ebp - 0x628]
push eax
call fcn.00435c47
pop ecx
call fcn.0043121f
test al, al
je 0x42261b
push eax
push eax
pop edi
push eax
pop ebp
pop ebx
pop ebx
pop edx
pop ecx
pop edi
pop edx
push eax
pop eax
push ecx
push esp
pop ebp
push ebp
pop esi
pop ecx
push esp
pop ebp
pop esp
push esi
push ebx
push edx
pop edi
push edx
push esi
push 0
push 1
lea ecx, [ebp - 0x640]
call fcn.0042019a
xor eax, eax
inc eax
call fcn.0042c453
ret