Function at 0x1400c6130
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x610
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov r14d, r8d
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
lea rcx, [r11 - 0x58]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1400c6199
mov rcx, rsi
call fcn.140018ea0
xor al, al
jmp 0x1400c679c
or r8d, 0xffffffff
lea rdx, str._LicenseService_FindCapabilitiesByClient_device
lea rcx, [rsp + 0x28]
call fcn.140018930
nop
or r8d, 0xffffffff
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x40]
call fcn.140018990
nop
mov rcx, rax
call fcn.140018bf0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140018a60
nop
lea rcx, [rsp + 0x40]
call fcn.140018ea0
mov rcx, rsi
call fcn.140018bf0
mov rbx, rax
mov rcx, rsi
call fcn.140018bf0
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
mov ebx, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x58]
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb8], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0xb0], r12
mov byte [rsp + 0xa0], r12b
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140009d60
nop
lea r9, [0x140288390]
xor edx, edx
lea r8d, [r12 + 2]
lea rcx, [rsp + 0xa0]
call fcn.1400c5d20
test eax, eax
jne 0x1400c6286
xor edx, edx
lea r8d, [r12 + 2]
lea rcx, [rsp + 0xa0]
call fcn.14000a8a0
movzx r8d, r14w
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x360]
call fcn.14012a7a0
nop
mov dl, 1
lea rcx, [rsp + 0x360]
call fcn.14012a680
lea rcx, [rsp + 0x28]
call fcn.140018bf0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140018bf0
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
mov ebx, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x58]
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd8], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0xd0], r12
mov byte [rsp + 0xc0], 0
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140009d60
nop
lea r9, [0x140314650]
lea r8, [rsp + 0xc0]
lea rdx, [0x140314790]
lea rcx, [rsp + 0x2d0]
call fcn.14012c590
nop
lea rcx, [rsp + 0xc0]
call fcn.1400091f0
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r12
mov qword [rsp + reloc.WSOCK32.dll_ntohs8], 0xf
mov qword [rsp + 0xf0], r12
mov byte [rsp + 0xe0], 0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.application_json
lea rcx, [rsp + 0xe0]
call fcn.140009d60
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x2d0]
call fcn.14012c470
nop
lea rcx, [rsp + 0xe0]
call fcn.1400091f0
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x360]
call fcn.14012b810
lea rcx, [rsp + 0x210]
call fcn.14012d070
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x360]
call fcn.14012b380
mov rdx, rax
cmp dword [rsp + 0x258], 0xc8
je 0x1400c6452
lea rcx, [rsp + 0x210]
call fcn.14012d0f0
nop
lea rcx, [rsp + 0x2d0]
call fcn.14012c650
nop
lea rcx, [rsp + 0x360]
call fcn.14012a9e0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x28]
call fcn.140018ea0
nop
mov rcx, rsi
call fcn.140018ea0
xor al, al
jmp 0x1400c679c
mov qword [rsp + 0x40], r12
mov word [rsp + 0x48], 1
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rdx + 0x48]
mov qword [rsp + 0x60], rax
test rax, rax
sete byte [rsp + 0x68]
mov qword [rsp + 0x190], r12
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x198], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x190], r12
mov byte [rsp + 0x180], 0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x90], xmm1
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x180]
call fcn.14004e120
nop
lea rcx, [rsp + 0x38]
call fcn.140012030
nop
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x38]
call fcn.140012150
nop
mov qword [rsp + 0x130], r12
mov qword [rsp + 0x138], r12
mov qword [rsp + 0x138], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x130], r12
mov byte [rsp + 0x120], 0
mov r8d, 7
lea rdx, str.Payload
lea rcx, [rsp + 0x120]
call fcn.140009d60
nop
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x118], r12
mov qword [rsp + 0x118], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x110], r12
mov byte [rsp + 0x100], 0
mov r8d, 6
lea rdx, str.result
lea rcx, [rsp + 0x100]
call fcn.140009d60
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x280]
call fcn.1400080a0
mov rcx, rax
lea rdx, [rsp + 0x120]
call fcn.1400080a0
mov rcx, rax
lea rdx, [rsp + 0x1a0]
call fcn.140007b50
nop
lea rcx, [rsp + 0x100]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x120]
call fcn.1400091f0
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x38]
call fcn.140012150
nop
mov qword [rsp + 0x150], r12
mov qword [rsp + 0x158], r12
mov qword [rsp + 0x158], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x150], r12
mov byte [rsp + 0x140], 0
mov r8d, ntohs
lea rdx, str.CanSendData
lea rcx, [rsp + 0x140]
call fcn.140009d60
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1c0]
call fcn.1400080a0
mov rcx, rax
call fcn.140007a60
movzx edi, al
lea rcx, [rsp + 0x140]
call fcn.1400091f0
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x178], r12
mov qword [rsp + 0x178], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x170], r12
mov byte [rsp + 0x160], 0
mov r8d, reloc.WSOCK32.dll_ntohs
lea rdx, str.CanSendMetaData
lea rcx, [rsp + 0x160]
call fcn.140009d60
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1c0]
call fcn.1400080a0
mov rcx, rax
call fcn.140007a60
movzx ebx, al
lea rcx, [rsp + 0x160]
call fcn.1400091f0
mov rcx, qword [r15 + 0x20]
mov r9, qword [rcx]
movzx r8d, bl
movzx edx, dil
call qword [r9]
nop
lea rcx, [rsp + 0x1c0]
call fcn.140007a20
nop
lea rcx, [rsp + 0x1a0]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x280]
call fcn.140007a20
nop
lea rcx, [rsp + 0x38]
call fcn.140012080
nop
lea rcx, [rsp + 0x180]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x210]
call fcn.14012d0f0
nop
lea rcx, [rsp + 0x2d0]
call fcn.14012c650
nop
lea rcx, [rsp + 0x360]
call fcn.14012a9e0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x28]
call fcn.140018ea0
nop
mov rcx, rsi
call fcn.140018ea0
mov al, 1
jmp 0x1400c679c
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x658]
add rsp, 0x610
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret