Function at 0x140035000
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x4f8]
sub rsp, 0x5f0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140105358]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov r8d, 0x12c
lea rdx, [rbp + 0x3b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor esi, esi
mov qword [rbp + 0x398], rsi
mov dword [rbp + 0x390], esi
mov word [rbp - 0x70], si
lea rcx, [rbp + 0x3b0]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140035070
movsxd rcx, eax
test eax, eax
jle 0x140035094
cmp byte [rbp + rcx + 0x3b0], 0x5c
je 0x140035094
dec eax
dec rcx
test rcx, rcx
jg 0x140035080
inc eax
movsxd rcx, eax
cmp rcx, 0x12c
jae 0x140035302
mov byte [rbp + rcx + 0x3b0], 0
lea rcx, [rbp + 0x3b0]
dec rcx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400350c0
mov rax, qword [str.reboot.bat]
mov qword [rcx], rax
movzx eax, word [0x1400d98a0]
mov word [rcx + 8], ax
movzx eax, byte [0x1400d98a2]
mov byte [rcx + 0xa], al
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
mov byte [rbp + 0x3a0], 0
xor eax, eax
mov dword [rbp + 0x3a1], eax
mov byte [rbp + 0x3a5], al
lea rcx, [rbp + 0x3a0]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], al
jne 0x140035113
movzx eax, word [0x1400daa6c]
mov word [rcx], ax
lea rcx, [rbp + 0x3a0]
dec rcx
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140035130
movzx eax, word [0x1400daa74]
mov word [rcx], ax
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x3b0]
call fcn.14008691c
mov qword [rbp + 0x398], rax
test rax, rax
je 0x140035185
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.14008c320
mov dword [rbp + 0x390], 1
jmp 0x1400351db
call fcn.140087430
cmp dword [rax], 0
je 0x1400351db
lea r9, [rbp + 0x3b0]
lea r8, str.File__reboot.bat__not_found:__s_n
mov edx, 3
xor ecx, ecx
call fcn.140015030
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x398]
test rcx, rcx
je 0x140035308
call fcn.140088070
mov rcx, qword [rbp + 0x398]
call fcn.140086bc4
jmp 0x140035308
mov rcx, qword [rbp + 0x398]
test rcx, rcx
je 0x140035203
call fcn.140088070
mov rcx, qword [rbp + 0x398]
call fcn.140086bc4
mov qword [rbp + 0x398], rsi
mov word [rbp - 0x70], si
mov qword [rsp + 0x68], setsockopt
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], 0
cmp byte [rbp + 0x3b0], 0
jne 0x140035224
mov rbx, rsi
jmp 0x140035239
lea rax, [rbp + 0x3b0]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140035230
mov r8, rbx
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x50]
call fcn.140002630
nop
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140046bc0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140046c70
nop
cmp qword [rsp + 0x48], 0x10
jb 0x14003527e
mov rcx, qword [rsp + 0x30]
call fcn.1400855f8
mov qword [rsp + 0x48], setsockopt
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
call fcn.1400893e8
mov dword [0x14012f8f4], 1
mov rdi, qword [0x140133a38]
mov dword [rdi + 0x78], esi
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000f150
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call fcn.140088d28
nop
call fcn.1400861e0
nop
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140084a30
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret