Function at 0x1400968a0
Capabilities:
Encode data using xor
Enumerate threads
Hash data using fnv
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov r15, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
xor edx, edx
mov dword [rsp + 0x44], edx
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rsi + r8*2], dx
jne 0x140096900
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.1400118b0
nop
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xf0]
call fcn.140065540
cmp dword [rax], 1
setbe dil
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x14009697d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009738d
call fcn.140066cf4
test dil, dil
jne 0x140097393
mov rcx, r14
cmp rbx, 0xffffffffffffffff
jne 0x14009733b
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x40], eax
xor edx, edx
lea ecx, [rbx + 5]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp - 0x80], rax
mov dword [rbp + 0xc0], 0x1c
lea rdx, [rbp + 0xc0]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
mov r13d, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor esi, esi
mov qword [rsp + 0x58], rsi
mov r12, rbx
movups xmmword [rbp + 0x80], xmm0
mov r14d, 5
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 0xf
mov eax, dword [str.usvfs]
mov dword [rbp + 0x80], eax
movzx eax, byte [0x14009f940]
mov byte [rbp + 0x84], al
mov byte [rbp + 0x85], sil
call fcn.140021910
mov r9, rax
movabs r8, 0xcbf29ce484222325
mov edx, esi
movabs rax, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rbp + rdx + 0x80]
xor r8, rcx
imul r8, rax
inc rdx
cmp rdx, 5
jb 0x140096a40
mov rcx, qword [r9 + 0x38]
and rcx, r8
add rcx, rcx
mov rax, qword [r9 + 0x20]
mov r8, qword [rax + rcx*8 + 8]
mov r10, qword [r9 + 0x10]
cmp r8, r10
je 0x140096acd
mov r9, qword [rax + rcx*8]
nop dword [rax + rax]
lea rdx, [r8 + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140096a92
mov rdx, qword [rdx]
cmp rax, 5
jne 0x140096ac2
mov rcx, rsi
lea r11, [rbp + 0x80]
movzx eax, byte [r11 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140096ab9
cmp rcx, r14
jne 0x140096aa2
mov eax, esi
jmp 0x140096abe
sbb eax, eax
or eax, 1
test eax, eax
je 0x140096ad0
cmp r8, r9
je 0x140096acd
mov r8, qword [r8 + 8]
jmp 0x140096a80
mov r8, rsi
test r8, r8
je 0x140096b0b
cmp r8, r10
je 0x140096b0b
mov rax, qword [r8 + 0x38]
test rax, rax
je 0x140096ae7
lock inc dword [rax + 8]
mov rax, qword [r8 + 0x38]
mov rsi, qword [r8 + 0x30]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rax
xor edx, edx
mov qword [rbp + 0xe8], rdx
mov edi, edx
mov r15, rsi
xor esi, esi
jmp 0x140096b21
mov r15, rsi
mov edi, 0x10
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rbp + 0x78], rsi
test dil, 0x10
je 0x140096b67
and edi, 0xffffffef
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140096b67
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140096b67
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140096b67
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
or edi, 8
lea r9, [rsp + 0x40]
lea r8, str.inject_dll_to_process_0
mov edx, 2
mov rcx, r15
call fcn.140015030
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140096bc5
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140096bc5
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140096bc5
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
test r13d, r13d
je 0x140096fce
mov r13, qword [rbp - 0x80]
jmp 0x140096bd6
xor esi, esi
mov eax, dword [rsp + 0x40]
cmp dword [rbp + 0xcc], eax
jne 0x140096ea1
mov r8d, dword [rbp + 0xc8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140096ea1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
jne 0x140096e71
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x100]
lea r8, [rbp + 0x108]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
cmp r12, 0xffffffffffffffff
je 0x140096c61
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x140096e71
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r14
mov qword [rbp], 0xf
mov eax, dword [str.usvfs]
mov dword [rbp - 0x18], eax
movzx eax, byte [0x14009f940]
mov byte [rbp - 0x14], al
mov byte [rbp - 0x13], 0
call fcn.140021910
mov r9, rax
lea rax, [rbp - 0x18]
movabs r8, 0xcbf29ce484222325
mov rdx, rsi
movabs rsi, 0x100000001b3
nop
movzx ecx, byte [rax + rdx]
xor r8, rcx
imul r8, rsi
inc rdx
cmp rdx, r14
jb 0x140096cb0
mov rcx, qword [r9 + 0x38]
and rcx, r8
add rcx, rcx
mov rax, qword [r9 + 0x20]
mov rbx, qword [rax + rcx*8 + 8]
mov r15, qword [r9 + 0x10]
cmp rbx, r15
mov esi, 0
je 0x140096d28
mov rsi, qword [rax + rcx*8]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
lea rcx, [rbp - 0x18]
cmp qword [rdx + 0x18], 0x10
jb 0x140096d06
mov rdx, qword [rdx]
cmp r14, rax
jne 0x140096d17
mov r8, r14
call fcn.140068c80
test eax, eax
je 0x140096d22
cmp rbx, rsi
je 0x140096d26
mov rbx, qword [rbx + 8]
jmp 0x140096cf0
xor esi, esi
jmp 0x140096d2b
xor esi, esi
mov rbx, rsi
test rbx, rbx
je 0x140096d58
cmp rbx, r15
je 0x140096d58
bts edi, 8
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x140096d46
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x78]
mov rsi, qword [rbx + 0x30]
jmp 0x140096d64
bts edi, 7
mov qword [rbp - 0x60], rsi
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x58], rsi
mov rax, qword [rcx + 8]
mov qword [rbp - 0x50], rax
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
bt edi, 8
jae 0x140096dc0
btr edi, 8
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140096dc0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140096dc0
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140096dc0
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test dil, dil
jns 0x140096e06
btr edi, 7
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140096e06
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140096e06
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140096e06
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
or edi, 0x40
lea r9, [rbp + 0xc8]
lea r8, str.candidate_for_oldest_thread:_0
mov edx, 2
mov rcx, rsi
call fcn.140015030
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140096e63
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140096e63
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140096e63
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov r12, qword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x68], rax
mov rcx, qword [rsp + 0x50]
cmp rcx, qword [rsp + 0x58]
je 0x140096e8d
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
add qword [rsp + 0x50], 8
jmp 0x140096ea1
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140096700
lea rdx, [rbp + 0xc0]
mov rcx, r13
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140096bd4
cmp r12, 0xffffffffffffffff
je 0x140096fce
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], 0xf
mov eax, dword [str.usvfs]
mov dword [rbp + 8], eax
movzx eax, byte [0x14009f940]
mov byte [rbp + 0xc], al
mov byte [rbp + 0xd], 0
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x110]
call fcn.14003b620
nop
lea r8, str.going_to_inject_dll
mov edx, 1
mov rcx, qword [rax]
call fcn.140014df0
nop
mov rbx, qword [rbp + 0x118]
test rbx, rbx
je 0x140096f4e
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140096f4e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140096f4e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140096f89
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096f84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009743a
call fcn.140066cf4
movzx eax, byte [rbp + 0x230]
mov byte [rsp + 0x30], al
mov rax, qword [rbp + 0x228]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x218]
mov r8, qword [rbp + 0x210]
mov rdx, r12
mov rcx, qword [rbp + 0x200]
call fcn.140097450
jmp 0x140097093
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], 0xf
mov eax, dword [str.usvfs]
mov dword [rbp + 0x28], eax
movzx eax, byte [0x14009f940]
mov byte [rbp + 0x2c], al
mov byte [rbp + 0x2d], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x120]
call fcn.14003b620
nop
lea r8, str.found_no_thread_to_use_for_injecting
mov edx, r14d
mov rcx, qword [rax]
call fcn.140014df0
nop
mov rbx, qword [rbp + 0x128]
test rbx, rbx
je 0x140097058
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140097058
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140097058
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140097093
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009708e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140097440
call fcn.140066cf4
mov r15, qword [rsp + 0x48]
cmp r15, qword [rsp + 0x50]
je 0x1400972f4
nop dword [rax]
nop word [rax + rax]
mov r13, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], 0xf
mov eax, dword [str.usvfs]
mov dword [rbp + 0x48], eax
movzx eax, byte [0x14009f940]
mov byte [rbp + 0x4c], al
mov byte [rbp + 0x4d], 0
call fcn.140021910
mov r9, rax
lea rax, [rbp + 0x48]
movabs r8, 0xcbf29ce484222325
xor r10d, r10d
mov edx, r10d
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
xor r8, rcx
imul r8, r10
inc rdx
cmp rdx, r14
jb 0x140097110
mov rcx, qword [r9 + 0x38]
and rcx, r8
add rcx, rcx
mov rax, qword [r9 + 0x20]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [r9 + 0x10]
cmp rbx, r12
mov r10d, 0
je 0x14009718a
mov rsi, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
lea rcx, [rbp + 0x48]
cmp qword [rdx + 0x18], 0x10
jb 0x140097166
mov rdx, qword [rdx]
cmp r14, rax
jne 0x140097177
mov r8, r14
call fcn.140068c80
test eax, eax
je 0x140097182
cmp rbx, rsi
je 0x140097187
mov rbx, qword [rbx + 8]
jmp 0x140097150
xor r10d, r10d
jmp 0x14009718d
xor r10d, r10d
mov rbx, r10
test rbx, rbx
je 0x1400971b9
cmp rbx, r12
je 0x1400971b9
or edi, 4
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400971a7
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x48]
mov rsi, qword [rbx + 0x30]
jmp 0x1400971c7
or edi, 2
mov qword [rbp - 0x30], r10
lea rcx, [rbp - 0x38]
mov rsi, r10
mov qword [rbp - 0x28], rsi
mov rax, qword [rcx + 8]
mov qword [rbp - 0x20], rax
mov qword [rcx], r10
mov qword [rcx + 8], r10
test dil, 4
je 0x140097220
and edi, 0xfffffffb
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140097220
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140097220
mov rbx, qword [rbp - 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140097220
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test dil, 2
je 0x140097266
and edi, 0xfffffffd
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140097266
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140097266
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140097266
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
or edi, 1
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x44], eax
lea r9, [rsp + 0x44]
lea r8, str.resuming_thread_0
mov edx, 2
mov rcx, rsi
call fcn.140015030
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400972ce
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400972ce
mov rbx, qword [rbp - 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400972ce
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r15, 8
cmp r15, qword [rsp + 0x50]
jne 0x1400970b0
mov r15, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r15, r15
je 0x14009736c
mov rdx, qword [rsp + 0x58]
sub rdx, r15
and rdx, 0xfffffffffffffff8
mov rax, r15
cmp rdx, 0x1000
jb 0x140097331
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140097387
mov rcx, r15
call fcn.140066cf4
jmp 0x14009736c
movzx eax, byte [rbp + 0x230]
mov byte [rsp + 0x30], al
mov rax, qword [rbp + 0x228]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8, rsi
mov rdx, rbx
call fcn.140097450
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140075c54
int3
call fcn.140075c54
int3
mov dword [rsp + 0x20], 5
lea r9, str.InjectDLL
mov r8d, 0x1bb
lea rdx, str.D:MO2_buildusvfs_src_tinjectlibinjectlib.cpp
lea rcx, [rbp + 0xa0]
call fcn.140038d70
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], rax
lea edx, [rax + 1]
lea rcx, [rbp + 0x130]
call fcn.140038cd0
mov rbx, rax
call fcn.14003cdc0
mov r9, rax
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x178]
call fcn.140036530
nop
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.140038300
nop
mov rdx, rax
mov rcx, rbx
call fcn.140036a70
mov rdx, rdi
mov rcx, rax
call fcn.140037810
nop
call fcn.140075c54
int3
call fcn.140075c54
int3