Function at 0x418c60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x42f4cc]
push ebx
push esi
push edi
xor eax, ebp
push str.isExistFiles....begin
push 0x80
mov dword [esp + 0x234], eax
mov dword [esp + 0x1c], ecx
call fcn.00409a50
mov byte [esp + 0x20], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
mov ebx, 0x428e04
lea ecx, [esp + 0x24]
stosb byte es:[edi], al
call fcn.00415f80
add esp, 0xc
test eax, eax
je 0x418dba
mov eax, dword [0x430588]
mov ecx, 0x430588
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov edx, dword [0x430588]
xor ebx, ebx
mov ecx, 0x430588
mov dword [esp + 0x23c], ebx
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push str._sxmls_rap.xml
push ecx
mov byte [esp + 0x248], 1
call fcn.0040c120
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x418d3b
push esi
jmp 0x418d62
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push str._s_rapsetup.dll
push ecx
call fcn.0040c120
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x418ddf
push edi
push str.Failed_isExistFiles__s_not_exist
push 0x80
call fcn.00409a50
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [esp + 0x23c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418dba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004199fa
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x10]
mov byte [esp + 0x23c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x120], bl
mov ecx, 0x40
lea edi, [esp + 0x121]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x124]
push eax
call fcn.00418950
test eax, eax
je 0x418dba
mov edx, dword [0x430588]
mov ecx, 0x430588
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x10]
push str._s_backup_rav_rapbase_rapsetup.dll
push ecx
mov dword [esp + 0x248], 2
call fcn.0040c120
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x418ec7
push esi
push str.Failed_isExistFiles__s_not_exist
push 0x80
call fcn.00409a50
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.00418530
jmp 0x418dba
lea ecx, [esp + 0xc]
call fcn.00418530
push str.isExistFiles....success_end
push 0x80
call fcn.00409a50
add esp, 8
mov eax, 1
jmp 0x418dbc