Function at 0x14001d150
Capabilities:
Get hostname

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x498]
sub rsp, 0x598
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rbp + 0x470], rax
movzx eax, word [rbp + 0x4f0]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
mov word [rsp + 0x50], ax
test r9, r9
jne 0x14001d1b5
lea rdx, str.RMatcher_started_with_no_Director_Host_Name_IP_addr
lea rcx, [rsp + 0x60]
call fcn.140197bf8
lea rdx, [rsp + 0x60]
lea ecx, [rdi + 2]
call qword [rbx + reloc.WS2_32.dll_htonl]
xor esi, esi
movzx eax, si
jmp 0x14001d508
mov qword [rsp + 0x590], r12
lea r12, [rcx + 0xe0]
mov r8d, 9
mov rcx, r12
mov qword [rsp + 0x588], r14
call fcn.140199190
mov byte [rbx + 0xe8], 0
movzx eax, byte [rsi]
lea r14, [rbx + 0xb0]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rdi
mov rcx, r14
mov byte [rbx + 0xe9], al
call fcn.140199190
movzx eax, word [rbp + 0x4e8]
mov byte [rbx + 0xbf], 0
mov word [rbx + 0xc0], ax
call fcn.14000cc80
mov dword [rsp + 0x54], eax
test eax, eax
je 0x14001d24f
lea rdx, str.InitializeNetwork_returned__d
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.140197bf8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
xor esi, esi
movzx eax, si
jmp 0x14001d4f8
mov qword [rsp + 0x580], r15
call fcn.14000d060
xor esi, esi
xor ecx, ecx
mov edi, esi
call fcn.140199f14
mov r15, rax
nop word [rax + rax]
test edi, edi
jne 0x14001d2c1
movzx ecx, word [rbx + 0xc0]
mov r8, r14
test cx, cx
je 0x14001d2a4
movzx r9d, cx
lea rdx, str.Matcher_attempting_to_register_with_Director_on__.1024s_at_port__d
lea rcx, [rsp + 0x60]
call fcn.140197bf8
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x14001d2e3
lea rdx, str.Matcher_attempting_to_register_with_Director_on__.1024s
lea rcx, [rsp + 0x60]
call fcn.140197bf8
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x14001d2e3
xor ecx, ecx
call fcn.140199f14
lea ecx, [rdi + rdi*4]
add ecx, ecx
sub rax, r15
movsxd rcx, ecx
cmp rax, rcx
jge 0x14001d2e3
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, word [rbx + 0xc0]
lea rdx, [rsp + 0x58]
mov r8d, 0xa
mov rcx, r14
mov word [rsp + 0x58], ax
call fcn.14000cdc0
mov dword [rsp + 0x54], eax
cmp word [rbx + 0xc0], si
jne 0x14001d31f
test eax, eax
jne 0x14001d31f
movzx eax, word [rsp + 0x58]
mov word [rbx + 0xc0], ax
xor ecx, ecx
inc edi
call fcn.140199f14
mov r8d, dword [rsp + 0x54]
cmp edi, 6
jge 0x14001d33b
test r8d, r8d
jne 0x14001d270
mov r15, qword [rsp + 0x580]
cmp r8d, 0x274c
jne 0x14001d355
lea rdx, str.Unable_to_locate_director
jmp 0x14001d361
test r8d, r8d
je 0x14001d380
lea rdx, str.Unable_to_locate_director_rc_d
lea rcx, [rsp + 0x60]
call fcn.140197bf8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d4f8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x54]
xor r8d, r8d
call fcn.14000c840
mov qword [rbx + 0xd8], rax
cmp rax, 0xffffffffffffffff
jne 0x14001d3fa
mov r8d, dword [rsp + 0x54]
lea rcx, [rsp + 0x60]
cmp r8d, 0x2740
jne 0x14001d3d9
movzx r9d, word [rsp + 0x50]
lea rdx, str.ListenOnSocket_returned__d_nAnother_process_is_already_listening_on_port__d
call fcn.140197bf8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d4f8
lea rdx, str.ListenOnSocket_returned__d
call fcn.140197bf8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d4f8
mov rcx, qword [rbp + 0x4e0]
mov byte [rbp + 0x360], sil
test rcx, rcx
je 0x14001d431
cmp byte [rcx], sil
je 0x14001d431
lea rdx, [rbp + 0x360]
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx + rcx - 1], al
test al, al
jne 0x14001d420
jmp 0x14001d443
lea rcx, [rbp + 0x360]
mov edx, 0x104
call qword [sym.imp.WS2_32.dll_gethostname]
movzx r8d, word [rbx + 0xc0]
mov dword [rsp + 0x48], 0xa
lea rax, [rbx + 0xc2]
mov qword [rsp + 0x40], rax
movzx eax, word [rbx + 0x10]
lea r9, [rbp + 0x360]
mov word [rsp + 0x38], ax
movzx eax, byte [rbx + 0xe9]
lea rcx, [rsp + 0x54]
mov byte [rsp + 0x30], al
movzx eax, word [rsp + 0x50]
mov rdx, r14
mov qword [rsp + 0x28], r12
mov word [rsp + 0x20], ax
call fcn.14000d080
mov qword [rbx + 0xd0], rax
lea rcx, [rsp + 0x60]
cmp rax, 0xffffffffffffffff
jne 0x14001d4d2
mov r8d, dword [rsp + 0x54]
lea rdx, str.Unable_to_register_server_rc_d
mov qword [rbx + 0xd0], rax
call fcn.140197bf8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d4f8
movzx r9d, word [rbx + 0xc0]
lea rdx, str.Matcher_registered_with_Director_on__.1024s_at_port__d
mov r8, r14
call fcn.140197bf8
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, word [rsp + 0x50]
mov r12, qword [rsp + 0x590]
mov r14, qword [rsp + 0x588]
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14019aa20
add rsp, 0x598
pop rdi
pop rsi
pop rbx
pop rbp
ret