Function at 0x1801bd600
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb30
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rsp + 0xb20], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rdx, [0x1800556e0]
mov rcx, rbx
call fcn.1802b1c80
test rax, rax
jne 0x1801bd668
mov rax, rbx
jmp 0x1801bd9a8
lea rcx, [0x180412c08]
call fcn.1802a12a0
nop
lea rcx, [0x180412c08]
call fcn.1802a16e0
mov rsi, rax
test rsi, rsi
je 0x1801bd6c9
mov rcx, rsi
call fcn.1800f1480
mov rbx, rax
test rax, rax
je 0x1801bd6b5
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rax]
call fcn.1802d57c0
test eax, eax
jne 0x1801bd6b5
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x30], rdi
jmp 0x1801bd6c9
mov rdx, rsi
lea rcx, [0x180412c08]
call fcn.1802a1790
mov rsi, rax
jmp 0x1801bd684
mov rsi, qword [rsp + 0x48]
jmp 0x1801bd6e4
lea rcx, [0x180412c08]
call fcn.1802a1870
nop
jmp 0x1801bd707
test rdi, rdi
jne 0x1801bd9a5
mov ecx, 0x101
lea rdx, [rsp + 0x60]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
movups xmm0, xmmword [0x180055728]
movups xmmword [rsp + 0x200], xmm0
movzx eax, word [0x180055738]
mov word [rsp + 0x210], ax
movzx eax, byte [0x18005573a]
mov byte [rsp + 0x212], al
lea rcx, [rsp + 0x200]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
or rbx, 0xffffffffffffffff
test rax, rax
jne 0x1801bd796
lea rax, [rsp + 0x200]
mov rdx, rbx
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x1801bd770
mov r8d, 2
lea rcx, [rsp + 0x200]
call qword [sym.imp.WSOCK32.dll_gethostbyaddr]
test rax, rax
je 0x1801bd998
mov dword [rsp + 0x48], 0x50000002
movsx r8, word [rax + 0x12]
mov rdx, qword [rax + 0x18]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x4c]
call fcn.1802c7100
xor r8d, r8d
lea edx, [r8 + 1]
lea ecx, [rdx + 1]
call qword [sym.imp.WSOCK32.dll_socket]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x1801bd998
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x1801bd998
mov r8d, 0x100
lea rcx, [rsp + 0x220]
cmp byte [rsi], 0x2d
lea rdx, [rsi + 1]
je 0x1801bd809
mov rdx, rsi
call fcn.1802d7610
mov byte [rsp + 0x31f], 0
mov edx, 0x40
lea rcx, [rsp + 0x220]
call fcn.1802c6f1c
test rax, rax
je 0x1801bd830
mov byte [rax], 0
mov rax, qword [0x1803fc9b8]
mov qword [rsp + 0x20], rax
lea rdx, [0x180055614]
lea rcx, [rsp + 0x20]
call fcn.1802b2220
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x20]
call fcn.1802b2370
lea rdx, [0x180055740]
lea rcx, [rsp + 0x20]
call fcn.1802b2370
lea rdx, [0x180055750]
lea rcx, [rsp + 0x20]
call fcn.1802b2370
lea rdx, [0x180055770]
lea rcx, [rsp + 0x20]
call fcn.1802b2370
mov rdx, qword [rsp + 0x20]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1801bd897
mov r8, rbx
xor r9d, r9d
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_send]
test eax, eax
jle 0x1801bd982
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x320]
call fcn.1802c7550
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rsp + 0x320]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jle 0x1801bd982
cdqe
cmp rax, 0x800
jae 0x1801bd97c
mov byte [rsp + rax + 0x320], 0
lea rdx, [0x180055788]
lea rcx, [rsp + 0x320]
call fcn.1802b1c80
mov rbx, rax
test rax, rax
je 0x1801bd982
add rbx, 7
movzx eax, byte [rbx]
test al, al
je 0x1801bd93e
nop dword [rax]
cmp al, 0x22
je 0x1801bd943
inc rbx
movzx eax, byte [rbx]
test al, al
jne 0x1801bd930
cmp byte [rbx], 0x22
jne 0x1801bd982
mov edx, 0x22
lea rcx, [rbx + 1]
call fcn.1802c6f1c
test rax, rax
je 0x1801bd982
mov byte [rax], 0
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call fcn.1801bd040
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call fcn.1801bd600
mov rdi, rax
jmp 0x1801bd982
call fcn.1802b8b94
int3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_closesocket]
nop
lea rcx, [rsp + 0x20]
call fcn.1802b20f0
call qword [sym.imp.WSOCK32.dll_WSACleanup]
test rdi, rdi
cmove rdi, rsi
mov rax, rdi
mov rcx, qword [rsp + 0xb20]
xor rcx, rsp
call fcn.1802b85a0
lea r11, [rsp + 0xb30]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret