Function at 0x14008a086
Capabilities:
Connect socket
Initialize winsock library
Make an http request with a cookie
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
jmp 0x140093960
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1978
call fcn.140089a8c
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x4ce
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1998]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1928], rax
lea rcx, [0x1401fa315]
call fcn.14008cd09
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x1278], 0
mov dword [rbp + 0x12b4], 0
mov dword [rbp + 0x12d4], 0x1000
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140093a06
lea rcx, str.WSAStartup
call fcn.14008ba58
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x208]
call fcn.14008bd82
mov dword [rbp + 0x20c], 0
mov dword [rbp + 0x210], 1
lea r9, [rbp + 0x1e8]
lea r8, [rbp + 0x208]
lea rdx, [0x1401ac2f0]
mov rcx, qword [rbp + 0x1950]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140093a60
lea rcx, str.getaddrinfo
call fcn.14008ba58
mov rax, qword [rbp + 0x1e8]
mov r8d, dword [rax + 0xc]
mov rax, qword [rbp + 0x1e8]
mov edx, dword [rax + 8]
mov rax, qword [rbp + 0x1e8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0xffffffffffffffff
jne 0x140093aa2
lea rcx, str.socket
call fcn.14008ba58
mov rax, qword [rbp + 0x1e8]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 0x1e8]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140093ad6
lea rcx, str.connect
call fcn.14008ba58
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rbp + 0x1960]
call fcn.14008ab99
mov rcx, qword [rbp + 0x1960]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x1968]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1950]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1958]
lea r8, str.POST__s_HTTP_1.1_r_nHost:__s_r_nCookie:_JSESSIONID_s_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:__zd_r_nConnection:_close_r_n_r_n_s
mov edx, 0x1000
lea rcx, [rbp + 0x260]
call fcn.14008b9fe
lea rcx, [rbp + 0x260]
call fcn.14008ab99
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140093b6e
lea rcx, str.send
call fcn.14008ba58
movsxd rax, dword [rbp + 0x12d4]
mov rcx, rax
call fcn.14008b40e
mov qword [rbp + 0x1278], rax
cmp qword [rbp + 0x1278], 0
jne 0x140093b9a
lea rcx, str.malloc
call fcn.14008ba58
xor r9d, r9d
mov r8d, 0xfff
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x1294], eax
cmp dword [rbp + 0x1294], 0
jle 0x140093c68
mov eax, dword [rbp + 0x1294]
mov ecx, dword [rbp + 0x12b4]
add ecx, eax
mov eax, ecx
cmp eax, dword [rbp + 0x12d4]
jl 0x140093c23
mov eax, dword [rbp + 0x12d4]
shl eax, 1
mov dword [rbp + 0x12d4], eax
movsxd rax, dword [rbp + 0x12d4]
mov rdx, rax
mov rcx, qword [rbp + 0x1278]
call fcn.140089d70
mov qword [rbp + 0x1278], rax
cmp qword [rbp + 0x1278], 0
jne 0x140093c23
lea rcx, str.realloc
call fcn.14008ba58
movsxd rax, dword [rbp + 0x1294]
movsxd rcx, dword [rbp + 0x12b4]
mov rdx, qword [rbp + 0x1278]
add rdx, rcx
mov rcx, rdx
mov r8, rax
lea rdx, [rbp + 0x260]
call fcn.14008adc4
mov eax, dword [rbp + 0x1294]
mov ecx, dword [rbp + 0x12b4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x12b4], eax
jmp 0x140093b9a
cmp dword [rbp + 0x1294], 0xffffffff
jne 0x140093c7d
lea rcx, str.recv
call fcn.14008ba58
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
movsxd rax, dword [rbp + 0x12b4]
mov rcx, qword [rbp + 0x1278]
mov byte [rcx + rax], 0
lea rdx, str._r_n_r_n
mov rcx, qword [rbp + 0x1278]
call fcn.14008cda9
mov qword [rbp + 0x12f8], rax
cmp qword [rbp + 0x12f8], 0
je 0x140093cda
mov rax, qword [rbp + 0x12f8]
add rax, 4
mov qword [rbp + 0x12f8], rax
jmp 0x140093ce8
mov rax, qword [rbp + 0x1278]
mov qword [rbp + 0x12f8], rax
mov rcx, qword [rbp + 0x12f8]
call fcn.14008cb88
mov qword [rbp + 0x1318], rax
mov rcx, qword [rbp + 0x1278]
call fcn.14008a5fe
mov rax, qword [rbp + 0x1318]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_connect
call fcn.14008c214
mov rax, rdi
mov rcx, qword [rbp + 0x1928]
xor rcx, rbp
call fcn.14008adba
lea rsp, [rbp + 0x1938]
pop rdi
pop rbp
ret