Function at 0x426950
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438bcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x543040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str._system_build.prop
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.00405d80
mov dword [ebp - 4], 0
mov eax, accept
mov ecx, dword [0x54421c]
add ecx, 0x24
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xb
jb 0x426edc
cmp dword [ecx + 0x14], 0xf
jbe 0x4269e6
mov ecx, dword [ecx]
push 0xb
push str._build.prop
push edx
push ecx
push ecx
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x2c]
call fcn.0040aa70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00419570
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x426a33
mov byte [ebp - 0x139], al
jmp 0x426e3d
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x2c]
movq qword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x38]
call fcn.004262a0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [0x544214]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax + 0x34]
sub eax, 0
je 0x426abd
sub eax, 1
je 0x426a98
sub eax, 2
jne 0x426abd
mov eax, dword [0x544374]
mov edi, 0x54438c
mov dword [ebp - 0x140], 0x544390
mov esi, 0x544380
mov dword [ebp - 0x148], 0x544378
jmp 0x426ae0
mov eax, dword [0x544310]
mov edi, 0x544328
mov dword [ebp - 0x140], 0x54432c
mov esi, 0x54431c
mov dword [ebp - 0x148], 0x544314
jmp 0x426ae0
mov eax, dword [0x544330]
mov esi, 0x54433c
mov dword [ebp - 0x148], 0x544334
mov edi, 0x544348
mov dword [ebp - 0x140], 0x54434c
push 0x38
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.0043471f
mov ecx, eax
add esp, 4
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 4
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
push eax
call fcn.00403b80
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx]
lea ecx, [ebp - 0x70]
push eax
push dword [eax]
call fcn.0042a1f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 0x139], 0
mov dword [ebp - 0x14c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x426ca8
mov edi, dword [ebp - 0x38]
lea eax, [esi + 8]
lea ecx, [eax + 0x18]
mov dword [ebp - 0x148], ecx
cmp edi, dword [ebp - 0x34]
je 0x426bcf
nop word [eax + eax]
cmp dword [eax + 0x14], 0xf
lea ecx, [edi + 0x18]
mov dword [ebp - 0x140], ecx
mov edx, eax
jbe 0x426ba3
mov edx, dword [eax]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x426bad
mov ecx, dword [edi]
push dword [eax + 0x10]
push edx
mov edx, dword [edi + 0x10]
call fcn.0040b420
add esp, 8
test al, al
jne 0x426dca
add edi, 0x30
lea eax, [esi + 8]
cmp edi, dword [ebp - 0x34]
jne 0x426b90
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x43b668
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.00405d80
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3c], 0xf
mov edi, dword [ebp - 0x50]
seta dl
cmp dword [ebp - 0x40], 0
mov byte [ebp - 0x141], dl
je 0x426c44
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x140], eax
mov eax, ecx
jbe 0x426c26
mov eax, dword [ecx]
push dword [ebp - 0x140]
test dl, dl
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x40]
cmovne ecx, edi
push eax
call fcn.0040b420
add esp, 8
test al, al
jne 0x426c5f
push dword [ebp - 0x148]
lea edx, [esi + 8]
lea ecx, [ebp - 0x38]
call fcn.00426800
add esp, 4
mov byte [ebp - 0x139], 1
cmp byte [ebp - 0x141], 0
mov byte [ebp - 4], 5
je 0x426c98
mov ecx, dword [ebp - 0x3c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x426c8e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ea8
push ecx
push edi
call fcn.0043474f
add esp, 8
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebp - 0x14c]
jne 0x426b71
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
cmova eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
cmp byte [ebp - 0x139], 0
je 0x426e26
push 0xb0
lea eax, [ebp - 0x138]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x138]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004064b0
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x13c], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0xe8], 0
je 0x426ddd
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x426d96
add esi, 0x18
nop dword [eax + eax]
cmp dword [esi - 4], 0xf
lea edx, [esi - 0x18]
jbe 0x426d4b
mov edx, dword [edx]
push dword [esi - 8]
lea ecx, [ebp - 0x138]
call fcn.00417430
add esp, 4
mov edx, 0x4d12bc
mov ecx, eax
call fcn.00429c90
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x426d72
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00417430
add esp, 4
mov ecx, eax
push 0x40c9c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
add esi, 0x30
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x426d40
lea ecx, [ebp - 0x134]
call fcn.00404c50
test eax, eax
jne 0x426dbe
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
jmp 0x426de1
push dword [ebp - 0x140]
lea ecx, [ebp - 0x50]
call fcn.00407a70
jmp 0x426bf3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.00403ec0
mov eax, dword [0x544214]
cmp dword [eax + 0x34], 3
je 0x426dfc
call fcn.00419770
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004192a0
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
mov byte [ebp - 0x139], 0
jmp 0x426e2d
mov byte [ebp - 0x139], 1
lea ecx, [ebp - 0x70]
call fcn.00403730
lea ecx, [ebp - 0x38]
call fcn.004090f0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x426e6d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x426e63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ea8
push ecx
push edx
call fcn.0043474f
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x426eb8
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x426eae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x426eae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043474f
add esp, 8
mov al, byte [ebp - 0x139]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00434711
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00403d10
int3