Function at 0x4250c0
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 0x436feb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x4b3040]
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 [0x4b421c]
add ecx, 0x24
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xb
jb 0x42564c
cmp dword [ecx + 0x14], 0xf
jbe 0x425156
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 0x4251a3
mov byte [ebp - 0x139], al
jmp 0x4255ad
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x2c]
movq qword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x38]
call fcn.00424a10
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [0x4b4214]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax + 0x34]
sub eax, 0
je 0x42522d
sub eax, 1
je 0x425208
sub eax, 2
jne 0x42522d
mov eax, dword [0x4b4374]
mov edi, 0x4b438c
mov dword [ebp - 0x140], 0x4b4390
mov esi, 0x4b4380
mov dword [ebp - 0x148], 0x4b4378
jmp 0x425250
mov eax, dword [0x4b4310]
mov edi, 0x4b4328
mov dword [ebp - 0x140], 0x4b432c
mov esi, 0x4b431c
mov dword [ebp - 0x148], 0x4b4314
jmp 0x425250
mov eax, dword [0x4b4330]
mov esi, 0x4b433c
mov dword [ebp - 0x148], 0x4b4334
mov edi, 0x4b4348
mov dword [ebp - 0x140], 0x4b434c
push 0x38
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.00432cbf
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.004288a0
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 0x425418
mov edi, dword [ebp - 0x38]
lea eax, [esi + 8]
lea ecx, [eax + 0x18]
mov dword [ebp - 0x148], ecx
cmp edi, dword [ebp - 0x34]
je 0x42533f
nop word [eax + eax]
cmp dword [eax + 0x14], 0xf
lea ecx, [edi + 0x18]
mov dword [ebp - 0x140], ecx
mov edx, eax
jbe 0x425313
mov edx, dword [eax]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x42531d
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 0x42553a
add edi, 0x30
lea eax, [esi + 8]
cmp edi, dword [ebp - 0x34]
jne 0x425300
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x439668
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 0x4253b4
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x140], eax
mov eax, ecx
jbe 0x425396
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 0x4253cf
push dword [ebp - 0x148]
lea edx, [esi + 8]
lea ecx, [ebp - 0x38]
call fcn.00424f70
add esp, 4
mov byte [ebp - 0x139], 1
cmp byte [ebp - 0x141], 0
mov byte [ebp - 4], 5
je 0x425408
mov ecx, dword [ebp - 0x3c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x4253fe
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425618
push ecx
push edi
call fcn.00432cef
add esp, 8
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebp - 0x14c]
jne 0x4252e1
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 0x425596
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 0x42554d
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x425506
add esi, 0x18
nop dword [eax + eax]
cmp dword [esi - 4], 0xf
lea edx, [esi - 0x18]
jbe 0x4254bb
mov edx, dword [edx]
push dword [esi - 8]
lea ecx, [ebp - 0x138]
call fcn.00417430
add esp, 4
mov edx, 0x43bf78
mov ecx, eax
call fcn.00428340
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x4254e2
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 0x4254b0
lea ecx, [ebp - 0x134]
call fcn.00404c50
test eax, eax
jne 0x42552e
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 0x425551
push dword [ebp - 0x140]
lea ecx, [ebp - 0x50]
call fcn.00407a70
jmp 0x425363
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.00403ec0
mov eax, dword [0x4b4214]
cmp dword [eax + 0x34], 3
je 0x42556c
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 0x42559d
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 0x4255dd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4255d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425618
push ecx
push edx
call fcn.00432cef
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 0x425628
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42561e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42561e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00432cef
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.00432cb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00403d10
int3