Function at 0x140010f60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r9
mov r14, r8
mov rsi, rcx
mov rbx, qword [0x1400a9ef0]
test rcx, rcx
je 0x140011296
test rbx, rbx
je 0x140011296
mov edx, 0x13
mov dword [rbp - 0x41], 0x7d0013
mov dword [rbp - 0x3d], 0x770067
mov dword [rbp - 0x39], 0x7f007f
mov dword [rbp - 0x35], 0x77003d
mov dword [rbp - 0x31], 0x7f007f
mov word [rbp - 0x2d], dx
movzx eax, word [0x140094a0c]
xor ax, dx
mov word [rbp - 0x2b], ax
movzx eax, word [0x140094a0e]
xor ax, dx
mov word [rbp - 0x29], ax
movzx eax, word [str.___s]
xor ax, dx
mov word [rbp - 0x27], ax
movzx eax, word [0x140094a12]
xor ax, dx
mov word [rbp - 0x25], ax
movzx eax, word [0x140094a14]
xor ax, dx
mov word [rbp - 0x23], ax
movzx eax, word [0x140094a16]
xor ax, dx
mov word [rbp - 0x21], ax
movzx eax, word [0x140094a18]
xor ax, dx
mov word [rbp - 0x1f], ax
movzx eax, word [0x140094a1a]
xor ax, dx
mov word [rbp - 0x1d], ax
movzx eax, word [0x140094a1c]
xor ax, dx
mov word [rbp - 0x1b], ax
xor eax, eax
mov word [rbp - 0x19], ax
xor r12d, r12d
nop word [rax + rax]
xor word [rbp + rax*2 - 0x3f], dx
inc rax
cmp rax, 0x13
jae 0x140011074
movzx edx, word [rbp - 0x41]
jmp 0x140011060
mov word [rbp - 0x19], r12w
lea rcx, [rbp - 0x3f]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8, rax
test rax, rax
je 0x140011296
movdqa xmm0, xmmword [0x140094f50]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 1], 0x55
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rbp - 0x11]
xor byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 0x10
jb 0x1400110b0
mov byte [rbp], r12b
lea rdx, [rbp - 0x10]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140011296
mov word [rbp + 7], 0xb848
mov word [rbp + 0x11], 0xe0ff
mov qword [rbp + 9], rbx
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400a9f88], ecx
jle 0x1400111eb
lea rcx, [0x1400a9f88]
call fcn.140014cf0
cmp dword [0x1400a9f88], 0xffffffff
jne 0x1400111eb
movdqa xmm0, xmmword [0x140094e60]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x49], 0x3d
mov rcx, r12
nop dword [rax]
movzx eax, byte [rbp - 0x59]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x10
jb 0x140011140
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], 0
lea rax, [rbp - 0x58]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140011174
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x41]
call fcn.14000e710
nop
lea rdx, [rbp - 0x41]
mov rcx, qword [0x1400a9ec0]
call fcn.1400056a0
mov qword [0x1400a9fb8], rax
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400111df
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400111d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400112b6
call fcn.140014b60
nop
lea rcx, [0x1400a9f88]
call fcn.140014c90
mov rcx, qword [0x1400a9fb8]
test rcx, rcx
je 0x140011296
call fcn.140005300
test rax, rax
je 0x140011296
xor r9d, r9d
lea r8d, [r9 + 0xc]
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x140011296
cmp byte [rbp - 0x59], 0x48
jne 0x140011238
cmp byte [rbp - 0x58], 0xb8
jne 0x140011238
cmp byte [rbp - 0x4f], 0xff
jne 0x140011238
cmp byte [rbp - 0x4e], 0xe0
je 0x140011296
mov rcx, qword [0x1400a9fb8]
call fcn.140005300
test rax, rax
je 0x140011296
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp + 7]
mov rcx, rax
call fcn.1400050f0
test al, al
je 0x140011296
mov rdx, r15
mov rcx, r14
call rdi
mov byte [rsi], al
mov rcx, qword [0x1400a9fb8]
call fcn.140005300
test rax, rax
je 0x140011292
mov r9b, 1
mov r8d, 0xc
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.1400050f0
mov al, 1
jmp 0x140011298
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140014b40
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140025408
nop
int3