Function at 0x14002ba40
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x790
mov rax, qword [0x14012dcd0]
xor rax, rsp
mov qword [rsp + 0x780], rax
mov rax, qword [rdx]
lea r9, [rsp + 0x80]
mov rdi, rdx
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0xe0
xor r8d, r8d
lea rdx, [0x1400e0740]
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, qword [rdi]
lea rdx, str.TargetPort
mov r8d, 0xcbc
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsi + 0x30], eax
lea r9, [rsp + 0x240]
mov rax, qword [rdi]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, str.TargetIP
lea rcx, str.DAEMON_Tools
mov dword [rsp + 0x20], 0xe0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, qword [rdi]
lea rdx, [0x1400e07a8]
or rbx, 0xffffffffffffffff
lea rcx, str.DAEMON_Tools
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsi + 0x3c], eax
lea r9, [rsp + 0x400]
mov rax, qword [rdi]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, str.ChapTargetLogin
lea rcx, str.DAEMON_Tools
mov dword [rsp + 0x20], 0xe0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [rdi]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.ChapTargetPassword
xor r8d, r8d
mov dword [rsp + 0x20], shutdown
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [rdi]
lea r9, [rsp + 0x5c0]
mov qword [rsp + 0x28], rax
lea rdx, str.ChapInitiatorLogin
xor r8d, r8d
mov dword [rsp + 0x20], 0xe0
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [rdi]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.ChapInitiatorPassword
xor r8d, r8d
mov dword [rsp + 0x20], shutdown
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, qword [rdi]
lea r8d, [rbx + 2]
lea rdx, [0x1400e0878]
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsi + 0x34], eax
lea r8d, [rbx + 2]
mov r9, qword [rdi]
lea rdx, [0x1400e0898]
lea rcx, str.DAEMON_Tools
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsi + 0x38], eax
lea rcx, [rsi + 8]
mov rax, rbx
lea rdx, [rsp + 0x80]
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002bc10
mov r8d, eax
lea rdx, [rsp + 0x80]
call fcn.140007830
lea rcx, [rsp + 0x240]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002bc35
mov r8d, eax
lea rdx, [rsp + 0x240]
mov rcx, rsi
call fcn.140007830
lea rcx, [rsi + 0x10]
mov rax, rbx
lea rdx, [rsp + 0x400]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002bc61
mov r8d, eax
lea rdx, [rsp + 0x400]
call fcn.140007830
lea rcx, [rsi + 0x18]
mov rax, rbx
lea rdx, [rsp + 0x30]
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002bc90
mov r8d, eax
lea rdx, [rsp + 0x30]
call fcn.140007830
lea rcx, [rsi + 0x20]
mov rax, rbx
lea rdx, [rsp + 0x5c0]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002bcb6
mov r8d, eax
lea rdx, [rsp + 0x5c0]
call fcn.140007830
lea rcx, [rsi + 0x28]
lea rdx, [rsp + 0x58]
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14002bce0
mov r8d, ebx
lea rdx, [rsp + 0x58]
call fcn.140007830
mov eax, 1
mov rcx, qword [rsp + 0x780]
xor rcx, rsp
call fcn.1400af8c0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret