Function at 0x140079500
Capabilities:
Get hostname
Resolve dns

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x498]
sub rsp, 0x598
mov rax, qword [0x14021b0e0]
xor rax, rsp
mov qword [rbp + 0x470], rax
lea r12, [rcx + 0x7ce]
mov qword [rsp + 0x5b8], rbx
mov rbx, rcx
mov qword [rsp + 0x20], r12
mov rcx, qword [0x1402281b0]
mov r8, r12
mov r9d, 0x100
mov edx, 9
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9, 0xffffffffffffffff
lea r8, [0x1401fb4e8]
mov edx, 0x80
mov rcx, r12
call fcn.140162278
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x1a0]
test eax, eax
je 0x1400797b5
cmp byte [0x14021fa62], 0
je 0x1400795bc
mov eax, dword [0x140227ab0]
cmp eax, 0xc
jge 0x1400795bc
inc eax
lea r8, [0x140227bd0]
mov edx, Ordinal_102
mov dword [0x140227ab0], eax
lea rcx, [rsp + 0x30]
call fcn.140150800
jmp 0x140079795
mov edx, 0x100
mov dword [0x140227ab0], 0
lea rcx, [rbp + 0x170]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x1400795fb
mov r9d, Ordinal_102
lea r8, str.Host_name_unavailable
mov edx, r9d
lea rcx, [rsp + 0x30]
call fcn.14015abcc
jmp 0x140079795
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x5c0], rsi
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
jne 0x140079637
mov r9d, Ordinal_102
lea r8, str.IP_address_unavailable
mov edx, r9d
lea rcx, [rsp + 0x30]
call fcn.14015abcc
jmp 0x14007978d
mov byte [rsp + 0x30], 0
mov rax, qword [rax + 0x18]
cmp qword [rax], 0
je 0x14007978d
mov qword [rsp + 0x5c8], rdi
xor r12d, r12d
mov qword [rsp + 0x590], r13
lea r13, [rsp + 0x30]
mov qword [rsp + 0x588], r14
mov r14d, r12d
mov qword [rsp + 0x580], r15
mov r15d, r12d
nop dword [rax + rax]
mov edi, r12d
mov rbx, r12
cmp r12w, word [rsi + 0x12]
jge 0x1400796f3
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rdx, [0x1401f5db8]
mov rcx, qword [rax + r14]
movzx r8d, byte [rcx + rbx]
lea rcx, [rsp + 0x28]
call fcn.14004a3c0
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400796c0
mov r9d, Ordinal_102
lea r8, [rsp + 0x28]
sub r9, rax
lea rcx, [rsp + 0x30]
mov edx, Ordinal_102
call fcn.14014e1c8
movsx eax, word [rsi + 0x12]
inc edi
inc rbx
cmp edi, eax
jl 0x140079690
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop
cmp byte [rcx + rax + 1], r12b
lea rax, [rax + 1]
jne 0x140079700
mov byte [rax + r13 - 1], r12b
mov rax, qword [rsi + 0x18]
cmp qword [rax + r14 + 8], r12
je 0x140079753
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x140079727
mov r9d, Ordinal_102
lea r8, [0x1401f5dbc]
sub r9, rax
lea rcx, [rsp + 0x30]
mov edx, Ordinal_102
call fcn.14014e1c8
mov rax, qword [rsi + 0x18]
inc r15
lea r14, [r15*8]
cmp qword [r14 + rax], r12
jne 0x140079680
mov r12, qword [rsp + 0x20]
mov r15, qword [rsp + 0x580]
mov r14, qword [rsp + 0x588]
mov r13, qword [rsp + 0x590]
mov rdi, qword [rsp + 0x5c8]
mov rsi, qword [rsp + 0x5c0]
mov r8d, Ordinal_102
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xa0]
call fcn.140150434
lea r8, [rbp + 0xa0]
jmp 0x1400797bc
lea r8, str.Not_listening
mov r9, 0xffffffffffffffff
mov edx, 0x80
mov rcx, r12
call fcn.140162278
xor edx, edx
lea rcx, [rbp + 0x270]
mov r8d, 0x200
call fcn.14014a5c0
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x100
call fcn.14014a5c0
mov edx, 0x100
lea rcx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_gethostname]
mov rbx, qword [rsp + 0x5b8]
test eax, eax
jne 0x140079870
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140079820
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x270]
call fcn.140150434
mov r9, 0xffffffffffffffff
lea r8, [0x1401fb4e8]
mov edx, 0x80
mov rcx, r12
call fcn.140162278
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x270]
mov edx, 0x80
mov rcx, r12
call fcn.140162278
mov rax, qword [0x14022a710]
lea rcx, str.___application__
lea r8, str.___service__
mov edx, 0x80
mov r9, 0xffffffffffffffff
cmp dword [rax + 0xe20], 0
cmove r8, rcx
mov rcx, r12
call fcn.140162278
mov r9, 0xffffffffffffffff
lea r8, [0x14021fa68]
mov edx, 0x80
mov rcx, r12
call fcn.140162278
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140147af0
add rsp, 0x598
pop r12
pop rbp
ret