Function at 0x140001956
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
mov qword [rbp - 0x20], 0
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x14], 0
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov dword [rbp - 0x24], 0
mov dword [rbp - 0x54], 0
mov dword [rbp - 0x18], 0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x18]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call fcn.1400016cd
mov dword [rbp - 0x24], eax
cmp dword [rbp - 0x24], 0
jne 0x1400019de
mov eax, 0
jmp 0x140001cca
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rax, str.Custom_User_Agent_1.0
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpOpen]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x140001a3c
mov rdx, qword [section..data]
mov rax, qword [rbp - 0x20]
mov r9d, 0
mov r8d, 0x1bb
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpConnect]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x140001a85
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp - 8]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
lea rdx, str.POST
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140001b4d
lea rax, str.Content_Type:_multipart_form_data__boundary___________________________BOUNDARY123
mov qword [rbp - 0x30], rax
lea rax, str.User_Agent:_Custom_User_Agent_1.0
mov qword [rbp - 0x38], rax
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x10]
mov r9d, 0x20000000
mov r8d, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
call rax
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x10]
mov r9d, 0x20000000
mov r8d, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
call rax
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x30], 0
mov edx, dword [rbp - 0x24]
mov dword [rsp + 0x28], edx
mov edx, dword [rbp - 0x24]
mov dword [rsp + 0x20], edx
mov r9, rcx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
call rax
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0
jne 0x140001b4d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x3c]
mov edx, eax
lea rax, str.Error__lu_in_WinHttpSendRequest._n
mov rcx, rax
call fcn.140001493
jmp 0x140001c76
cmp dword [rbp - 0x14], 0
je 0x140001c46
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
call rax
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0
jne 0x140001c46
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x40]
mov edx, eax
lea rax, str.Error__d_in_WinHttpReceiveResponse._n
mov rcx, rax
call fcn.140001493
jmp 0x140001c76
lea rdx, [rbp - 0x54]
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
call rax
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0
je 0x140001c53
mov eax, dword [rbp - 0x54]
test eax, eax
je 0x140001c53
mov edx, dword [rbp - 0x54]
mov eax, dword [rbp - 0x18]
add eax, edx
cmp eax, dword [rbp + 0x28]
jb 0x140001be3
mov eax, dword [rbp + 0x28]
sub eax, dword [rbp - 0x18]
sub eax, 1
mov dword [rbp - 0x54], eax
mov ecx, dword [rbp - 0x54]
mov edx, dword [rbp - 0x18]
mov rax, qword [rbp + 0x20]
add rdx, rax
lea r8, [rbp - 0x48]
mov rax, qword [rbp - 0x10]
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReadData]
call rax
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0
jne 0x140001c35
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x44]
mov edx, eax
lea rax, str.Error__lu_in_WinHttpReadData._n
mov rcx, rax
call fcn.140001493
jmp 0x140001c76
mov eax, dword [rbp - 0x48]
add dword [rbp - 0x18], eax
mov eax, dword [rbp + 0x28]
sub eax, 1
cmp dword [rbp - 0x18], eax
jae 0x140001c52
cmp dword [rbp - 0x14], 0
jne 0x140001b9e
jmp 0x140001c53
nop
mov edx, dword [rbp - 0x18]
mov rax, qword [rbp + 0x20]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp + 0x20]
mov rdx, rax
lea rax, str.response__s_n
mov rcx, rax
call fcn.140001493
cmp qword [rbp - 0x10], 0
je 0x140001c8d
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
cmp qword [rbp - 8], 0
je 0x140001ca4
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
cmp qword [rbp - 0x20], 0
je 0x140001cbb
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
mov rax, qword [rbp - 0x50]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp - 0x14]
add rsp, 0xa0
pop rbp
ret