Function at 0x506948
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x6ec450
call fcn.00682c5e
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x506aca
cmp dword [ebx], 0
jne 0x506aca
mov ecx, edi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5069ce
push 0xffffffffffffffff
push 0x70cbd8
push dword [ebp + 8]
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_struct_tagUTF8__char_const___int_
mov esi, eax
mov ecx, edi
mov dword [ebp - 4], 1
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBSTR_void_const
push eax
push 0x70ccd4
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 2
push str.PublicConfigStorage::OpenDB
push 0x37
push str.E:FixReplayAttackscodingTXUpdate_servicepublic_configPublicConfigStorage.cpp
call fcn.004ceebf
add esp, 0x1c
jmp 0x506b0f
push edi
lea ecx, [ebx + 4]
call fcn.0051b603
and dword [ebp - 0x14], 0
and dword [ebp + 8], 0
push str.46DA22EC5840B577
call fcn.006a3810
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x506a01
lea eax, [ebp + 8]
push eax
call sym.txupd.exe_int___cdecl_Util::Data::CreateTXBuffer_struct_ITXBuffer___
pop ecx
mov ecx, dword [ebp + 8]
push dword [ebp - 0x10]
mov eax, dword [ecx]
push str.46DA22EC5840B577
push ecx
call dword [eax + 0x38]
push 0xffffffffffffffff
lea ecx, [ebx + 4]
mov dword [ebp - 4], 2
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea eax, [ebp - 0x18]
push eax
call sym.txupd.exe_class_CTXStringA___cdecl_Util::Convert::Utf8FromWS_wchar_t_const___int_
add esp, 0xc
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call sym.txupd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
mov ecx, esi
call fcn.0047d71f
lea ecx, [ebp - 0x18]
mov esi, eax
call sym.txupd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x506a69
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
or dword [ebp - 4], 0xffffffff
test esi, esi
js 0x506b17
push 0xffffffffffffffff
push 0x70cbd8
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_struct_tagUTF8__char_const___int_
mov esi, eax
mov ecx, edi
mov dword [ebp - 4], 5
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBSTR_void_const
push eax
push 0x70ccfc
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 2
push str.PublicConfigStorage::OpenDB
push 0x40
push str.E:FixReplayAttackscodingTXUpdate_servicepublic_configPublicConfigStorage.cpp
call fcn.004ceebf
add esp, 0x1c
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
inc eax
mov dword [ebx], eax
jmp 0x506b19
push 0xffffffffffffffff
push 0x70cbd8
push dword [ebp + 8]
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_struct_tagUTF8__char_const___int_
mov esi, eax
push dword [ebx]
and dword [ebp - 4], 0
mov ecx, edi
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBSTR_void_const
push eax
push 0x70cba8
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 2
push str.PublicConfigStorage::OpenDB
push 0x31
push str.E:FixReplayAttackscodingTXUpdate_servicepublic_configPublicConfigStorage.cpp
call fcn.004ceebf
add esp, 0x20
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
call fcn.00682c27
ret 4