Function at 0x140017d50
Capabilities:
Send data
Send http request

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov r14, r9
mov rbp, rdx
mov rdi, rcx
lea rax, [0x14038f858]
mov qword [r11 - 0x68], rax
xor r15d, r15d
mov qword [r11 - 0x60], r15
mov esi, 0x84280000
lea rax, str.https:
mov qword [r11 + 8], rax
lea rdx, [r11 + 8]
mov rcx, r8
call fcn.14014e2f0
mov ecx, 0x84a80000
test al, al
cmovne esi, ecx
lea rbx, [rdi + 0xc8]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [rdi + 0xf4], r15b
je 0x140017dd8
mov eax, r15d
jmp 0x140017e18
lea rdx, [rdi + 0x90]
lea rcx, [rsp + 0xc0]
call fcn.140018b20
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp + 0x48]
mov rdx, qword [rax]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rdi + 0x60], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [rdi + 0x60], 0
je 0x140017f83
mov qword [rsp + 0x64], r15
mov dword [rsp + 0x6c], r15d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
mov dword [rsp + 0x60], 0x38
lea rdx, [rdi + 0x68]
lea rcx, [rsp + 0xc0]
call fcn.140018b20
mov rcx, qword [rax]
mov qword [rsp + 0x70], rcx
mov rax, qword [rdi + 0x68]
mov rdx, r15
nop word [rax + rax]
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x140017eb3
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x140017eb7
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x140017ea0
inc rdx
jmp 0x140017e80
test ecx, ecx
je 0x140017ebc
inc rdx
jmp 0x140017e80
mov dword [rsp + 0x78], edx
mov eax, dword [rdi + 0x78]
mov dword [rsp + 0x8c], eax
mov qword [rsp + 0x20], r15
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x140017f83
mov esi, r15d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi + 0x78]
sub eax, esi
mov ebx, 0x400
cmp eax, ebx
cmovl ebx, eax
mov eax, r15d
mov dword [rsp + 0xc0], eax
test ebx, ebx
jle 0x140017f46
movsxd rdx, esi
add rdx, qword [rdi + 0x70]
lea r9, [rsp + 0xc0]
mov r8d, ebx
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140017f83
mov eax, dword [rsp + 0xc0]
test ebx, ebx
je 0x140017f6d
cmp eax, ebx
jl 0x140017f6d
add esi, eax
test r14, r14
je 0x140017f00
mov rax, qword [r14]
mov r9d, dword [rdi + 0x78]
mov r8d, esi
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x140017f83
jmp 0x140017f00
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x140017fa9
mov rcx, qword [rdi + 0x60]
mov qword [rdi + 0x60], r15
test rcx, rcx
je 0x140017f96
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140017fa9
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rdi + 0x58], r15
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret