Function at 0x14001d000
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 0x14001d065
lea rdx, str.RMatcher_started_with_no_Director_Host_Name_IP_addr
lea rcx, [rsp + 0x60]
call fcn.140197aa8
lea rdx, [rsp + 0x60]
lea ecx, [rdi + 2]
call qword [rbx + reloc.WS2_32.dll_htonl]
xor esi, esi
movzx eax, si
jmp 0x14001d3b8
mov qword [rsp + 0x590], r12
lea r12, [rcx + 0x1d0]
mov r8d, 9
mov rcx, r12
mov qword [rsp + 0x588], r14
call fcn.140199370
mov byte [rbx + 0x1d8], 0
movzx eax, byte [rsi]
lea r14, [rbx + 0xb0]
mov r8d, 0x100
mov rdx, rdi
mov rcx, r14
mov byte [rbx + 0x1d9], al
call fcn.140199370
movzx eax, word [rbp + 0x4e8]
mov byte [rbx + 0x1af], 0
mov word [rbx + 0x1b0], ax
call fcn.14000cbf0
mov dword [rsp + 0x54], eax
test eax, eax
je 0x14001d0ff
lea rdx, str.InitializeNetwork_returned__d
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.140197aa8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
xor esi, esi
movzx eax, si
jmp 0x14001d3a8
mov qword [rsp + 0x580], r15
call fcn.14000cfd0
xor esi, esi
xor ecx, ecx
mov edi, esi
call fcn.14019a0f4
mov r15, rax
nop word [rax + rax]
test edi, edi
jne 0x14001d171
movzx ecx, word [rbx + 0x1b0]
mov r8, r14
test cx, cx
je 0x14001d154
movzx r9d, cx
lea rdx, str.Matcher_attempting_to_register_with_Director_on__.1024s_at_port__d
lea rcx, [rsp + 0x60]
call fcn.140197aa8
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x14001d193
lea rdx, str.Matcher_attempting_to_register_with_Director_on__.1024s
lea rcx, [rsp + 0x60]
call fcn.140197aa8
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x14001d193
xor ecx, ecx
call fcn.14019a0f4
lea ecx, [rdi + rdi*4]
add ecx, ecx
sub rax, r15
movsxd rcx, ecx
cmp rax, rcx
jge 0x14001d193
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, word [rbx + 0x1b0]
lea rdx, [rsp + 0x58]
mov r8d, 0xa
mov rcx, r14
mov word [rsp + 0x58], ax
call fcn.14000cd30
mov dword [rsp + 0x54], eax
cmp word [rbx + 0x1b0], si
jne 0x14001d1cf
test eax, eax
jne 0x14001d1cf
movzx eax, word [rsp + 0x58]
mov word [rbx + 0x1b0], ax
xor ecx, ecx
inc edi
call fcn.14019a0f4
mov r8d, dword [rsp + 0x54]
cmp edi, 6
jge 0x14001d1eb
test r8d, r8d
jne 0x14001d120
mov r15, qword [rsp + 0x580]
cmp r8d, 0x274c
jne 0x14001d205
lea rdx, str.Unable_to_locate_director
jmp 0x14001d211
test r8d, r8d
je 0x14001d230
lea rdx, str.Unable_to_locate_director_rc_d
lea rcx, [rsp + 0x60]
call fcn.140197aa8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d3a8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x54]
xor r8d, r8d
call fcn.14000c7b0
mov qword [rbx + 0x1c8], rax
cmp rax, 0xffffffffffffffff
jne 0x14001d2aa
mov r8d, dword [rsp + 0x54]
lea rcx, [rsp + 0x60]
cmp r8d, 0x2740
jne 0x14001d289
movzx r9d, word [rsp + 0x50]
lea rdx, str.ListenOnSocket_returned__d_nAnother_process_is_already_listening_on_port__d
call fcn.140197aa8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d3a8
lea rdx, str.ListenOnSocket_returned__d
call fcn.140197aa8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d3a8
mov rcx, qword [rbp + 0x4e0]
mov byte [rbp + 0x360], sil
test rcx, rcx
je 0x14001d2e1
cmp byte [rcx], sil
je 0x14001d2e1
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 0x14001d2d0
jmp 0x14001d2f3
lea rcx, [rbp + 0x360]
mov edx, 0x104
call qword [sym.imp.WS2_32.dll_gethostname]
movzx r8d, word [rbx + 0x1b0]
mov dword [rsp + 0x48], 0xa
lea rax, [rbx + 0x1b2]
mov qword [rsp + 0x40], rax
movzx eax, word [rbx + 0x10]
lea r9, [rbp + 0x360]
mov word [rsp + 0x38], ax
movzx eax, byte [rbx + 0x1d9]
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.14000cff0
mov qword [rbx + 0x1c0], rax
lea rcx, [rsp + 0x60]
cmp rax, 0xffffffffffffffff
jne 0x14001d382
mov r8d, dword [rsp + 0x54]
lea rdx, str.Unable_to_register_server_rc_d
mov qword [rbx + 0x1c0], rax
call fcn.140197aa8
lea rdx, [rsp + 0x60]
mov ecx, 2
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, si
jmp 0x14001d3a8
movzx r9d, word [rbx + 0x1b0]
lea rdx, str.Matcher_registered_with_Director_on__.1024s_at_port__d
mov r8, r14
call fcn.140197aa8
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.14019ac00
add rsp, 0x598
pop rdi
pop rsi
pop rbx
pop rbp
ret