Function at 0x140005b60
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xa50]
sub rsp, 0xb50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0xa40], rax
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
cmp qword [rcx + 0x18], 0x10
jb 0x140005bb0
mov rsi, qword [rcx]
mov rbx, rsi
add rsi, qword [rcx + 0x10]
jmp 0x140005bb7
mov rsi, qword [rcx + 0x10]
add rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
cmp rbx, rsi
jne 0x140005bd9
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
jmp 0x140005cf0
mov rax, rsi
sub rax, rbx
mov rdx, r15
mov qword [rbp - 0x10], rdx
mov edi, 7
mov qword [rbp - 8], rdi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14000603f
cmp rax, 8
jb 0x140005cb0
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x140005c1d
mov rdi, rcx
jmp 0x140005c29
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rax, rdi
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140006039
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140005c8e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006039
mov rcx, rax
call fcn.140053600
mov rcx, rax
test rax, rax
je 0x140006001
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x10]
jmp 0x140005ca1
test rcx, rcx
je 0x140005c9e
call fcn.140053600
mov rdx, qword [rbp - 0x10]
jmp 0x140005ca1
mov rax, r15
mov qword [rbp - 0x20], rax
mov qword [rbp - 8], rdi
nop dword [rax]
lea rcx, [rbp - 0x20]
cmp rdi, 8
cmovae rcx, qword [rbp - 0x20]
movsx eax, byte [rbx]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp - 0x10]
inc rdx
mov qword [rbp - 0x10], rdx
inc rbx
cmp rbx, rsi
je 0x140005cdd
mov rdi, qword [rbp - 8]
jmp 0x140005cb0
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
mov word [rax + rdx*2], r15w
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.DiscordWebhookSender_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbx, rax
test rax, rax
je 0x140005fca
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x70], 0x68
lea rax, [rbp + 0x40]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0x100
lea rax, [rbp + 0x240]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0x400
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, dword [rbp - 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor r9d, r9d
movzx r8d, word [rbp - 0x6c]
mov rdx, qword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
test rax, rax
je 0x140005fc0
mov edx, 0x1bb
mov ecx, r15d
mov eax, 0x800000
cmp word [rbp - 0x6c], dx
cmove ecx, eax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp - 0x48]
lea rdx, str.POST
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x140005fb7
mov r8, r14
lea rdx, str._content_:__
lea rcx, [rsp + 0x48]
call fcn.140007950
nop
mov r8d, 2
lea rdx, [0x14005697c]
mov rcx, rax
call fcn.140004a90
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140005e7d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053644
movdqa xmm0, xmmword [0x14005d5e0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov qword [rbp + 8], r15
mov ecx, 0x50
call fcn.140053600
mov rdx, rax
mov qword [rbp], rax
mov qword [rbp + 0x10], 0x20
mov qword [rbp + 0x18], 0x27
movaps xmm0, xmmword [str.Content_Type:_application_json_r_n]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400569a0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400569b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400569c0]
movups xmmword [rax + 0x30], xmm1
mov word [rax + 0x40], r15w
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r9, qword [rbp + 0x20]
mov qword [rsp + 0x30], r15
mov rax, qword [rbp + 0x30]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140005f68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053644
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140005fb7
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005fb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005fb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053644
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14000600d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006008
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053644
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.1400535e0
lea r11, [rsp + 0xb50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001110
int3
call fcn.1400011b0
int3