Function at 0x1801b63f0
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, 0x948
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov eax, dword [0x18038a510]
mov dword [rsp + 0x40], eax
mov rax, qword [str.45.90.12.55]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x790]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1801b644d
xor al, al
jmp 0x1801b6887
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 0x1801b647d
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1801b6887
mov eax, 2
mov word [rsp + 0x4b0], ax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x4b4], eax
movzx ecx, word [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x4b2], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1801b64df
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x1801b6887
mov dword [rsp + 0x580], 0
mov dword [rsp + 0x30], 0
jmp 0x1801b64fe
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x580]
cmp dword [rsp + 0x30], eax
jae 0x1801b6522
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp qword [rsp + rax*8 + 0x588], rcx
jne 0x1801b6520
jmp 0x1801b6522
jmp 0x1801b64f4
mov eax, dword [rsp + 0x580]
cmp dword [rsp + 0x30], eax
jne 0x1801b655a
cmp dword [rsp + 0x580], 0x40
jae 0x1801b655a
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + rax*8 + 0x588], rcx
mov eax, dword [rsp + 0x580]
inc eax
mov dword [rsp + 0x580], eax
xor eax, eax
test eax, eax
jne 0x1801b64ea
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
lea rcx, str.Connected_to_the_server__IP_____s__PORT_____d_n
call fcn.1801b61e0
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x580]
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 + 0x90]
mov r8d, socket
lea rdx, [rsp + 0x4c0]
mov rcx, qword [rsp + 0x38]
call fcn.1801b6300
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jge 0x1801b65ec
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 0x1801b6887
lea rcx, [rsp + 0x4d8]
call fcn.1801b2bc0
lea rax, [rsp + 0x4d8]
lea rcx, [rsp + 0x4c0]
mov rdi, rax
mov rsi, rcx
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x968]
mov qword [rsp + 0x4f8], rax
mov rax, qword [rsp + 0x960]
mov qword [rsp + 0x4f0], rax
mov byte [rsp + 0x504], 0
mov dword [rsp + 0x44], 0x30
lea r8, [rsp + 0x4c0]
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0x4d8]
call fcn.1801b4610
xor r9d, r9d
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x4d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_send]
lea rcx, str.Sent_ClientRequest_to_the_server_n
call fcn.1801b61e0
mov dword [rsp + 0x4c], 0x48
lea rax, [rsp + 0x2a0]
lea rcx, [rsp + 0x580]
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 + 0x2a0]
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x510]
mov rcx, qword [rsp + 0x38]
call fcn.1801b6300
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xfffffffe
jne 0x1801b6703
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 0x1801b6887
lea rcx, str.Got_Server_Respond_
call fcn.1801b61e0
mov r8d, socket
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x510]
call fcn.1801b5cd0
movzx eax, al
test eax, eax
jne 0x1801b674f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, str.Invalid_Session_Key_n
call fcn.1801b61e0
xor al, al
jmp 0x1801b6887
movzx eax, byte [rsp + 0x554]
test eax, eax
je 0x1801b6844
mov rax, qword [rsp + 0x960]
cmp qword [rsp + 0x528], rax
jne 0x1801b6844
mov rax, qword [rsp + 0x970]
mov rcx, qword [rsp + 0x960]
mov qword [rax + 0x20], rcx
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x560]
call fcn.18003a660
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x970]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.180042630
nop
lea rcx, [rsp + 0x560]
call fcn.180041310
mov rax, qword [rsp + 0x970]
mov ecx, dword [rsp + 0x550]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x970]
mov rcx, rax
call fcn.180135320
cmp rax, 3
jbe 0x1801b6842
mov rax, qword [rsp + 0x970]
mov rcx, rax
call fcn.180135320
cmp rax, 0x14
jae 0x1801b6842
lea rax, [rsp + 0x70]
mov rdi, rax
mov rsi, qword [rsp + 0x970]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x70]
lea rcx, str.Respond_is_successfull._Cached_entire_user__s_n
call fcn.1801b61e0
mov rax, qword [rsp + 0x970]
mov byte [rax + 0x2c], 1
jmp 0x1801b686e
lea rcx, str.Respond_is_not_successfull._Updated_only_mark_n
call fcn.1801b61e0
mov rax, qword [rsp + 0x970]
mov ecx, dword [rsp + 0x550]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x970]
mov byte [rax + 0x2c], 0
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 + 0x930]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x948
pop rdi
pop rsi
ret