Function at 0x1403c8340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov rdi, qword [0x1405ea6a8]
mov ecx, 0xab4
mov edx, 0xab8
mov rbx, qword [rax]
mov eax, dword [rcx + rbx]
test al, 1
jne 0x1403c8410
or eax, 1
mov byte [rbx + rdx], 0
mov dword [rcx + rbx], eax
mov rcx, qword [0x1405ae138]
mov rax, rcx
shr rax, 8
mov byte [rbx + rdx + 1], al
mov rax, rcx
shr rax, 0x10
mov byte [rbx + rdx + 2], al
mov rax, rcx
shr rax, 0x18
mov byte [rbx + rdx + 3], al
mov rax, rcx
shr rax, 0x20
mov byte [rbx + rdx + 4], al
movzx eax, word [0x1405ae13e]
shr rcx, 0x28
mov byte [rbx + rdx + 5], cl
mov byte [rbx + rdx + 6], al
movzx eax, byte [0x1405ae13f]
mov byte [rbx + rdx + 7], al
mov eax, dword [0x1405ae140]
mov byte [rbx + rdx + 8], 0xc0
shr eax, 8
mov byte [rbx + rdx + 9], al
movzx eax, word [0x1405ae142]
mov byte [rbx + rdx + 0xa], al
movzx eax, byte [0x1405ae143]
mov byte [rbx + rdx + 0xb], al
movzx eax, byte [0x1405ae145]
mov byte [rbx + rdx + 0xc], 0xe6
mov byte [rbx + rdx + 0xd], al
mov eax, dword [rdx + rbx + 8]
xor r14d, r14d
movsd xmm0, qword [rdx + rbx]
mov dword [rbp - 0x1d], eax
movzx eax, word [rdx + rbx + 0xc]
movsd qword [rbp - 0x25], xmm0
mov word [rbp - 0x19], ax
cmp byte [rbp - 0x25], r14b
jne 0x1403c8466
mov dword [rbp + 0x20], r14d
mov eax, dword [rbp + 0x20]
nop word [rax + rax]
movsxd rax, dword [rbp + 0x20]
mov edx, dword [rbp + 0x20]
add dl, 0x7a
xor dl, byte [rbp + rax - 0x24]
movsxd rax, dword [rbp + 0x20]
mov byte [rbp + rax - 0x24], dl
mov eax, dword [rbp + 0x20]
inc eax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
cmp eax, 0xd
jb 0x1403c8440
mov r8, qword [0x1405ea6b0]
mov ecx, 0xa68
mov byte [rbp - 0x25], 1
mov edx, 0xa28
mov eax, dword [rcx + rbx]
test al, 1
jne 0x1403c8519
or eax, 1
mov byte [rbx + rdx], r14b
mov dword [rcx + rbx], eax
mov rcx, qword [0x1405ae128]
mov rax, rcx
shr rax, 8
mov byte [rbx + rdx + 1], al
mov rax, rcx
shr rax, 0x10
mov byte [rbx + rdx + 2], al
mov rax, rcx
shr rax, 0x18
mov byte [rbx + rdx + 3], al
mov rax, rcx
shr rax, 0x20
mov byte [rbx + rdx + 4], al
movzx eax, word [0x1405ae12e]
shr rcx, 0x28
mov byte [rbx + rdx + 5], cl
mov byte [rbx + rdx + 6], al
movzx eax, byte [0x1405ae12f]
mov byte [rbx + rdx + 7], al
mov eax, dword [0x1405ae130]
mov byte [rbx + rdx + 8], 0xb2
shr eax, 8
mov byte [rbx + rdx + 9], al
movzx eax, word [0x1405ae132]
mov byte [rbx + rdx + 0xa], al
movzx eax, byte [0x1405ae133]
mov byte [rbx + rdx + 0xb], al
movzx eax, byte [0x1405ae135]
mov byte [rbx + rdx + 0xc], 0xe8
mov byte [rbx + rdx + 0xd], al
mov eax, dword [rdx + rbx + 8]
movsd xmm0, qword [rdx + rbx]
mov dword [rbp - 0x2b], eax
movzx eax, word [rdx + rbx + 0xc]
movsd qword [rbp - 0x33], xmm0
mov word [rbp - 0x27], ax
cmp byte [rbp - 0x33], r14b
jne 0x1403c8566
mov dword [rbp + 0x20], r14d
mov eax, dword [rbp + 0x20]
movsxd rax, dword [rbp + 0x20]
mov edx, dword [rbp + 0x20]
add dl, 0x79
xor dl, byte [rbp + rax - 0x32]
movsxd rax, dword [rbp + 0x20]
mov byte [rbp + rax - 0x32], dl
mov eax, dword [rbp + 0x20]
inc eax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
cmp eax, 0xd
jb 0x1403c8540
lea rcx, [rbp - 0x32]
mov byte [rbp - 0x33], 1
call r8
lea rdx, [rbp - 0x24]
mov rcx, rax
call rdi
mov rsi, qword [0x1405ea6a8]
mov rdi, rax
mov eax, 0xa24
mov edx, 0xa70
mov ecx, dword [rax + rbx]
test cl, 1
jne 0x1403c8622
mov byte [rbx + rdx], r14b
or ecx, 1
mov dword [rax + rbx], ecx
mov rcx, qword [0x1405ae118]
mov rax, rcx
shr rax, 8
mov byte [rbx + rdx + 1], al
mov rax, rcx
shr rax, 0x10
mov byte [rbx + rdx + 2], al
mov rax, rcx
shr rax, 0x18
mov byte [rbx + rdx + 3], al
mov rax, rcx
shr rax, 0x20
mov byte [rbx + rdx + 4], al
movzx eax, word [0x1405ae11e]
shr rcx, 0x28
mov byte [rbx + rdx + 5], cl
mov byte [rbx + rdx + 6], al
movzx eax, byte [0x1405ae11f]
mov byte [rbx + rdx + 7], al
mov eax, dword [0x1405ae120]
mov byte [rbx + rdx + 8], 0xc4
shr eax, 8
mov byte [rbx + rdx + 9], al
movzx eax, word [0x1405ae122]
mov byte [rbx + rdx + 0xa], al
movzx eax, byte [0x1405ae123]
mov byte [rbx + rdx + 0xb], al
mov byte [rbx + rdx + 0xc], 0x86
mov eax, dword [rbx + rdx + 8]
movsd xmm0, qword [rbx + rdx]
mov dword [rbp - 0x38], eax
movzx eax, byte [rbx + rdx + 0xc]
movsd qword [rbp - 0x40], xmm0
mov byte [rbp - 0x34], al
cmp byte [rbp - 0x40], r14b
jne 0x1403c8676
mov dword [rbp + 0x20], r14d
mov eax, dword [rbp + 0x20]
nop dword [rax + rax]
movsxd rax, dword [rbp + 0x20]
mov edx, dword [rbp + 0x20]
add dl, 0x7b
xor dl, byte [rbp + rax - 0x3f]
movsxd rax, dword [rbp + 0x20]
mov byte [rbp + rax - 0x3f], dl
mov eax, dword [rbp + 0x20]
inc eax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
cmp eax, 0xc
jb 0x1403c8650
mov r8, qword [0x1405ea6b0]
mov ecx, 0xa20
mov byte [rbp - 0x40], 1
mov edx, 0xaa0
mov eax, dword [rcx + rbx]
test al, 1
jne 0x1403c8729
or eax, 1
mov byte [rbx + rdx], r14b
mov dword [rcx + rbx], eax
mov rcx, qword [0x1405ae148]
mov rax, rcx
shr rax, 8
mov byte [rbx + rdx + 1], al
mov rax, rcx
shr rax, 0x10
mov byte [rbx + rdx + 2], al
mov rax, rcx
shr rax, 0x18
mov byte [rbx + rdx + 3], al
mov rax, rcx
shr rax, 0x20
mov byte [rbx + rdx + 4], al
movzx eax, word [0x1405ae14e]
shr rcx, 0x28
mov byte [rbx + rdx + 5], cl
mov byte [rbx + rdx + 6], al
movzx eax, byte [0x1405ae14f]
mov byte [rbx + rdx + 7], al
mov eax, dword [0x1405ae150]
mov byte [rbx + rdx + 8], 0xb3
shr eax, 8
mov byte [rbx + rdx + 9], al
movzx eax, word [0x1405ae152]
mov byte [rbx + rdx + 0xa], al
movzx eax, byte [0x1405ae153]
mov byte [rbx + rdx + 0xb], al
movzx eax, byte [0x1405ae155]
mov byte [rbx + rdx + 0xc], 0xe9
mov byte [rbx + rdx + 0xd], al
mov eax, dword [rbx + rdx + 8]
movsd xmm0, qword [rbx + rdx]
mov dword [rbp - 0xf], eax
movzx eax, word [rbx + rdx + 0xc]
movsd qword [rbp - 0x17], xmm0
mov word [rbp - 0xb], ax
cmp byte [rbp - 0x17], r14b
jne 0x1403c8776
mov dword [rbp + 0x20], r14d
mov eax, dword [rbp + 0x20]
movsxd rax, dword [rbp + 0x20]
mov edx, dword [rbp + 0x20]
add dl, 0x7a
xor dl, byte [rbp + rax - 0x16]
movsxd rax, dword [rbp + 0x20]
mov byte [rbp + rax - 0x16], dl
mov eax, dword [rbp + 0x20]
inc eax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
cmp eax, 0xd
jb 0x1403c8750
lea rcx, [rbp - 0x16]
mov byte [rbp - 0x17], 1
call r8
lea rdx, [rbp - 0x3f]
mov rcx, rax
call rsi
mov edx, 0x38
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call rdi
mov rbx, rax
test rax, rax
je 0x1403c87bb
lea rcx, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret