Function at 0x6407a280
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6408ff71
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esi + 0xe8]
mov edi, eax
cmp ebp, 2
jne 0x6407a2ca
cmp edi, 0x79
mov eax, 0xe8
cmove edi, eax
lea eax, [edi - 2]
cmp eax, 0xe7
ja case.0x6407a2df.3
movzx eax, byte [eax + 0x6407a568]
jmp dword [eax*4 + 0x6407a558]
mov byte [esp + 0x1c], 0x20
lea ecx, [esp + 0x14]
push dword [esp + 0x1c]
mov dword [esi + 0xd8], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x28]
push str._1:_Connection_error
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalSocket::tr_char_const___char_const__
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0
push ecx
push 0
push dword [esp + 0x60]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x54], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
jmp 0x6407a4ff
mov byte [esp + 0x24], 0x20
lea ecx, [esp + 0x16]
push dword [esp + 0x24]
mov dword [esi + 0xd8], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x30]
push str._1:_Invalid_name
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalSocket::tr_char_const___char_const__
add esp, 0xc
lea ecx, [esp + 0x16]
mov dword [esp + 0x50], 2
push ecx
push 0
push dword [esp + 0x60]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x54], 3
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
jmp 0x6407a4ff
mov byte [esp + 0x2c], 0x20
lea ecx, [esp + 0x18]
push dword [esp + 0x2c]
mov dword [esi + 0xd8], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x38]
push str._1:_Access_denied
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalSocket::tr_char_const___char_const__
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 4
push ecx
push 0
push dword [esp + 0x60]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x54], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
jmp 0x6407a4ff
mov byte [esp + 0x34], 0x20
lea ecx, [esp + 0x1c]
push dword [esp + 0x34]
mov dword [esi + 0xd8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov byte [esp + 0x38], 0x20
lea ecx, [esp + 0x1a]
push dword [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x48]
push str._1:_Unknown_error__2
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalSocket::tr_char_const___char_const__
add esp, 0xc
lea ecx, [esp + 0x1a]
mov dword [esp + 0x50], 6
push ecx
push 0
push dword [esp + 0x60]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 7
push ecx
push 0xa
push 0
push edi
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_const__]
push eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x54], 8
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x50], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esi + 0xe8], 0
test ebp, ebp
je 0x6407a534
push 0
mov ecx, ebx
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::stateChanged_enum_QLocalSocket::LocalSocketState_
cmp dword [esi + 0xe8], 0
jne 0x6407a534
mov ecx, ebx
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::disconnected_void_
push dword [esi + 0xd8]
mov ecx, ebx
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::error_enum_QLocalSocket::LocalSocketError_
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4