Function at 0x14009de60
Capabilities:
Prepare http request
Read http header
Receive http response

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov qword [rsp + 0xb8], r8
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], rsi
cmp qword [rcx + 8], rsi
je 0x14009e70c
add rdx, 0x68
lea rcx, [rsp + 0xc0]
call fcn.140003de0
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdx, qword [rsp + 0xc0]
mov r8d, 0x1bb
xor r9d, r9d
mov rcx, qword [rbx + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x14009df40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009df3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e725
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f10]
movdqu xmmword [rsp + 0xd0], xmm0
mov word [rsp + 0xc0], si
test r13, r13
je 0x14009e72b
mov eax, dword [rdi + 0x10]
cmp eax, 1
jne 0x14009df73
lea rdx, str.POST
jmp 0x14009df87
lea rcx, [0x140125fa8]
lea rdx, [0x140128ca0]
test eax, eax
cmove rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1f0], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14009dfa5
lea rcx, [rsp + 0x1e0]
call fcn.1400049c0
nop
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x80]
call fcn.140003de0
lea r8, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 8
cmovae rdx, qword [rsp + 0x1e0]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x98]
cmp rdx, 8
jb 0x14009e074
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e06f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e747
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f10]
movdqu xmmword [rsp + 0x90], xmm0
mov word [rsp + 0x80], si
test r12, r12
je 0x14009e74d
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
movdqa xmm1, xmmword [0x140128f10]
movdqu xmmword [rsp + 0x1a0], xmm1
mov word [rsp + 0x190], si
lea rdx, [rdi + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140003de0
nop
lea rcx, [rsp + 0xe0]
call fcn.14009bab0
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
lea r9, [r8 + rcx*2]
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.14009bcc0
nop
lea rcx, [rsp + 0xe0]
call fcn.14009b9c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14009e152
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e14d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e769
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f10]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdi, qword [rdi + 0x38]
lea rax, [rsp + 0x190]
mov qword [rsp + 0x188], rax
mov rbx, qword [rdi]
nop dword [rax]
cmp rbx, rdi
je 0x14009e19b
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x188]
call fcn.14009e830
mov rbx, qword [rbx]
jmp 0x14009e180
lea r9, [rsp + 0x200]
cmp qword [rsp + 0x218], 0x10
cmovae r9, qword [rsp + 0x200]
lea rdx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdx, qword [rsp + 0x190]
mov qword [rsp + 0x30], rsi
mov eax, dword [rsp + 0x210]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14009e76f
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14009e78a
mov dword [rsp + 0x168], esi
mov dword [rsp + 0x16c], 4
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x16c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x168]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14009e7a5
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
mov rdi, rsi
mov qword [rsp + 0x170], rsi
mov rbx, rsi
mov qword [rsp + 0x178], rbx
mov r14, rsi
mov qword [rsp + 0x180], rsi
mov dword [rsp + 0x160], esi
mov dword [rsp + 0x164], esi
mov r15d, esi
nop
lea rdx, [rsp + 0x160]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14009e807
mov r8d, dword [rsp + 0x160]
test r8d, r8d
je 0x14009e3cf
mov rax, rbx
sub rax, rdi
mov esi, r8d
lea rdx, [r8 + rax]
cmp rdx, rax
jae 0x14009e2d2
lea rbx, [rdi + rdx]
jmp 0x14009e323
jbe 0x14009e32b
mov rax, r14
sub rax, rdi
cmp rdx, rax
jbe 0x14009e30e
lea rcx, [rsp + 0x170]
call fcn.14009ecb0
mov r14, qword [rsp + 0x180]
mov rbx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x170]
mov r8d, dword [rsp + 0x160]
jmp 0x14009e32b
xor edx, edx
mov rcx, rbx
call fcn.1400a5140
add rbx, rsi
mov r8d, dword [rsp + 0x160]
mov qword [rsp + 0x178], rbx
mov edx, r15d
add rdx, rdi
lea r9, [rsp + 0x164]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14009e7c1
add r15d, dword [rsp + 0x164]
mov esi, r15d
mov rcx, rbx
sub rcx, rdi
cmp rsi, rcx
jae 0x14009e371
lea rbx, [r15 + rdi]
mov qword [rsp + 0x178], rbx
jmp 0x14009e290
jbe 0x14009e290
mov rax, r14
sub rax, rdi
cmp rsi, rax
jbe 0x14009e3af
mov rdx, rsi
lea rcx, [rsp + 0x170]
call fcn.14009ecb0
mov r14, qword [rsp + 0x180]
mov rbx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x170]
jmp 0x14009e290
sub rsi, rcx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.1400a5140
add rbx, rsi
mov qword [rsp + 0x178], rbx
jmp 0x14009e290
lea rax, vtable.ApplicationInsights::core::HttpResponse.0
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c0], xmm0
movdqa xmm1, xmmword [0x140128f20]
movdqu xmmword [rsp + 0x1d0], xmm1
mov byte [rsp + 0x1c0], 0
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x1b8], eax
sub rbx, rdi
movups xmmword [rsp + 0x40], xmm0
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400813b0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x188], rax
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x1d8]
cmp rsi, rax
ja 0x14009e496
lea rbx, [rsp + 0x1c0]
cmp rax, 0x10
cmovae rbx, qword [rsp + 0x1c0]
mov qword [rsp + 0x1d0], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.1400a4a90
mov byte [rbx + rsi], r15b
jmp 0x14009e4a7
mov rdx, rsi
lea rcx, [rsp + 0x1c0]
call fcn.14009cb90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14009e4e4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e4df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e7dd
call fcn.1400a2410
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14009e7e3
mov rax, qword [rcx]
lea rdx, [rsp + 0x1b0]
call qword [rax + InitCommonControls]
nop
lea rax, vtable.ApplicationInsights::core::HttpResponse.0
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0x10
jb 0x14009e56c
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e567
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e7e9
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f20]
movdqu xmmword [rsp + 0x1d0], xmm0
mov byte [rsp + 0x1c0], 0
test rdi, rdi
je 0x14009e5be
sub r14, rdi
mov rax, rdi
cmp r14, 0x1000
jb 0x14009e5b2
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e7ef
mov rdx, r14
mov rcx, rdi
call fcn.1400a2410
nop
mov rdx, qword [rsp + 0x218]
cmp rdx, 0x10
jb 0x14009e601
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e5fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e7f5
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f20]
movdqu xmmword [rsp + 0x210], xmm0
mov byte [rsp + 0x200], 0
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
jb 0x14009e662
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e65d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e7fb
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f10]
movdqu xmmword [rsp + 0x1a0], xmm0
mov word [rsp + 0x190], r15w
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 8
jb 0x14009e6c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e6bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e801
call fcn.1400a2410
movdqa xmm0, xmmword [0x140128f10]
movdqu xmmword [rsp + 0x1f0], xmm0
mov word [rsp + 0x1e0], r15w
xor eax, eax
jmp 0x14009e6e9
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400a23f0
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [rsp + 0x60], 0xffffffff
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x60]
call fcn.1400a49b8
call fcn.1400a92b0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x64]
call fcn.1400a49b8
nop
call fcn.1400a92b0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x68]
call fcn.1400a49b8
nop
call fcn.1400a92b0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x6c], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x6c]
call fcn.1400a49b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x70]
call fcn.1400a49b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x74]
call fcn.1400a49b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x78]
call fcn.1400a49b8
nop
call fcn.1400a92b0
int3
call fcn.1400a1290
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call fcn.1400a92b0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x7c], eax
lea rdx, [0x140140fa8]
lea rcx, [rsp + 0x7c]
call fcn.1400a49b8
int3