Function at 0x140014310
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor edi, edi
mov r12, rcx
lea rcx, str.WinHTTP_Example_1.0
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ebp, edi
mov ebx, edi
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
je 0x1400143b1
mov r8d, 0x50
lea rdx, str.sandboxesresolveme.online
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbp, rax
test rax, rax
je 0x1400143b1
mov dword [rsp + 0x30], edi
lea r8, str._data_postme
mov qword [rsp + 0x28], rdi
lea rdx, str.POST
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
mov qword [rsp + 0x38], rdi
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rdi
mov r8, r12
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r13, eax
movabs r14, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
cmp r13, r14
ja 0x140014603
cmp r13, 0xf
ja 0x140014425
mov r8, r13
mov qword [rsp + 0x50], r13
xor edx, edx
mov qword [rsp + 0x58], SafeArrayLock
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + r13 + 0x40], dil
jmp 0x1400144b9
mov rax, r13
or rax, 0xf
cmp rax, r14
jbe 0x14001445e
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400177d8
test rax, rax
je 0x1400145cc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140014496
mov ecx, SafeArrayPutElement
mov r14, rax
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
test rcx, rcx
je 0x140014496
cmp rcx, 0x1000
jb 0x14001448e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140014609
jmp 0x14001443f
call fcn.1400177d8
mov rdi, rax
mov r8, r13
mov qword [rsp + 0x40], rdi
xor edx, edx
mov qword [rsp + 0x50], r13
mov rcx, rdi
mov qword [rsp + 0x58], r14
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + r13], 0
xor edi, edi
cmp qword [rsp + 0x58], 0xf
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
mov r9d, 0xffffffff
cmova rax, qword [rsp + 0x40]
mov r8, r12
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], r13d
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x60], edi
test rbx, rbx
je 0x14001455a
mov eax, dword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14001455a
cmp qword [rsp + 0x58], 0xf
lea rdx, [rsp + 0x40]
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x60]
cmova rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x14001455a
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140014573
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__d_has_occurred._n
call fcn.14000b030
test rbx, rbx
je 0x14001457c
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test rbp, rbp
je 0x14001458a
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r15, r15
je 0x140014598
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400145d8
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400145d3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400145d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400177d0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400177b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14000b100
int3
call fcn.14000b2a0
int3