Function at 0x140008430
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400a5768]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov r12d, 0x80070057
test rcx, rcx
je 0x14000863f
cmp word [rcx], 0x5c
jne 0x14000863f
cmp word [rcx + 2], 0x5c
jne 0x14000863f
mov r8d, 9
lea rdx, str.http:__
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000863f
mov r8d, 0xa
lea rdx, str.https:__
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000863f
cmp word [rbx], 0
je 0x1400084e0
mov r8d, 6
lea rdx, str.CSR
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x14000863f
lea rdi, [rbx + 4]
xor r13d, r13d
mov ebx, r13d
test rdi, rdi
je 0x140008577
mov ecx, 0x40e
call fcn.14001035c
test rax, rax
cmovne rbx, rax
mov qword [rbp - 0x51], rbx
test rbx, rbx
je 0x140013063
mov r8, rdi
mov edx, 0x207
sub r8, rbx
mov rax, rbx
mov r9d, r13d
lea rcx, [rdx + 0x7ffffdf7]
test rcx, rcx
je 0x14000854a
movzx ecx, word [r8 + rax]
test cx, cx
je 0x14000854a
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x140008522
jmp 0x14001300c
test rdx, rdx
je 0x14001300c
mov word [rax], r13w
test r9d, r9d
js 0x14001301b
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
je 0x140008577
mov word [rax], r13w
test rbx, rbx
je 0x140013063
test byte [0x1400a6ec0], 2
mov qword [rsp + 0xf8], r15
jne 0x140013074
mov rdi, qword [0x1400a6ed8]
mov qword [rbp - 0x59], r13
lea rcx, [rdi + 0x40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
inc dword [rdi + 0x6c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
lea r14, [rdi + 0x80]
mov dword [rdi + 0x68], eax
mov rsi, r13
mov r12d, 1
test r14, r14
je 0x1400085f4
mov rsi, qword [rdi + 0x90]
test r14, r14
je 0x1400085f4
cmp rsi, r14
je 0x1400085f4
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140013089
mov r12d, r13d
add dword [rdi + 0x6c], 0xffffffff
mov eax, dword [rdi + 0x6c]
jne 0x140008601
mov dword [rdi + 0x68], r13d
lea rcx, [rdi + 0x40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp - 0x59]
mov r15, qword [rsp + 0xf8]
test rcx, rcx
jne 0x1400130ee
cmp r12d, 1
je 0x140013105
test byte [0x1400a6ec0], 2
jne 0x14001329c
mov rcx, rbx
call fcn.14001039c
mov eax, r12d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400106e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
sub rax, 2
mov r9d, 0x8007007a
jmp 0x140008553
mov rcx, qword [0x1400a52b8]
lea rax, [0x1400a52b8]
cmp rcx, rax
je 0x140013051
test byte [rcx + 0x1c], 0x20
je 0x140013051
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008bd60]
mov dword [rsp + 0x20], r9d
mov edx, 0xb
mov r9, rdi
call fcn.14003f0e8
lea rcx, [rbp - 0x51]
call fcn.14000f354
mov rbx, qword [rbp - 0x51]
jmp 0x140008577
mov rbx, r13
test rbx, rbx
je 0x14000863f
jmp 0x140008580
mov r8, rbx
lea rdx, [0x140095ab8]
call fcn.14005bcc0
nop
jmp 0x140008595
lea r8, [rbp - 0x59]
mov rdx, rbx
mov rcx, rsi
call fcn.1400613e0
mov r12d, eax
test eax, eax
je 0x1400130a8
mov rsi, qword [rsi + 0x10]
jmp 0x1400085d2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov rdx, qword [rbp - 0x59]
sub eax, dword [rdx + 0x38]
cmp eax, dword [rdi + 4]
jbe 0x1400130e5
mov rcx, qword [rdx + 0x10]
mov r12d, 1
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
mov qword [rdx + 0x10], rdx
mov qword [rdx + 0x18], rdx
jmp 0x1400085f4
mov qword [rbp - 0x59], r13
jmp 0x1400085f4
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x140088740]
nop
jmp 0x140008620
call sym.spoolsv.exe_PrvRevertToPrinterSelf
lea rdx, [rbp - 0x49]
mov qword [rbp - 0x49], r13
mov rcx, rbx
mov r14, rax
call fcn.1400624a4
test eax, eax
jne 0x1400131a5
mov rsi, qword [rbp - 0x49]
test rsi, rsi
je 0x14001319a
lea r8, [rbp - 0x41]
mov qword [rbp - 0x41], r13
mov rdx, rsi
call fcn.140061b80
mov rcx, rsi
mov edi, eax
call fcn.14001039c
test edi, edi
jne 0x14001319a
lea ecx, [rdi + 0x40]
call fcn.14001035c
test rax, rax
je 0x14001319a
mov rdx, rbx
mov rcx, rax
call fcn.14005fde8
mov r9, rax
test rax, rax
je 0x14001319a
cmp dword [rax + 0x3c], r13d
jl 0x140013186
mov rcx, qword [rbp - 0x41]
mov rdx, rax
mov rcx, qword [rcx + 0x48]
call fcn.1400536a4
test eax, eax
jns 0x14001319a
mov rax, qword [r9]
mov edx, 1
mov rcx, r9
mov rax, qword [rax]
call qword [0x140088740]
mov r12d, 0x80004005
jmp 0x14001327d
lea rcx, [0x14006e1a8]
mov dword [rbp - 0x29], 0x74736c74
lea rax, [rbp - 0x21]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x11], rax
lea r9, [rbp - 1]
lea rax, [rbp - 0x21]
mov qword [rbp + 7], rcx
mov qword [rbp - 9], rax
lea r8, [rbp - 0x29]
lea rax, [rbp + 7]
mov dword [rbp - 0x19], 0x6b6e6c74
mov qword [rbp + 0x17], rax
mov rdx, rbx
lea rax, [rbp + 7]
mov dword [rbp - 1], 0x74736c74
mov rcx, rdi
mov qword [rbp + 0x1f], rax
mov dword [rbp + 0xf], 0x6b6e6c74
mov byte [rsp + 0x20], r13b
call fcn.14006224c
mov r12d, eax
test eax, eax
jne 0x140013223
lea r8, [rbp - 0x29]
mov rdx, rbx
mov rcx, rdi
call fcn.1400600d0
mov r12d, eax
jmp 0x14001326b
cmp ax, 0x2af9
jne 0x14001326b
lea rax, [0x1400a6be8]
mov dword [rbp - 0x39], 0x67727473
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x31], rax
mov rcx, rbx
call fcn.140061270
mov rsi, qword [rbp - 0x31]
mov r12d, eax
test eax, eax
jne 0x140013263
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140060254
mov r12d, eax
mov rdx, rsi
call fcn.14000d544
lea rcx, [rbp - 1]
call fcn.14003f29c
lea rcx, [rbp - 0x29]
call fcn.14003f29c
mov rcx, r14
call sym.spoolsv.exe_PrvImpersonatePrinterClient
test eax, eax
jne 0x14000862a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov r8, rbx
lea rdx, [0x140095a28]
call fcn.14005bcc0
nop
jmp 0x140008637