Function at 0x1801b68b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8f8
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov eax, dword [0x18038a510]
mov dword [rsp + 0x40], eax
mov rax, qword [str.45.90.12.55]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x740]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1801b690d
xor al, al
jmp 0x1801b6c98
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1801b693d
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1801b6c98
mov eax, 2
mov word [rsp + 0x480], ax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x484], eax
movzx ecx, word [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x482], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1801b699f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x1801b6c98
mov dword [rsp + 0x530], 0
mov dword [rsp + 0x30], 0
jmp 0x1801b69be
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x530]
cmp dword [rsp + 0x30], eax
jae 0x1801b69e2
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp qword [rsp + rax*8 + 0x538], rcx
jne 0x1801b69e0
jmp 0x1801b69e2
jmp 0x1801b69b4
mov eax, dword [rsp + 0x530]
cmp dword [rsp + 0x30], eax
jne 0x1801b6a1a
cmp dword [rsp + 0x530], 0x40
jae 0x1801b6a1a
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + rax*8 + 0x538], rcx
mov eax, dword [rsp + 0x530]
inc eax
mov dword [rsp + 0x530], eax
xor eax, eax
test eax, eax
jne 0x1801b69aa
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
lea rcx, str.Connected_to_the_server__IP_____s__PORT_____d_n
call fcn.1801b61e0
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x530]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x208
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 5
lea r9, [rsp + 0x60]
mov r8d, socket
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x38]
call fcn.1801b6300
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jge 0x1801b6aa6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, str.Connection_failed_n
call fcn.1801b61e0
xor al, al
jmp 0x1801b6c98
lea rcx, [rsp + 0x4a8]
call fcn.1801b2bc0
mov dword [rsp + 0x44], 0x30
lea rax, [rsp + 0x4a8]
lea rcx, [rsp + 0x490]
mov rdi, rax
mov rsi, rcx
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x918]
mov qword [rsp + 0x4c8], rax
mov rax, qword [rsp + 0x910]
mov qword [rsp + 0x4c0], rax
mov byte [rsp + 0x4d4], 1
lea r8, [rsp + 0x490]
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0x4a8]
call fcn.1801b4610
xor r9d, r9d
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x4a8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_send]
lea rcx, str.Sent_ClientRequest_to_the_server__Requesting_only_Mark__n
call fcn.1801b61e0
lea rax, [rsp + 0x270]
lea rcx, [rsp + 0x530]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x208
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 5
lea r9, [rsp + 0x270]
mov r8d, 0x48
lea rdx, [rsp + 0x4e0]
mov rcx, qword [rsp + 0x38]
call fcn.1801b6300
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xfffffffe
jne 0x1801b6bb6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, str.Connection_failed_n
call fcn.1801b61e0
xor al, al
jmp 0x1801b6c98
lea rcx, str.Got_Server_Respond_
call fcn.1801b61e0
mov r8d, socket
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x4e0]
call fcn.1801b5cd0
movzx eax, al
test eax, eax
jne 0x1801b6c02
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, str.Invalid_key_n
call fcn.1801b61e0
xor al, al
jmp 0x1801b6c98
movzx eax, byte [rsp + 0x524]
test eax, eax
je 0x1801b6c5c
mov rax, qword [rsp + 0x910]
cmp qword [rsp + 0x4f8], rax
jne 0x1801b6c5c
mov rdx, qword [rsp + 0x910]
lea rcx, str.Respond_is_successfull._Got_mark_for__llu_n
call fcn.1801b61e0
mov rax, qword [rsp + 0x920]
mov ecx, dword [rsp + 0x520]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x920]
mov rcx, qword [rsp + 0x910]
mov qword [rax + 0x20], rcx
jmp 0x1801b6c7f
mov rdx, qword [rsp + 0x910]
lea rcx, str.Respond_is_not_successfull._Couldnt_get_mark_for__llu_n
call fcn.1801b61e0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x1801b6c98
lea rcx, str.Web_thread_ended__n
call fcn.1801b61e0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x8f8
pop rdi
pop rsi
ret