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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r8
mov r15, rdx
mov rbx, rcx
mov rdi, qword [rbp + 0x260]
lea rax, [rcx + 0x138]
xor r8d, r8d
test rax, rax
jne 0x14000a701
mov r12d, r8d
jmp 0x14000a716
mov rax, qword [rcx + 0x140]
movsxd rcx, dword [rax + 4]
lea r12, [rbx + 0x140]
add r12, rcx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r12
xor r13b, r13b
mov byte [rsp + 0x68], r13b
test r12, r12
je 0x14000a741
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov r13b, 1
mov byte [rsp + 0x68], r13b
xor r8d, r8d
mov r14d, r8d
or rsi, 0xffffffffffffffff
cmp qword [rbx + 8], 0
jne 0x14000a886
mov ecx, 7
mov qword [rbp - 0x70], rcx
mov rax, r8
mov qword [rbp - 0x78], rax
mov word [rsp + 0x78], r8w
test rdi, rdi
je 0x14000a7a3
cmp word [rdi], 0
je 0x14000a78b
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x14000a780
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140007090
mov rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
xor r8d, r8d
test rax, rax
sete al
test al, al
jne 0x14000a7e6
lea rax, [rbx + 0x60]
lea rdx, [rsp + 0x78]
cmp rax, rdx
je 0x14000a7e6
lea rdx, [rsp + 0x78]
cmp rcx, 8
cmovae rdx, qword [rsp + 0x78]
cmp word [rdx], 0
je 0x14000a7de
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000a7d3
mov rcx, rax
call fcn.140007090
lea rcx, [rbx + 0x60]
cmp dword [rbp + 0x268], 0
je 0x14000a801
cmp qword [rcx + 0x18], 8
jb 0x14000a7fd
mov rcx, qword [rcx]
xor edx, edx
jmp 0x14000a810
cmp qword [rcx + 0x18], 8
jb 0x14000a80b
mov rcx, qword [rcx]
mov edx, 1
xor eax, eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14000a849
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov dword [rbx + 0x120], eax
test eax, eax
jle 0x14000a849
movzx r14d, ax
or r14d, 0x80070000
lea r8, [rbx + 0x12c]
cmp dword [r8], 0
je 0x14000a86a
mov edx, 0x49
lea r9d, [rdx - 0x45]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x14000a886
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140007540
mov qword [rbp - 0x70], 7
xor edi, edi
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
test r15, r15
je 0x14000a8c9
cmp word [r15], di
jne 0x14000a8a9
mov r8d, edi
jmp 0x14000a8bb
mov r8, rsi
nop dword [rax]
inc r8
cmp word [r15 + r8*2], 0
jne 0x14000a8b0
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140007090
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.1400172a0
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x14000a8f4
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140007540
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
lea rcx, [rbp - 0x40]
call fcn.1400173b0
cmp qword [rax + 0x18], 8
jb 0x14000a918
mov rax, qword [rax]
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x68], di
cmp word [rax], 0
jne 0x14000a933
mov r8, rdi
jmp 0x14000a94b
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a940
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140007090
nop
cmp qword [rbp - 0x58], 0
sete al
test al, al
jne 0x14000a98b
mov r9, rsi
xor r8d, r8d
lea rdx, str.http
lea rcx, [rbp - 0x68]
call fcn.14000cf10
cmp rax, 0xffffffffffffffff
jne 0x14000a98b
mov r14d, 0x2ee6
jmp 0x14000ab9c
lea rcx, [rbp - 0x40]
call fcn.140017840
lea r15, [rbx + 0x20]
cmp r15, rax
je 0x14000a9cb
cmp qword [rax + 0x18], 8
jb 0x14000a9a7
mov rax, qword [rax]
cmp word [rax], 0
jne 0x14000a9b2
mov r8, rdi
jmp 0x14000a9c0
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a9b5
mov rdx, rax
mov rcx, r15
call fcn.140007090
lea rcx, [rbp - 0x40]
call fcn.1400179e0
cmp qword [rax + 0x10], 0
sete al
lea rcx, [rbp - 0x40]
test al, al
je 0x14000aa11
call fcn.1400173b0
cmp dword [rbp + 0x1d8], 0
je 0x14000aa03
mov eax, 0x1bb
mov word [rbx + 0x100], ax
jmp 0x14000aa88
mov eax, 0x50
mov word [rbx + 0x100], ax
jmp 0x14000aa88
call fcn.1400179e0
cmp qword [rax + 0x18], 8
jb 0x14000aa20
mov rax, qword [rax]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
cmp word [rax], 0
jne 0x14000aa40
mov rsi, rdi
jmp 0x14000aa4a
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14000aa40
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140007090
nop
lea rcx, [rsp + 0x78]
call fcn.14000d120
mov word [rbx + 0x100], ax
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x14000aa88
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140007540
lea r8, [rbx + 0x128]
cmp dword [r8], 0
je 0x14000aaa8
mov edx, 2
lea r9d, [rdx + 2]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x40], 0x1e
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 - 1]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14000aae6
lea rcx, [rbp - 0x40]
call fcn.140017510
cmp qword [rax + 0x18], 8
jb 0x14000aae6
mov rax, qword [rax]
lea rsi, [rbx + 0xc0]
mov rdx, rax
mov rcx, rsi
call fcn.1400065e0
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14000ab15
lea rcx, [rbp - 0x40]
call fcn.1400176a0
cmp qword [rax + 0x18], 8
jb 0x14000ab15
mov rax, qword [rax]
lea rdi, [rbx + 0xe0]
mov rdx, rax
mov rcx, rdi
call fcn.1400065e0
cmp qword [rdi + 0x18], 8
jb 0x14000ab31
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], 8
jb 0x14000ab3b
mov rsi, qword [rsi]
cmp qword [r15 + 0x18], 8
jb 0x14000ab45
mov r15, qword [r15]
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
mov r9, rsi
movzx r8d, word [rbx + 0x100]
mov rdx, r15
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14000ab9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov dword [rbx + 0x120], eax
test eax, eax
jle 0x14000ab9c
movzx r14d, ax
or r14d, 0x80070000
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14000abb6
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140007540
mov qword [rbp - 0x50], 7
xor eax, eax
mov qword [rbp - 0x58], rax
mov word [rbp - 0x68], ax
lea rcx, [rbp - 0x40]
call fcn.14000ac10
nop
test r12, r12
je 0x14000abe7
test r13b, r13b
je 0x14000abe7
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, r14d
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret