Function at 0x140006650
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov qword [rcx + 0x2040], rsi
mov qword [rcx + 0x2048], rsi
mov r13d, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov rcx, qword [rdx + 8]
mov dword [rbx + 0x2068], 1
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x2050], rax
mov qword [rbx + 0x2058], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x2060], rax
lea rax, [rbx + 0x208]
mov ecx, 0x40
nop dword [rax]
nop word [rax + rax]
mov qword [rax - 8], 0xffffffffffffffff
mov qword [rax], 0xffffffffffffffff
mov qword [rax + 8], 0xffffffffffffffff
mov qword [rax + 0x10], 0xffffffffffffffff
mov qword [rax + 0x18], 0xffffffffffffffff
mov qword [rax + 0x20], 0xffffffffffffffff
mov qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x30], 0xffffffffffffffff
mov qword [rax + 0x38], 0xffffffffffffffff
mov qword [rax + 0x40], 0xffffffffffffffff
mov qword [rax + 0x48], 0xffffffffffffffff
mov qword [rax + 0x50], 0xffffffffffffffff
mov qword [rax + 0x58], 0xffffffffffffffff
mov qword [rax + 0x60], 0xffffffffffffffff
mov qword [rax + 0x68], 0xffffffffffffffff
lea rax, [rax + 0x78]
sub rcx, 1
jne 0x140006700
mov rcx, qword [rbx + 0x2058]
call fcn.1400199f0
mov rax, qword [rbx + 0x2050]
lea rcx, [0x140050ad8]
lea r9, str.Application
cmp dword [rax + 0x6d0], esi
cmovne r9, rcx
lea rax, str.FHHX8BKL6A8GW____________________V2.10.0.0
mov qword [rsp + 0x20], rax
lea r8, [0x140050af0]
lea rdx, str.DHCP_Server__s_started_as__s___s__r_n
mov rcx, qword [rbx + 0x2058]
call fcn.140019c40
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call fcn.140045990
mov edx, 0x100
lea rcx, [rbp + 0x40]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x14000681e
lea rcx, [rbp + 0x40]
call fcn.140011200
mov r13, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14000683a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.gethostbyname_returns_with_error__d_r_n
jmp 0x14000682b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.gethostname_returns_with_error__d_r_n
mov r8d, eax
mov rcx, qword [rbx + 0x2058]
call fcn.140019c40
lea rdi, [rbx + 0x2004]
mov dword [rsp + 0x28], gethostname
mov qword [rsp + 0x20], rdi
lea r9, [0x1400501f0]
lea r8, str.VENDORCLASS
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019080
cmp byte [rdi], 0
je 0x14000688a
mov r8, rdi
lea rdx, str.Only_performing_auto_configuration_for_clients_with_Vendor_Class:__s_r_n
mov rcx, qword [rbx + 0x2058]
call fcn.140019c40
mov r9d, 0x12c
lea r8, str.MINPACKETLENGTH
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
mov ecx, eax
mov eax, 0x1000
cmp ecx, eax
cmovl eax, ecx
mov dword [rbx + 0x2038], eax
xor r9d, r9d
lea r8, str.EnableDNS
lea rdx, str.DNS_SETTINGS
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
mov edi, eax
mov dword [rsp + 0x3c], eax
xor r9d, r9d
lea r8, str.EnableTFTP
lea rdx, str.TFTP_SETTINGS
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
mov dword [rsp + 0x34], eax
mov r9d, 1
lea r8, str.EnableDHCP
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
mov dword [rsp + 0x38], eax
lea rcx, [rbx + 0x2040]
call fcn.140018470
mov r8d, eax
lea rdx, str.NetworkAdapter_Initialization_returns__d_r_n
mov rcx, qword [rbx + 0x2058]
call fcn.140019c40
mov dword [rbx + 0x2000], esi
mov r12d, esi
lea r15, vtable.CUdpConnection.0
test edi, edi
je 0x140006a33
mov ecx, 0x9b0
call fcn.140021130
mov rdi, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0x9b0
mov rcx, rax
call fcn.140045990
mov rdx, qword [rbx + 0x2058]
mov qword [rdi], r15
lea rcx, [rdi + 0x18]
call fcn.14001b180
nop
lea rcx, [rdi + 0x2a8]
call fcn.14001b180
lea rax, vtable.CPacketBuffer.0
mov qword [rcx], rax
mov qword [rdi + 0x5a8], rdx
mov dword [rdi + 0x5a0], esi
mov dword [rdi + 0x550], 0xffffffff
mov byte [rdi + 0x568], 0
mov dword [rdi + 0x10], 5
xorps xmm0, xmm0
movups xmmword [rdi + 0x580], xmm0
xor r8d, r8d
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call fcn.140004f90
nop
cmp qword [rdi + 0x558], 0xffffffffffffffff
je 0x140006a26
mov qword [rdi + 8], rsi
movsxd rax, dword [rbx + 0x2000]
mov qword [rbx + rax*8], rdi
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov dword [rcx + rbx + 0x200], 0xffffffff
inc dword [rbx + 0x2000]
mov qword [rsp + 0x50], rdi
jmp 0x140006a33
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
cmp dword [r14 + 0x1c], 0
je 0x140006a63
xor r9d, r9d
lea r8, str.ClearClientsOnStartup
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
test eax, eax
je 0x140006a63
mov rcx, rbx
call fcn.14000b770
test r13, r13
je 0x140007707
mov rcx, rsi
mov qword [rsp + 0x48], rcx
mov rax, qword [r13 + 0x18]
mov rdx, qword [rcx + rax]
test rdx, rdx
je 0x1400076f2
movsx r8, word [r13 + 0x12]
lea rcx, [rbp - 0x7c]
call fcn.140045d50
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov eax, dword [rbp - 0x7c]
mov dword [rbp - 0x6c], eax
mov r9d, 0x20
lea r8, [0x14005e860]
lea rdx, [rbp - 0x6c]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov r14, rax
movdqa xmm0, xmmword [0x140054810]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movq qword [rbp + 0x10], xmm0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x60]
mov rdx, rax
mov rcx, rbx
call fcn.14000a310
test eax, eax
je 0x1400076c3
cmp dword [rsp + 0x38], 0
je 0x140006f43
mov r15d, 1
mov dword [rsp + 0x30], esi
mov eax, dword [rbp - 0x60]
test eax, eax
js 0x140006b84
mov r9d, eax
lea r8, str.IPRELAY__d
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp + 0x20]
call fcn.1400110e0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
lea r9, [0x1400501f0]
lea r8, [rbp + 0x20]
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019080
test eax, eax
jle 0x140006b84
mov r15d, 4
lea rcx, [rbp + 0x140]
call fcn.140011110
mov dword [rsp + 0x30], eax
mov ecx, 0x9b0
call fcn.140021130
mov rdi, rax
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0x9b0
mov rcx, rax
call fcn.140045990
mov r9d, 0x43
lea r8, str.PORT_67
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
mov r13d, eax
mov rdx, qword [rbx + 0x2058]
lea rax, vtable.CUdpConnection.0
mov qword [rdi], rax
lea rcx, [rdi + 0x18]
call fcn.14001b180
nop
lea rcx, [rdi + 0x2a8]
call fcn.14001b180
lea rax, vtable.CPacketBuffer.0
mov qword [rcx], rax
mov eax, esi
mov qword [rdi + 0x5a8], rdx
mov dword [rdi + 0x5a0], esi
mov dword [rdi + 0x550], 0xffffffff
test r14, r14
je 0x140006c36
lea rcx, [rdi + 0x568]
mov r8, r14
mov edx, 0x18
call fcn.1400270dc
mov rcx, r14
call fcn.140011110
jmp 0x140006c3c
mov byte [rdi + 0x568], al
mov dword [rdi + 0x10], r15d
xorps xmm0, xmm0
movups xmmword [rdi + 0x580], xmm0
mov r9d, 1
movzx r8d, r13w
mov edx, eax
mov rcx, rdi
call fcn.140004f90
nop
mov rcx, qword [rbx + 0x2058]
mov r9, r14
mov r8d, r12d
cmp qword [rdi + 0x558], 0xffffffffffffffff
je 0x140006f2a
mov r15, qword [rsp + 0x40]
mov qword [rsp + 0x20], r15
lea rdx, str.Adapter__d_with_IP_address__s_found__pAdap0x_08x__r_n
call fcn.140019c40
mov qword [rdi + 8], r15
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x538], eax
movsxd rax, dword [rbx + 0x2000]
mov qword [rbx + rax*8], rdi
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov r13d, dword [rbp - 0x60]
mov dword [rcx + rbx + 0x200], r13d
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x5c]
mov dword [rcx + rbx + 0x204], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x58]
mov dword [rcx + rbx + 0x208], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x54]
mov dword [rcx + rbx + 0x20c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x50]
mov dword [rcx + rbx + 0x210], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x4c]
mov dword [rcx + rbx + 0x214], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x48]
mov dword [rcx + rbx + 0x218], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x44]
mov dword [rcx + rbx + 0x21c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x40]
mov dword [rcx + rbx + 0x220], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x3c]
mov dword [rcx + rbx + 0x224], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x38]
mov dword [rcx + rbx + 0x228], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x34]
mov dword [rcx + rbx + 0x22c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x30]
mov dword [rcx + rbx + 0x230], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x2c]
mov dword [rcx + rbx + 0x234], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x28]
mov dword [rcx + rbx + 0x238], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x24]
mov dword [rcx + rbx + 0x23c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x20]
mov dword [rcx + rbx + 0x240], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x1c]
mov dword [rcx + rbx + 0x244], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x18]
mov dword [rcx + rbx + 0x248], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x14]
mov dword [rcx + rbx + 0x24c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x10]
mov dword [rcx + rbx + 0x250], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0xc]
mov dword [rcx + rbx + 0x254], eax
movsxd rax, dword [rbx + 0x2000]
add rax, 5
imul rax, rax, 0x78
mov ecx, dword [rbp - 8]
mov dword [rax + rbx], ecx
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 4]
mov dword [rcx + rbx + 0x25c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp]
mov dword [rcx + rbx + 0x260], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 4]
mov dword [rcx + rbx + 0x264], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 8]
mov dword [rcx + rbx + 0x268], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 0xc]
mov dword [rcx + rbx + 0x26c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov rax, qword [rbp + 0x10]
mov dword [rcx + rbx + 0x270], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 0x14]
mov dword [rcx + rbx + 0x274], eax
inc dword [rbx + 0x2000]
jmp 0x140006f47
lea rdx, str.___new_CUdpConnection_failed__no_socket__r_n
call fcn.140019c40
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov r13d, dword [rbp - 0x60]
cmp dword [rsp + 0x3c], 0
je 0x1400072e5
mov ecx, 0x9b0
call fcn.140021130
mov rdi, rax
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0x9b0
mov rcx, rax
call fcn.140045990
mov r9d, gethostname
lea r8, str.PORT_53
lea rdx, str.Settings
mov rcx, qword [rbx + 0x2058]
call fcn.140019450
mov r15d, eax
mov rdx, qword [rbx + 0x2058]
lea rax, vtable.CUdpConnection.0
mov qword [rdi], rax
lea rcx, [rdi + 0x18]
call fcn.14001b180
nop
lea rcx, [rdi + 0x2a8]
call fcn.14001b180
lea rax, vtable.CPacketBuffer.0
mov qword [rcx], rax
mov eax, esi
mov qword [rdi + 0x5a8], rdx
mov dword [rdi + 0x5a0], esi
mov dword [rdi + 0x550], 0xffffffff
test r14, r14
je 0x140007004
lea rcx, [rdi + 0x568]
mov r8, r14
mov edx, 0x18
call fcn.1400270dc
mov rcx, r14
call fcn.140011110
jmp 0x14000700a
mov byte [rdi + 0x568], al
mov dword [rdi + 0x10], 2
xorps xmm0, xmm0
movups xmmword [rdi + 0x580], xmm0
xor r9d, r9d
movzx r8d, r15w
mov edx, eax
mov rcx, rdi
call fcn.140004f90
nop
cmp qword [rdi + 0x558], 0xffffffffffffffff
je 0x1400072d8
mov rax, qword [rsp + 0x40]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x548], rax
movsxd rax, dword [rbx + 0x2000]
mov qword [rbx + rax*8], rdi
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov dword [rcx + rbx + 0x200], r13d
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x5c]
mov dword [rcx + rbx + 0x204], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x58]
mov dword [rcx + rbx + 0x208], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x54]
mov dword [rcx + rbx + 0x20c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x50]
mov dword [rcx + rbx + 0x210], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x4c]
mov dword [rcx + rbx + 0x214], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x48]
mov dword [rcx + rbx + 0x218], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x44]
mov dword [rcx + rbx + 0x21c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x40]
mov dword [rcx + rbx + 0x220], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x3c]
mov dword [rcx + rbx + 0x224], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x38]
mov dword [rcx + rbx + 0x228], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x34]
mov dword [rcx + rbx + 0x22c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x30]
mov dword [rcx + rbx + 0x230], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x2c]
mov dword [rcx + rbx + 0x234], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x28]
mov dword [rcx + rbx + 0x238], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x24]
mov dword [rcx + rbx + 0x23c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x20]
mov dword [rcx + rbx + 0x240], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x1c]
mov dword [rcx + rbx + 0x244], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x18]
mov dword [rcx + rbx + 0x248], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x14]
mov dword [rcx + rbx + 0x24c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x10]
mov dword [rcx + rbx + 0x250], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0xc]
mov dword [rcx + rbx + 0x254], eax
movsxd rax, dword [rbx + 0x2000]
add rax, 5
imul rax, rax, 0x78
mov ecx, dword [rbp - 8]
mov dword [rax + rbx], ecx
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 4]
mov dword [rcx + rbx + 0x25c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp]
mov dword [rcx + rbx + 0x260], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 4]
mov dword [rcx + rbx + 0x264], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 8]
mov dword [rcx + rbx + 0x268], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 0xc]
mov dword [rcx + rbx + 0x26c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov rax, qword [rbp + 0x10]
mov dword [rcx + rbx + 0x270], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 0x14]
mov dword [rcx + rbx + 0x274], eax
inc dword [rbx + 0x2000]
jmp 0x1400072e5
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
cmp dword [rsp + 0x34], 0
je 0x1400076dc
mov ecx, 0x9b8
call fcn.140021130
mov rdi, rax
mov qword [rsp + 0x78], rax
xor edx, edx
mov r8d, 0x9b8
mov rcx, rax
call fcn.140045990
mov r13, qword [rbx + 0x2050]
mov r15, qword [rbx + 0x2058]
mov r9d, 0x45
lea r8, str.PORT_69
lea rdx, str.Settings
mov rcx, r15
call fcn.140019450
mov dword [rsp + 0x30], eax
lea rax, vtable.CUdpConnection.0
mov qword [rdi], rax
lea rcx, [rdi + 0x18]
call fcn.14001b180
nop
lea rcx, [rdi + 0x2a8]
call fcn.14001b180
lea rax, vtable.CPacketBuffer.0
mov qword [rcx], rax
mov eax, esi
mov qword [rdi + 0x5a8], r15
mov dword [rdi + 0x5a0], esi
mov dword [rdi + 0x550], 0xffffffff
test r14, r14
je 0x1400073a6
lea rcx, [rdi + 0x568]
mov r8, r14
mov edx, 0x18
call fcn.1400270dc
mov rcx, r14
call fcn.140011110
jmp 0x1400073ac
mov byte [rdi + 0x568], al
mov dword [rdi + 0x10], 3
xorps xmm0, xmm0
movups xmmword [rdi + 0x580], xmm0
xor r9d, r9d
movzx r8d, word [rsp + 0x30]
mov edx, eax
mov rcx, rdi
call fcn.140004f90
nop
lea rax, vtable.CTftpConnection.0
mov qword [rdi], rax
mov qword [rdi + 0x9b0], r13
mov rcx, r15
call fcn.14001d730
nop
cmp qword [rdi + 0x558], 0xffffffffffffffff
je 0x1400076a0
mov rax, qword [rsp + 0x40]
mov qword [rdi + 8], rax
movsxd rax, dword [rbx + 0x2000]
mov qword [rbx + rax*8], rdi
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x60]
mov dword [rcx + rbx + 0x200], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x5c]
mov dword [rcx + rbx + 0x204], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x58]
mov dword [rcx + rbx + 0x208], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x54]
mov dword [rcx + rbx + 0x20c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x50]
mov dword [rcx + rbx + 0x210], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x4c]
mov dword [rcx + rbx + 0x214], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x48]
mov dword [rcx + rbx + 0x218], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x44]
mov dword [rcx + rbx + 0x21c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x40]
mov dword [rcx + rbx + 0x220], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x3c]
mov dword [rcx + rbx + 0x224], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x38]
mov dword [rcx + rbx + 0x228], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x34]
mov dword [rcx + rbx + 0x22c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x30]
mov dword [rcx + rbx + 0x230], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x2c]
mov dword [rcx + rbx + 0x234], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x28]
mov dword [rcx + rbx + 0x238], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x24]
mov dword [rcx + rbx + 0x23c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x20]
mov dword [rcx + rbx + 0x240], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x1c]
mov dword [rcx + rbx + 0x244], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x18]
mov dword [rcx + rbx + 0x248], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x14]
mov dword [rcx + rbx + 0x24c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0x10]
mov dword [rcx + rbx + 0x250], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 0xc]
mov dword [rcx + rbx + 0x254], eax
movsxd rax, dword [rbx + 0x2000]
add rax, 5
imul rax, rax, 0x78
mov ecx, dword [rbp - 8]
mov dword [rax + rbx], ecx
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp - 4]
mov dword [rcx + rbx + 0x25c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp]
mov dword [rcx + rbx + 0x260], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 4]
mov dword [rcx + rbx + 0x264], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 8]
mov dword [rcx + rbx + 0x268], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 0xc]
mov dword [rcx + rbx + 0x26c], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov rax, qword [rbp + 0x10]
mov dword [rcx + rbx + 0x270], eax
movsxd rax, dword [rbx + 0x2000]
imul rcx, rax, 0x78
mov eax, dword [rbp + 0x14]
mov dword [rcx + rbx + 0x274], eax
inc dword [rbx + 0x2000]
inc r12d
mov rcx, qword [rsp + 0x48]
add rcx, 8
mov r13, qword [rsp + 0x58]
jmp 0x140006a6f
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
inc r12d
mov rcx, qword [rsp + 0x48]
add rcx, 8
mov r13, qword [rsp + 0x58]
jmp 0x140006a6f
mov r9, r14
mov r8d, r12d
lea rdx, str.Adapter__d_with_IP_address__s_found_but_not_used_r_n
mov rcx, qword [rbx + 0x2058]
call fcn.140019c40
inc r12d
mov rcx, qword [rsp + 0x48]
add rcx, 8
mov r13, qword [rsp + 0x58]
jmp 0x140006a6f
mov rcx, qword [rax]
test rcx, rcx
je 0x1400076ff
call fcn.1400272e4
mov rcx, r13
call fcn.1400272e4
mov r13d, esi
mov eax, dword [rbx + 0x2000]
test eax, eax
jle 0x1400078c7
mov r15, rbx
nop dword [rax + rax]
mov rdi, qword [r15]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140007821
mov rcx, qword [rcx + 0x18]
call fcn.140011110
mov edx, eax
mov ecx, dword [rdi + 0x564]
mov eax, dword [rdi + 0x538]
test eax, eax
je 0x140007821
cmp dword [rdi + 0x10], 4
jne 0x140007821
cmp qword [rdi + 0x540], 0
jne 0x140007821
and eax, edx
and ecx, edx
cmp ecx, eax
jne 0x140007821
mov rax, qword [r15]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx + 0x18]
call fcn.140011110
mov r12d, eax
mov rax, qword [r15]
mov eax, dword [rax + 0x564]
mov dword [rsp + 0x34], eax
cmp dword [rbx + 0x2000], 0
jle 0x14000781f
mov r14, rbx
cmp r13d, esi
je 0x140007811
mov rdi, qword [r14]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140007811
mov rcx, qword [rcx + 0x18]
call fcn.140011110
mov edx, eax
mov ecx, dword [rdi + 0x564]
mov eax, dword [rdi + 0x538]
test eax, eax
je 0x140007811
cmp dword [rdi + 0x10], 4
jne 0x140007811
and eax, edx
and ecx, edx
cmp ecx, eax
je 0x140007811
mov rdx, qword [r14]
mov r8, qword [r15]
mov ecx, dword [rdx + 0x538]
cmp ecx, dword [r8 + 0x538]
jne 0x140007811
cmp qword [rdx + 0x540], 0
jne 0x140007811
and ecx, r12d
mov eax, dword [rsp + 0x34]
and eax, r12d
cmp eax, ecx
jne 0x140007811
mov qword [rdx + 0x540], r8
inc esi
add r14, 8
cmp esi, dword [rbx + 0x2000]
jl 0x1400077a3
xor esi, esi
inc r13d
add r15, 8
mov eax, dword [rbx + 0x2000]
cmp r13d, eax
jl 0x140007720
test eax, eax
jle 0x1400078c7
mov rdi, rbx
lea r15, [rbx + 0x200]
nop dword [rax]
mov r14, qword [rdi]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400078b5
mov rcx, qword [rcx + 0x18]
call fcn.140011110
mov edx, eax
mov ecx, dword [r14 + 0x564]
mov eax, dword [r14 + 0x538]
test eax, eax
je 0x1400078b5
cmp dword [r14 + 0x10], 4
jne 0x1400078b5
and eax, edx
and ecx, edx
cmp ecx, eax
je 0x1400078b5
mov rax, qword [rdi]
cmp qword [rax + 0x540], 0
jne 0x1400078b5
mov r8d, dword [r15]
lea rdx, str.IPBIND__d_with_no_server_side_relay_agent_configured_r_n
mov rcx, qword [rbx + 0x2058]
call fcn.140019c40
mov rcx, qword [rdi]
mov qword [rcx + 0x540], rcx
inc esi
add r15, 0x78
add rdi, 8
cmp esi, dword [rbx + 0x2000]
jl 0x140007850
mov rax, rbx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140020e70
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret