Function at 0x140034b60
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 0x140034bd0
movsxd rcx, eax
test eax, eax
jle 0x140034bf4
cmp byte [rbp + rcx + 0x3b0], 0x5c
je 0x140034bf4
dec eax
dec rcx
test rcx, rcx
jg 0x140034be0
inc eax
movsxd rcx, eax
cmp rcx, 0x12c
jae 0x140034e62
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 0x140034c20
mov rax, qword [str.reboot.bat]
mov qword [rcx], rax
movzx eax, word [0x1400d97c0]
mov word [rcx + 8], ax
movzx eax, byte [0x1400d97c2]
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 0x140034c73
movzx eax, word [0x1400da98c]
mov word [rcx], ax
lea rcx, [rbp + 0x3a0]
dec rcx
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140034c90
movzx eax, word [0x1400da994]
mov word [rcx], ax
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x3b0]
call fcn.14008653c
mov qword [rbp + 0x398], rax
test rax, rax
je 0x140034ce5
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.14008bf40
mov dword [rbp + 0x390], 1
jmp 0x140034d3b
call fcn.140087050
cmp dword [rax], 0
je 0x140034d3b
lea r9, [rbp + 0x3b0]
lea r8, str.File__reboot.bat__not_found:__s_n
mov edx, 3
xor ecx, ecx
call fcn.140015020
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x398]
test rcx, rcx
je 0x140034e68
call fcn.140087c90
mov rcx, qword [rbp + 0x398]
call fcn.1400867e4
jmp 0x140034e68
mov rcx, qword [rbp + 0x398]
test rcx, rcx
je 0x140034d63
call fcn.140087c90
mov rcx, qword [rbp + 0x398]
call fcn.1400867e4
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 0x140034d84
mov rbx, rsi
jmp 0x140034d99
lea rax, [rbp + 0x3b0]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140034d90
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.140046720
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400467d0
nop
cmp qword [rsp + 0x48], 0x10
jb 0x140034dde
mov rcx, qword [rsp + 0x30]
call fcn.140085158
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.140089008
mov dword [0x14012f8ec], 1
mov rdi, qword [0x1401339a8]
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.140088948
nop
call fcn.140085d40
nop
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140084590
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