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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov r14, rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x40], 0x68
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], 0x100
lea rax, [rbp + 0x2d0]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 0x100
cmp qword [rcx + 0x18], 8
jb 0x14000b57f
mov rcx, qword [rcx]
lea r9, [rbp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Discord_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
jne 0x14000b5cb
lea rdx, str.WinHttpOpen_failed_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007ff0
jmp 0x14000bb75
xor r9d, r9d
movzx r8d, word [rbp + 0x64]
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
je 0x14000b633
mov eax, r13d
mov ecx, 0x800000
cmp dword [rbp + 0x54], 2
cmove eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp + 0x88]
lea rdx, str.POST
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x14000b641
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14000bb75
mov qword [rsp + 0x60], r13
movdqa xmm0, xmmword [0x1400ce680]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.____Boundary1234567890
lea rcx, [rsp + 0x60]
call fcn.140009690
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rdi, [rdx + rax*2]
lea rbx, [rsp + 0x60]
cmovae rbx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rsp + 0x40]
call fcn.140038cb0
lea rax, [rsp + 0x40]
mov qword [rbp + 0x500], rax
cmp rbx, rdi
je 0x14000b729
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rbx]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x14000b716
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000b720
lea rcx, [rsp + 0x40]
call fcn.140009bc0
add rbx, 2
cmp rbx, rdi
jne 0x14000b6e0
mov r9d, Ordinal_46
lea r8, str.Content_Type:_multipart_form_data__boundary
lea rcx, [rsp + 0x40]
call fcn.14003be90
mov qword [rbp], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140007de0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rdi, [rdx + rax*2]
lea rbx, [rsp + 0x60]
cmovae rbx, qword [rsp + 0x60]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rbp - 0x80]
call fcn.140038cb0
lea rax, [rbp - 0x80]
mov qword [rbp + 0x500], rax
cmp rbx, rdi
je 0x14000b813
nop
movzx r9d, byte [rbx]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
cmp rcx, rdx
jae 0x14000b801
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x80]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000b80a
lea rcx, [rbp - 0x80]
call fcn.140009bc0
add rbx, 2
cmp rbx, rdi
jne 0x14000b7d0
mov r9d, 2
lea r8, [0x1400c5e34]
lea rcx, [rbp - 0x80]
call fcn.14003be90
mov qword [rbp - 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 2
lea rbx, [0x1400b89c8]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140038d90
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.140007de0
nop
lea rcx, [rbp - 0x80]
call fcn.140007de0
mov r8d, 0x48
lea rdx, str.Content_Disposition:_form_data__name_file___filename_screenshot.png__r_n
lea rcx, [rbp - 0x60]
call fcn.140038d90
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, str.Content_Type:_image_png_r_n_r_n
lea rcx, [rbp - 0x60]
call fcn.140038d90
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14000bb96
cmp qword [r14 + 0x18], 0x10
jb 0x14000b8fa
mov r14, qword [r14]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
mov r9, r14
lea rcx, [rsp + 0x40]
call fcn.14003b940
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140038d90
nop
lea rcx, [rsp + 0x40]
call fcn.140007de0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rdi, [rdx + rax*2]
lea rbx, [rsp + 0x60]
cmovae rbx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rsp + 0x40]
call fcn.140038cb0
lea rax, [rsp + 0x40]
mov qword [rbp + 0x500], rax
cmp rbx, rdi
je 0x14000b9f9
nop word [rax + rax]
movzx r9d, byte [rbx]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x14000b9e6
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000b9f0
lea rcx, [rsp + 0x40]
call fcn.140009bc0
add rbx, 2
cmp rbx, rdi
jne 0x14000b9b0
mov r9d, 2
lea r8, [0x1400c5e34]
lea rcx, [rsp + 0x40]
call fcn.14003be90
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 4
lea rdx, str.___r_n
lea rcx, [rbp - 0x20]
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0xb0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x60]
call fcn.140038d90
nop
lea rcx, [rbp + 0xb0]
call fcn.140007de0
nop
lea rcx, [rbp - 0x20]
call fcn.140007de0
nop
lea rcx, [rsp + 0x40]
call fcn.140007de0
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.14000b3b0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov r9d, 0x20000000
mov r8d, 0xffffffff
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], r13
mov rax, qword [rbp - 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14000bb32
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea rcx, [rbp + 0x20]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x60]
call fcn.140007de0
nop
lea rcx, [rbp]
call fcn.140007de0
nop
lea rcx, [rsp + 0x60]
call fcn.1400094c0
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140007550
nop
int3