Function at 0x428e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f0df
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x2c]
call fcn.004012b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004012b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.00427030
add esp, 4
test eax, eax
jne 0x428eb0
push 0x4361a4
call fcn.0042a070
add esp, 4
mov byte [ebp - 0x65], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov al, byte [ebp - 0x65]
jmp 0x429077
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401380
push 0x4361c0
lea ecx, [ebp - 0x48]
call fcn.004013e0
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x428f10
push str.PathFileExists_strPathSysConfig.c_str_____return_false
call fcn.0042a0d0
add esp, 4
mov byte [ebp - 0x66], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov al, byte [ebp - 0x66]
jmp 0x429077
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x48]
push edx
call fcn.00401320
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x94]
call fcn.004282b0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x428f68
mov byte [ebp - 0x6d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov al, byte [ebp - 0x6d]
jmp 0x429077
lea ecx, [ebp - 0x64]
call fcn.004012b0
mov byte [ebp - 4], 2
push 0x436208
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00401360
push 0x43621c
mov ecx, dword [ebp - 0x94]
add ecx, 0x58
call fcn.004014a0
push eax
call fcn.00415d01
add esp, 8
test eax, eax
jne 0x429036
lea ecx, [ebp - 0x64]
call fcn.004014a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x429036
push str.Once_run_Sd_for_once__but_no_mark_file_can_be_found__return_false
call fcn.0042a0d0
add esp, 4
mov byte [ebp - 0x8d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00401360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov al, byte [ebp - 0x8d]
jmp 0x429077
push str.Read_SD_Config_File_SUS
call fcn.0042a0d0
add esp, 4
mov byte [ebp - 0x8e], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00401360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov al, byte [ebp - 0x8e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret