Function at 0x140002440
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

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 - 0x160]
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r12, rcx
xor r13d, r13d
lea rax, str.multipart_form_data
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, 0x25
lea rdx, str.____WebKitFormBoundary7MA4YWxkTrZu0gW
lea rcx, [rbp - 0x58]
call fcn.140005a10
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400024d9
mov rdx, qword [r12]
lea rcx, [rbp - 0x10]
call fcn.140005020
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x14], edx
cmp qword [rbp + 0x80], 0
jne 0x140002556
lea rdx, str.Failed_to_open_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0xf
jbe 0x140002536
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.1400063a0
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14000377e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x70], r13
mov word [rsp + 0x78], 1
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x38]
mov qword [rbp + 0x110], rax
test rax, rax
sete byte [rbp + 0x118]
mov byte [rbp + 0x119], 0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x110], xmm1
movzx esi, byte [rbp + 0x119]
mov rbx, qword [rbp + 0x110]
movzx r15d, byte [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
test rax, rax
jne 0x1400025e7
movzx r14d, byte [rbp + 0x118]
jmp 0x140002605
test rbx, rbx
je 0x1400025ff
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400025ff
movzx esi, al
jmp 0x140002602
mov rbx, r13
mov r14b, 1
test r15b, r15b
jne 0x140002623
test rdi, rdi
je 0x14000261d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x140002620
mov rdi, r13
mov r15b, 1
test rbx, rbx
jne 0x140002710
test rdi, rdi
jne 0x140002719
lea rcx, [rbp]
call fcn.140004f60
test rax, rax
jne 0x140002660
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140009f50]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r14, qword [rbp - 0x48]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 2
jb 0x140003814
lea r15, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r15, qword [rbp - 0x58]
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rsi, [r14 + 2]
mov ebx, 0xf
lea rdi, [rsp + 0x70]
movabs rax, 0x8000000000000000
mov edx, 0x16
cmp rsi, rbx
jbe 0x1400027c7
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000278a
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140007390
test rax, rax
je 0x1400028cb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400027c2
test rdi, rdi
jne 0x140002635
test r14b, r14b
jne 0x140002739
test rbx, rbx
je 0x140002736
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140002736
movzx esi, al
jmp 0x140002739
mov rbx, r13
mov byte [rsp + 0x40], sil
mov rax, qword [rbp - 0x68]
cmp rax, qword [rbp - 0x60]
je 0x140002751
mov byte [rax], sil
inc qword [rbp - 0x68]
jmp 0x140002763
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x70]
call fcn.140006af0
test rbx, rbx
je 0x1400025ff
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400025ff
mov byte [rbp + 0x118], 0
jmp 0x1400025e7
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000279f
mov rdi, r13
jmp 0x1400027c2
cmp rcx, 0x1000
jb 0x1400027ba
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400037fc
jmp 0x1400026ee
call fcn.140007390
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
mov word [rdi], 0x2d2d
lea rcx, [rdi + 2]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov r8d, 2
lea rdx, [0x1400099d8]
lea rcx, [rsp + 0x70]
call fcn.140005220
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x110]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x30]
call fcn.140005220
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140002898
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002892
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400028d7
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov rsi, qword [r12 + 0x10]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rsi
cmp rax, 0x37
jb 0x14000381a
cmp qword [r12 + 0x18], 0xf
jbe 0x140002902
mov r12, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r14, [rsi + 0x37]
mov ebx, 0xf
lea rdi, [rsp + 0x70]
cmp r14, rbx
jbe 0x1400029a1
mov rbx, r14
or rbx, 0xf
cmp rbx, r15
jbe 0x140002961
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140007390
test rax, rax
je 0x140002adf
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000299c
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14000297c
mov rdi, r13
jmp 0x14000299c
cmp rcx, 0x1000
jb 0x140002994
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003802
jmp 0x140002942
call fcn.140007390
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
movups xmm0, xmmword [str.Content_Disposition:_form_data__name_file___filename_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x1400099f0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x140009a00]
movups xmmword [rdi + 0x20], xmm0
mov eax, dword [0x140009a10]
mov dword [rdi + 0x30], eax
movzx eax, word [0x140009a14]
mov word [rdi + 0x34], ax
movzx eax, byte [0x140009a16]
mov byte [rdi + 0x36], al
lea rcx, [rdi + 0x37]
mov r8, rsi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, 3
lea rdx, [0x1400099dc]
lea rcx, [rsp + 0x70]
call fcn.140005220
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x110]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x30]
call fcn.140005220
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140002aac
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002aeb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ae6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov r8d, 0x2a
lea rdx, str.Content_Type:_application_octet_stream_r_n_r_n
lea rcx, [rbp - 0x30]
call fcn.140005220
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r14, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x68]
cmp r14, rbx
jne 0x140002b35
movdqa xmm0, xmmword [0x140009f50]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
jmp 0x140002c03
sub rbx, r14
cmp rbx, r15
ja 0x140003820
cmp rbx, 0xf
ja 0x140002b6d
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
jmp 0x140002c03
mov rdi, rbx
or rdi, 0xf
cmp rdi, r15
jbe 0x140002ba9
mov rdi, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140007390
test rax, rax
je 0x140002ce7
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002be4
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140002bc4
mov rsi, r13
jmp 0x140002be4
cmp rcx, 0x1000
jb 0x140002bdc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003808
jmp 0x140002b8a
call fcn.140007390
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov r8d, 2
lea rdx, [0x1400099d8]
lea rcx, [rsp + 0x70]
call fcn.140005220
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x110]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x30]
call fcn.140005220
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140002cb4
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002cf3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov r14, qword [rbp - 0x48]
mov rax, r15
sub rax, r14
cmp rax, 2
jb 0x140003826
lea r15, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r15, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rsi, [r14 + 2]
mov ebx, 0xf
lea rdi, [rsp + 0x70]
cmp rsi, rbx
jbe 0x140002dc2
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140002d82
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140007390
test rax, rax
je 0x140002ec6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002dbd
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140002d9d
mov rdi, r13
jmp 0x140002dbd
cmp rcx, 0x1000
jb 0x140002db5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000380e
jmp 0x140002d63
call fcn.140007390
mov rdi, rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
mov word [rdi], 0x2d2d
lea rcx, [rdi + 2]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov r8d, 4
lea rdx, str.___r_n
lea rcx, [rsp + 0x70]
call fcn.140005220
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x110]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x30]
call fcn.140005220
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140002e93
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002ed2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ecd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ecd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov r13d, dword [rbp - 0x20]
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_79.0.3945.74_Safari_537.36_Edg_79.0.309.43
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x1400036be
lea rdx, str.Internet_session_opened_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, 0x1bb
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.discordapp.com
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r12, rax
test rax, rax
je 0x140003690
lea rdx, str.HTTP_session_connected_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x84880100
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.api_webhooks_1236271986381164544_W4WUKjytaoPNRIu0J44dCoI9_RsVZ2ypOYMF9ojH7TwQsTYlSoHrxArSy7h1_8k_fqAu
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
je 0x140003659
lea rdx, str.HTTP_request_opened_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rsi, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rsi, qword [rbp - 0x58]
add rsi, qword [rbp - 0x48]
lea rbx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rbx, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
cmp rbx, rsi
jne 0x140003033
xor esi, esi
mov r8d, esi
mov qword [rsp + 0x58], rsi
mov ecx, 7
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x48], si
jmp 0x14000316a
sub rsi, rbx
xor r9d, r9d
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x60], 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x14000382c
mov edi, 7
cmp rsi, rdi
jbe 0x140003118
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x1400030c6
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003104
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400037f6
mov rcx, rax
call fcn.140007390
mov rcx, rax
test rax, rax
je 0x1400030fd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rdi
jmp 0x14000311d
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400037f6
add rcx, rcx
jne 0x140003085
mov rax, r9
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rdi
jmp 0x14000311d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007390
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rdi
jmp 0x14000311d
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x48]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140003154
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140003140
mov qword [rsp + 0x58], rsi
mov word [r8 + rsi*2], r9w
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
xor esi, esi
mov rax, rcx
sub rax, r8
cmp rax, 0x2c
jb 0x140003218
lea rax, [r8 + 0x2c]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x48]
cmp rcx, 7
cmova rdi, qword [rsp + 0x48]
lea rax, [0x140009b38]
lea rcx, str.Content_Type:_multipart_form_data__boundary
cmp rax, rdi
jbe 0x1400031c3
lea rax, [rdi + r8*2]
cmp rcx, rax
ja 0x1400031c3
cmp rdi, rcx
ja 0x1400031b8
mov rbx, rsi
jmp 0x1400031c8
mov rbx, rdi
sub rbx, rcx
sar rbx, 1
jmp 0x1400031c8
mov ebx, 0x2c
lea rcx, [rdi + 0x58]
lea r8, [r8*2 + 2]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbx]
mov r8d, 0x58
sub r8, rbx
lea rdx, str.Content_Type:_multipart_form_data__boundary
add rdx, 0x58
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
jmp 0x14000322e
mov ebx, 0x2c
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1400067f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400032a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000329d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000329d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov dword [rsp + 0x20], r13d
mov r8d, 0xffffffff
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1400035d1
lea rdx, str.HTTP_request_sent_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
mov dword [rbp - 0x38], 0x20
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x38]
lea r8, [rbp + 0x110]
mov edx, 0x13
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140003389
lea rcx, [rbp + 0x110]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ebx, eax
lea rdx, str.Response_status_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
jmp 0x14000339c
lea rdx, str.Failed_to_get_status_code.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, rsi
mov ebx, esi
mov ecx, 0x800
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x1400033ec
lea rdx, str.Failed_to_allocate_buffer.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400034bd
xor r13d, r13d
mov dword [rsp + 0x68], r13d
lea r9, [rsp + 0x68]
mov r8d, 0x800
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000350a
mov r8, 0xffffffffffffffff
nop word [rax + rax]
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x14000350a
mov edx, ebx
add edx, ecx
cmovb rdx, r8
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rdi, rax
test rax, rax
je 0x140003490
mov r8d, dword [rsp + 0x68]
mov ecx, ebx
add rcx, rax
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
add ebx, dword [rsp + 0x68]
mov dword [rsp + 0x68], r13d
lea r9, [rsp + 0x68]
mov r8d, 0x800
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov r8, 0xffffffffffffffff
jne 0x140003420
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000351c
lea rdx, str.Failed_to_reallocate_memory_for_response.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400036e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003500
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003500
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
jmp 0x1400036e2
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rdi, rdi
je 0x1400035c8
lea rdx, str.Response_received_and_processed._Size:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, str._bytes.
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
test ebx, ebx
je 0x1400035bd
lea rdx, str.Response_content__first_100_bytes_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005590
mov eax, 0x64
cmp ebx, eax
cmovb eax, ebx
test eax, eax
je 0x1400035a9
mov rbx, rdi
mov esi, eax
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400061d0
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x140003590
lea rdx, [0x140005770]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400035f4
lea rdx, str.Failed_to_receive_response.
jmp 0x1400035d8
lea rdx, str.Failed_to_send_HTTP_request.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000367c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000363d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000363d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400036e2
lea rdx, str.Failed_to_open_HTTP_request.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400036e2
lea rdx, str.Failed_to_connect_HTTP_session.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400036e2
lea rdx, str.Failed_to_open_Internet_session.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005590
lea rdx, [0x140005770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140003720
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000371b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000371b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
movdqa xmm0, xmmword [0x140009f50]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000377e
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003769
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003769
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
lea rcx, [rbp - 0x10]
call fcn.140003840
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400037c6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400073cc
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140007370
lea r11, [rsp + 0x260]
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.140001130
nop
call fcn.140001130
int3
call fcn.140001130
int3
call fcn.140001130
int3
call fcn.140001130
int3
call fcn.1400011d0
int3
call fcn.1400011d0
int3
call fcn.1400011d0
int3
call fcn.1400011d0
int3
call fcn.1400011d0
int3