Function at 0x6407bfa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x640a5431
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esi + 0xe8]
mov edi, eax
mov dword [esp + 0x4c], ebp
cmp ebp, 2
jne 0x6407bff1
cmp edi, 0x79
jne 0x6407bff1
mov edi, 0xe8
lea eax, [edi - 2]
cmp eax, 0xe7
ja case.0x6407c006.3
movzx ecx, byte [eax + 0x6407c2bc]
jmp dword [ecx*4 + 0x6407c2ac]
mov byte [esp + 0x1c], 0x20
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
mov dword [esi + 0xd8], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
xor ebx, ebx
push ebx
lea eax, [esp + 0x2c]
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
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x14]
push ecx
push ebx
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov dword [esp + 0x68], ebx
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 + 0x5c], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6407c260
mov byte [esp + 0x28], 0x20
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x1a]
mov dword [esi + 0xd8], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
xor ebx, ebx
push ebx
lea eax, [esp + 0x34]
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
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x16]
push ecx
push ebx
push edx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x68], 2
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 + 0x5c], 3
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6407c260
mov byte [esp + 0x30], 0x20
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi + 0xd8], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
xor ebx, ebx
push ebx
lea eax, [esp + 0x3c]
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
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
mov dword [esp + 0x68], 4
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 + 0x5c], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6407c260
mov bl, 0x20
mov byte [esp + 0x38], bl
mov edx, dword [esp + 0x38]
or ebp, 0xffffffff
push edx
lea ecx, [esp + 0x20]
mov dword [esi + 0xd8], ebp
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x1e]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x4c]
push 0x640b3bd4
push ecx
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalSocket::tr_char_const___char_const__
add esp, 0xc
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x1a]
push edx
push ebx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, eax
mov dword [esp + 0x68], 6
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
lea ecx, [esp + 0x1c]
push ecx
push 0xa
push ebx
push edi
lea edx, [esp + 0x50]
push edx
mov ecx, eax
mov byte [esp + 0x6c], 7
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 + 0x5c], 8
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], ebp
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
mov dword [esi + 0xe8], ebx
cmp ebp, ebx
je 0x6407c285
push ebx
mov ecx, edi
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::stateChanged_enum_QLocalSocket::LocalSocketState_
cmp dword [esi + 0xe8], ebx
jne 0x6407c285
mov ecx, edi
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::disconnected_void_
mov eax, dword [esi + 0xd8]
push eax
mov ecx, edi
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::error_enum_QLocalSocket::LocalSocketError_
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4