Function at 0x6406b9d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6408126f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
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]
cmp ebp, 2
mov edi, eax
mov dword [esp + 0x44], ebp
jne 0x6406ba21
cmp edi, 0x79
jne 0x6406ba21
mov edi, 0xe8
lea eax, [edi - 2]
cmp eax, 0xe7
ja case.0x6406ba36.3
movzx ecx, byte [eax + 0x6406bc60]
jmp dword [ecx*4 + 0x6406bc54]
mov byte [esp + 0x1c], 0x20
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x1a]
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 + 0x58]
lea ecx, [esp + 0x16]
push ecx
push ebx
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov dword [esp + 0x60], 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 + 0x54]
mov byte [esp + 0x54], 1
call dword [0x64082178]
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6406bc08
mov byte [esp + 0x28], 0x20
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
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 + 0x58]
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
mov dword [esp + 0x60], 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 + 0x54]
mov byte [esp + 0x54], 3
call dword [0x64082178]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6406bc08
mov bl, 0x20
mov byte [esp + 0x30], bl
mov edx, dword [esp + 0x30]
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 + 0x34], bl
mov eax, dword [esp + 0x34]
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 + 0x44]
push 0x6408bc0c
push ecx
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QLocalSocket::tr_char_const___char_const__
add esp, 0xc
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x1a]
push edx
push ebx
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, eax
mov dword [esp + 0x60], 4
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 + 0x48]
push edx
mov ecx, eax
mov byte [esp + 0x64], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_const__]
push eax
lea ecx, [esi + 0x54]
mov byte [esp + 0x54], 6
call dword [0x64082178]
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], ebp
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebp, dword [esp + 0x44]
cmp ebp, ebx
mov edi, dword [esp + 0x20]
mov dword [esi + 0xe8], ebx
je 0x6406bc2d
push ebx
mov ecx, edi
call sym.QtNetwork4.dll_protected:_void___thiscall_QLocalSocket::stateChanged_enum_QLocalSocket::LocalSocketState_
cmp dword [esi + 0xe8], ebx
jne 0x6406bc2d
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 + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4