Function at 0x53fb40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dcf2f
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x24]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x20]
mov dword [ebp - 0xc0], eax
nop word [eax + eax]
push 0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
push dword [ebp - 0xc4]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x53fe3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x53fc65
cmp edi, 3
je 0x53fc65
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0x64
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xdc], 0
push eax
call fcn.0053f720
movups xmm0, xmmword [eax]
lea eax, [ebp - 0xbc]
push eax
movups xmmword [ebp - 0xbc], xmm0
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0xc0], eax
jae 0x53fbd0
push 0x98
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xac], 0x608d28
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xc0], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xac], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xb0], eax
lea eax, [ebp - 0xa8]
mov ecx, eax
mov dword [ebp - 0xc4], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xa8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 4
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 4
push 0x5f8898
push eax
call fcn.00414ff0
add esp, 8
mov ecx, eax
push 0x416260
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::ios_base_____cdecl___class_std::ios_base___]
push edi
mov ecx, eax
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___unsigned_long_int_]
push 0x6090bc
push eax
call fcn.00414ff0
add esp, 8
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0xac]
push eax
call fcn.00414da0
mov edi, eax
cmp esi, edi
je 0x53fd9c
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x53fd77
inc eax
push 1
push eax
push dword [esi]
call fcn.0040b970
add esp, 0xc
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x53fd8f
mov eax, dword [esi]
jmp 0x53fd91
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00416760
mov eax, dword [ebp - 0xe8]
cmp eax, 0x10
jb 0x53fdb9
inc eax
push 1
push eax
push dword [ebp - 0xfc]
call fcn.0040b970
add esp, 0xc
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xac], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xb0], eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
mov dword [ebp - 0xa8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.004160a0
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor eax, eax
jmp 0x53fe4d
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x53fe4a
mov esi, dword [esi]
mov byte [esi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret