Function at 0x1400ce0c8
Capabilities:
Connect to http server
Create http request

Disassembly:
jmp 0x140104900
mov qword [rsp + 0x18], r8
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
lea rcx, [0x14030419b]
call fcn.1400cf004
mov dword [rbp + 0x104], 0x3a980
call fcn.1400cbd7d
mov ecx, 1
call fcn.1400cf0e0
cwde
and eax, 8
cmp eax, 8
je 0x140104970
mov dword [rbp + 0x1d4], 0x84400200
jmp 0x14010497a
mov dword [rbp + 0x1d4], 0x84c03200
mov eax, dword [rbp + 0x1d4]
mov dword [0x1402dce98], eax
mov ecx, gethostbyname
call fcn.1400cf0e0
cwde
cmp eax, 1
jne 0x1401049a6
mov eax, dword [0x1402dce98]
bts eax, 0x13
mov dword [0x1402dce98], eax
mov ecx, 0x23
call fcn.1400cf0e0
cwde
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140104a71
cmp dword [rbp + 4], 0
jne 0x1401049d0
mov dword [rbp + 0x1d4], 1
jmp 0x1401049da
mov dword [rbp + 0x1d4], 0
mov eax, dword [rbp + 0x1d4]
dec eax
test eax, eax
je 0x140104a14
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 0x28], rax
jmp 0x140104aaa
cmp dword [rbp + 4], 0
jne 0x140104a26
mov dword [rbp + 0x1d4], 1
jmp 0x140104a30
mov dword [rbp + 0x1d4], 0
mov eax, dword [rbp + 0x1d4]
sub eax, 2
test eax, eax
je 0x140104a62
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 0x28], rax
jmp 0x140104aaa
mov eax, dword [rbp + 4]
sub eax, 2
cmp eax, 2
je 0x140104a71
jmp 0x140104ab5
mov ecx, 0x20
call fcn.1400cbaee
mov qword [rbp + 0xa8], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0xa8]
mov edx, 3
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [0x1402dcea0], rax
mov r9d, 4
lea r8, [rbp + 0x104]
mov edx, 5
mov rcx, qword [0x1402dcea0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rbp + 0x104]
mov edx, 6
mov rcx, qword [0x1402dcea0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [0x1402dceb0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rbp + 0x208]
mov rdx, qword [rbp + 0x200]
mov rcx, qword [0x1402dcea0]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [0x1402dcea8], rax
mov ecx, 0x23
call fcn.1400cf0e0
cwde
cmp eax, 4
jne 0x140104bcf
mov ecx, 0x21
call fcn.1400cbd78
mov dword [rbp + 0xc4], eax
mov ecx, 0x21
call fcn.1400cbaee
mov qword [rbp + 0x68], rax
mov r9d, dword [rbp + 0xc4]
mov r8, qword [rbp + 0x68]
mov edx, 0x2b
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, 0x22
call fcn.1400cbd78
mov dword [rbp + 0xe4], eax
mov ecx, 0x22
call fcn.1400cbaee
mov qword [rbp + 0x88], rax
mov r9d, dword [rbp + 0xe4]
mov r8, qword [rbp + 0x88]
mov edx, 0x2c
mov rcx, qword [0x1402dcea8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
call fcn.1400cc386
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400cdefc
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret