Function at 0x140124100
Capabilities:
Get hostname

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 - 0x830]
sub rsp, 0x930
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x820], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.libdispatch.dll_dispatch_get_global_queue]
mov r8d, SafeArrayGetLBound
lea rdx, str.Windows_generic
xor ecx, ecx
call qword [sym.imp.CoreFoundation.dll_CFStringCreateWithCharacters]
mov r15, rax
mov dword [rsp + 0x58], 0x400
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
test eax, eax
je 0x140124188
mov r8d, dword [rsp + 0x58]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.CoreFoundation.dll_CFStringCreateWithCharacters]
jmp 0x140124195
lea rcx, str.Unknown_name
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbx, rax
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x78]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
nop
lea rax, [rsp + 0x78]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
lea r8, [rbp - 0x78]
lea rdx, [0x140124010]
lea rcx, [0x140378e90]
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test eax, eax
je 0x14012451a
lea rcx, [rsp + 0x78]
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
mov rdi, qword [0x140378e98]
test rdi, rdi
je 0x1401241f8
mov rcx, rdi
call qword [sym.imp.CoreFoundation.dll_CFRetain]
xor r13d, r13d
mov dword [rsp + 0x68], r13d
lea r8, [rsp + 0x68]
lea edx, [r13 + 3]
xor ecx, ecx
call qword [sym.imp.CoreFoundation.dll_CFNumberCreate]
mov rsi, rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rdi
mov rcx, qword [0x140379900]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [0x140379938]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
mov r9, qword [0x1403798e8]
mov r8, rbx
mov rdx, qword [0x1403798d0]
mov rcx, qword [sym.imp.CoreFoundation.dll_kCFAllocatorDefault]
mov rcx, qword [rcx]
call fcn.1400fca20
mov r14, rax
test r15, r15
je 0x140124271
mov rcx, r15
call qword [sym.imp.CoreFoundation.dll_CFRelease]
test rbx, rbx
je 0x14012427f
mov rcx, rbx
call qword [sym.imp.CoreFoundation.dll_CFRelease]
test rsi, rsi
je 0x14012428d
mov rcx, rsi
call qword [sym.imp.CoreFoundation.dll_CFRelease]
test r14, r14
jne 0x1401242d6
lea rcx, str.Didnt_get_machine_gestalt__This_is_going_to_be_ugly.
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbx, rax
lea rcx, [0x14029df90]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x22e
lea r9, str.D:BWA61422F5C_3951_0_securityWin2_201_srcrootOSX_sec_securitydSOSCloudCircleServer.c
lea r8, str.GetSharedAccount::_lambda_9131871249d005a35c8b6a49168a96d5_::operator___
mov rdx, rax
lea ecx, [r14 + 3]
call fcn.140109c60
call fcn.1401268c0
mov r15, rax
call fcn.140120000
mov r12, rax
test r15, r15
je 0x140124395
mov qword [rsp + 0x58], r13
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, r15
mov rcx, qword [sym.imp.CoreFoundation.dll_kCFAllocatorDefault]
mov rcx, qword [rcx]
call fcn.140161780
mov rsi, rax
test rax, rax
je 0x140124323
mov rdx, r14
mov rcx, rax
call fcn.140138ab0
jmp 0x140124372
mov rdi, qword [rsp + 0x58]
lea rcx, str.Got_error_inflating_account:___
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbx, rax
lea rcx, [0x1402a6fa0]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x133
lea r9, [0x1402a6f40]
lea r8, [0x1402a6e88]
mov rdx, rax
mov ecx, 3
call fcn.140109c60
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140124382
call qword [sym.imp.CoreFoundation.dll_CFRelease]
mov qword [rsp + 0x58], r13
mov rcx, r15
call qword [sym.imp.CoreFoundation.dll_CFRelease]
test rsi, rsi
jne 0x1401243f7
mov r8, r12
mov rdx, r14
mov rcx, qword [sym.imp.CoreFoundation.dll_kCFAllocatorDefault]
mov rcx, qword [rcx]
call fcn.1401357c0
mov rsi, rax
test rax, rax
jne 0x1401243f7
lea rcx, str.Got_NULL_creating_account
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbx, rax
lea rcx, [0x1402a7058]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x13f
lea r9, [0x1402a6fd0]
lea r8, str.SOSKeychainAccountCreateSharedAccount
mov rdx, rax
lea ecx, [rsi + 3]
call fcn.140109c60
jmp 0x1401243ff
mov word [rsi + 0xd3], r13w
mov qword [0x140378ea0], rsi
mov ecx, 8
call fcn.1400e69ec
test rax, rax
je 0x140124421
lea rcx, vtable.._AVChangeBlock__1___R_lambda_9131871249d005a35c8b6a49168a96d5___QEBA_XZ_.0
mov qword [rax], rcx
jmp 0x140124424
mov rax, r13
mov rdx, rax
mov rcx, qword [0x140378ea0]
call fcn.140134880
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_631641d1e0fb2ecf316bc38f09e4b9a8___struct___CFArray_const____ptr64__struct___CFDictionary_const____ptr64_.0
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x68]
call fcn.14015b980
test r14, r14
je 0x14012445d
mov rcx, r14
call qword [sym.imp.CoreFoundation.dll_CFRelease]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_b5836955dcf0ba023c8b9b4fdb7bd840___void__struct___CFData_const____ptr64__struct___CFError____ptr64_.0
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
lea rdx, [rbp - 0x28]
mov rcx, qword [0x140378ea0]
call fcn.1401378a0
mov qword [rsp + 0x70], r13
lea rdx, [rsp + 0x70]
mov rcx, qword [0x140378ea0]
call fcn.140135fd0
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1401244ea
lea rcx, str.Error_ensuring_peer_registration___
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov rbx, rax
lea rcx, [0x14029df90]
call qword [sym.imp.CoreFoundation.dll___CFStringMakeConstantString]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x2a7
lea r9, str.D:BWA61422F5C_3951_0_securityWin2_201_srcrootOSX_sec_securitydSOSCloudCircleServer.c
lea r8, str.GetSharedAccount::_lambda_9131871249d005a35c8b6a49168a96d5_::operator___
mov rdx, rax
mov ecx, 3
call fcn.140109c60
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0x930]
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
lea rcx, [rsp + 0x78]
call sub.MSVCP140.dll_bool___cdecl___ExceptionPtrToBool_void_const____ptr64_
test al, al
je 0x140124540
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400d2ea0
mov rcx, rax
call fcn.1400da8b0
int3
call sub.MSVCP140.dll_void___cdecl_std::_XGetLastError_void_
int3