Function at 0x428f50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x453658
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x428fbe
mov ecx, edi
lea eax, [esp + 0x2c]
call fcn.00404d80
mov esi, dword [esp + 0x2c]
cmp dword [esi - 8], edi
jge 0x428fcd
push 0x80070057
call fcn.004059f0
mov dword [esi - 0xc], edi
mov eax, esi
mov byte [esi + 0x104], 0
call fcn.0043ac00
test eax, eax
mov eax, dword [esi - 8]
push eax
push esi
jne 0x42903c
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x428fc3
cmp eax, dword [esi - 8]
jg 0x428fc3
push esi
push str.GetRSDInstallPath_error_is__s
mov dword [esi - 0xc], eax
push 4
mov byte [eax + esi], 0
call fcn.004025a0
lea eax, [esi - 0x10]
add esp, 0xc
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4291b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4291b7
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x428fc3
cmp eax, dword [esi - 8]
jg 0x428fc3
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], 1
mov ecx, dword [ebp]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
push esi
push str._s_backup_s__s__s.xml
lea edi, [esp + 0x28]
call fcn.00404e80
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
add esp, 0x14
mov ecx, 0x467e80
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
mov ecx, dword [ebp]
push ecx
mov edx, ecx
push edx
push esi
push str._s_backup_s__s_setup.xml
lea edi, [esp + 0x28]
call fcn.00404e80
mov ebp, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
push ebp
call edi
mov ebx, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x429151
push ebx
call edi
cmp eax, 0xffffffff
je 0x429151
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42914d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x4291bc
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429172
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429193
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4291b7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4