Function at 0x100b78b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e5bc
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x102db080]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xd4], esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
add eax, dword [ebp + 0x20]
mov dword [ebp - 0xcc], eax
adc edx, 0
mov dword [ebp - 0xc8], edx
nop dword [eax]
push 0
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100b7bb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x100b79d8
cmp edi, 3
je 0x100b79d8
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x64
push eax
mov dword [ebp - 0xd8], 0
call fcn.100b5f50
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp dword [ebp - 0xc8], edx
jb 0x100b79d8
ja 0x100b79cd
cmp dword [ebp - 0xcc], eax
jb 0x100b79d8
mov edi, dword [ebp - 0xd0]
jmp 0x100b7950
push 0x98
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xac], 0x102b2a5c
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
or dword [ebp - 0xb0], 1
lea eax, [ebp - 0xa8]
push 0
push 0
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 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 ecx, [ebp - 0xa8]
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], 3
push 0x102387a4
push eax
call fcn.10082bb0
add esp, 8
mov ecx, eax
push 0x100829b0
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 0x102b1b94
push eax
call fcn.10082bb0
add esp, 8
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0xa8]
push eax
call fcn.100b9140
lea eax, [ebp - 0xf4]
cmp esi, eax
je 0x100b7b09
mov ecx, esi
call fcn.10089500
movups xmm0, xmmword [ebp - 0xf4]
mov eax, 0xf
mov byte [ebp - 0xf4], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xe4]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], eax
jmp 0x100b7b0f
mov eax, dword [ebp - 0xe0]
cmp eax, 0xf
jbe 0x100b7b47
mov edx, dword [ebp - 0xf4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100b7b3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b7b3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
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]
call fcn.10084690
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_]
or eax, 0xffffffff
jmp 0x100b7bc6
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x100b7bbc
mov ecx, dword [esi]
mov dword [esi + 0x10], 0
mov byte [ecx], 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.100b9f43
mov esp, ebp
pop ebp
ret