Function at 0x140008930
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0x58], rax
xor esi, esi
mov ecx, 3
call qword [sym.imp.libcurl.dll_curl_global_init]
mov dword [rsp + 0x58], sendto
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rbp - 0x80]
call fcn.140001200
nop
mov r8d, 1
lea rdx, [0x14000d800]
mov rcx, rax
call fcn.140001d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], sendto
mov byte [rax], sil
lea rax, [rbp + 0x48]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400089e2
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140001d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140008a6b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
movdqa xmm0, xmmword [0x14000dfb0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140008ac4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ab7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
movdqa xmm0, xmmword [0x14000dfb0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rdi, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
cmova rdi, r8
add rdi, qword [rsp + 0x70]
lea rbx, [rsp + 0x60]
cmp rdx, 0xf
cmova rbx, r8
add rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x60]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0x20
mov rdx, rbx
call fcn.14000a8d0
mov r8, rax
cmp rax, rbx
je 0x140008b39
lea rcx, [rax + 1]
cmp rcx, rbx
je 0x140008b39
movzx eax, byte [rcx]
cmp al, 0x20
je 0x140008b31
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rbx
jne 0x140008b24
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov r9, r8
sub r9, rax
sub rdi, r8
mov rbx, qword [rsp + 0x70]
mov rax, rbx
sub rax, r9
cmp rax, rdi
cmovb rdi, rax
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
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 [rsp + 0x70], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_enum_Json::ValueType____ptr64]
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
lea rdx, str.DeviceName
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator_class_Json::Value____ptr64____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
lea rcx, [rbp - 8]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::StreamWriterBuilder::constructor_void____ptr64]
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.jsoncpp.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Json::writeString_class_Json::StreamWriter::Factory_const____ptr64__class_Json::Value_const____ptr64_]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], rsi
mov ecx, sendto
call fcn.14000a9d0
mov qword [rax + 8], rsi
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
mov qword [rax], rcx
movabs rdi, 0x7fffffff6afd06ff
movabs rbx, 0x7fffffffffffffff
mov r14d, 0x9502f900
movabs r15, 0x7fffffff1194d7ff
mov r12d, 0xee6b2800
nop
lea rcx, [rsp + 0x48]
call fcn.140002c90
mov rax, qword [rsp + 0x48]
cmp rax, rdi
jge 0x140008c8f
lea rcx, [rax + r14]
mov qword [rsp + 0x20], rcx
jmp 0x140008c94
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
call fcn.140004310
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov r8d, 0x2d
lea rdx, str.https:__analytis.magmamc.dev_API_2_InfoNotice
lea rcx, [rsp + 0x28]
call fcn.140002860
nop
lea r8, [rbp + 0x28]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140001460
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140008d18
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008db0
call fcn.14000aa0c
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], sendto
mov byte [rsp + 0x28], 0
cmp qword [rbp - 0x70], 0
jne 0x140008da1
lea rcx, [rsp + 0x50]
call fcn.140002c90
mov rax, qword [rsp + 0x50]
cmp rax, r15
jge 0x140008d51
lea rcx, [rax + r12]
mov qword [rsp + 0x20], rcx
jmp 0x140008d56
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
call fcn.140004310
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140008c70
inc rdx
mov rcx, qword [rbp - 0x80]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008d97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008db7
call fcn.14000aa0c
jmp 0x140008c70
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.1400080b0
jmp 0x140008d61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3