Function at 0x43aa50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov ebx, 0x16e8
mov r11d, 0x6800
movabs rax, 0x600c007a014014
mov r8d, dword [rcx + 0x3a0]
mov dword [rsp + 0x86], r8d
lea rdi, [rsp + 0x50]
mov r13, rcx
movzx r8d, word [rcx + 0x3a4]
movzx ecx, byte [rcx + 0x3a6]
mov qword [rsp + 0x38], rdi
lea r12, [rsp + 0x58]
mov qword [rsp + 0x8d], rax
mov rax, qword [0x005270d0]
mov word [rsp + 0x99], bx
lea rbx, [rsp + 0x80]
mov word [rbx + 0xa], r8w
mov byte [rbx + 0xc], cl
movsx cx, byte [rdx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x4c]
mov word [rsp + 0x84], r11w
lea r8, [rax + 1]
mov rdx, rax
mov dword [rsp + 0x80], 0x12001268
movzx ecx, cx
mov dword [rsp + 0x95], 0x77002100
call fcn.0040f1c0
movzx eax, byte [rsp + 0x4c]
lea rdx, [rsp + 0x4e]
mov ecx, 0x21
lea r8, [rdx + 1]
lea r12, [rsp + 0x58]
mov byte [rsp + 0x94], al
movzx eax, byte [rsp + 0x4d]
mov byte [rsp + 0x95], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
call fcn.0040f240
movzx eax, byte [rsp + 0x4e]
lea r9, [rbx + 6]
mov edx, 0xffffffff
lea r10, [rbx + 0x18]
mov byte [rsp + 0x96], al
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0x97], al
nop
movzx eax, byte [r9]
mov ecx, 8
xor edx, eax
nop dword [rax + rax]
movzx eax, dx
sar eax, 1
mov r8d, eax
xor r8w, 0xa001
and edx, 1
mov edx, r8d
cmove edx, eax
sub ecx, 1
jne 0x43ab80
add r9, 1
cmp r9, r10
jne 0x43ab70
lea rax, [rsp + 0x50]
mov byte [rsp + 0x98], dl
shr dx, 8
mov r8d, 0x1b
mov byte [rsp + 0x99], dl
lea r12, [rsp + 0x58]
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x38], rax
call qword [0x005270e0]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x70], rdx
mov eax, dword [rdx]
add eax, 1
cmp eax, 1
ja 0x43afce
lea rsi, [rsp + 0x70]
mov rcx, r13
mov rdx, rsi
call fcn.0042c940
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x43af59
cmp eax, 0xffffffff
je 0x43ac23
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x70]
je 0x43af59
mov rax, qword [rsp + 0x50]
lea r12, [rsp + 0x58]
mov r10d, dword [rax + 4]
test r10d, r10d
jle 0x43adf5
mov ebx, 1
mov r14, qword [0x005273a8]
lea r12, [rsp + 0x58]
mov r15, qword [0x00527298]
jmp 0x43ad31
movsxd rcx, dword [rax + 4]
mov r8d, dword [rax + 8]
lea edx, [rcx + 2]
and r8d, 0x7fffffff
cmp edx, r8d
jbe 0x43ac8f
mov r8d, 1
mov rcx, rsi
call qword [0x00527248]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx + 1]
mov dword [rax + 4], edx
add rax, qword [rax + 0x10]
mov edx, 0x20
lea rax, [rax + rcx*2]
xor ecx, ecx
mov word [rax], dx
mov rdx, rsi
mov word [rax + 2], cx
mov rcx, r12
call r15
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x43af30
cmp eax, 0xffffffff
je 0x43acd7
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x70]
je 0x43af30
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x43adb0
cmp eax, 0xffffffff
je 0x43acfa
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x68]
je 0x43adb0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x43add0
cmp eax, 0xffffffff
je 0x43ad1d
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x43add0
mov rax, qword [rsp + 0x50]
mov edx, ebx
add rbx, 1
cmp edx, dword [rax + 4]
jge 0x43adf5
lea rcx, [0x004a0d91]
mov edx, 2
call qword [0x00527278]
lea rdi, [rsp + 0x68]
mov r9d, 0x30
mov qword [rsp + 0x60], rax
movzx r8d, byte [rsp + rbx + 0x7f]
lea rbp, [rsp + 0x60]
mov word [rsp + 0x28], r9w
mov rcx, rdi
mov r9d, 2
mov dword [rsp + 0x20], 0x10
mov rdx, rbp
call r14
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rdx
mov eax, dword [rdx]
add eax, 1
cmp eax, 1
ja 0x43af50
mov rax, qword [rsp + 0x70]
mov edx, dword [rax]
cmp edx, 1
jbe 0x43ac60
mov edx, dword [rax + 4]
add edx, 2
jmp 0x43ac77
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
jne 0x43ad09
mov edx, 2
mov r8d, 8
call qword [0x005270c8]
mov rax, qword [rsp + 0x50]
mov edx, ebx
add rbx, 1
cmp edx, dword [rax + 4]
jl 0x43ad31
mov rax, qword [r13 + 0x40]
mov edx, 7
mov rcx, rsi
mov rbx, qword [rax + 0x108]
call qword [0x00527478]
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [0x00527c08]
call rbx
mov rcx, r13
call fcn.0042cc80
mov rax, qword [r13 + 0x40]
lea rdi, [rsp + 0x68]
mov r8d, 0xd
lea rdx, [0x004a0d94]
mov rcx, rdi
mov rbp, qword [rax + 0x108]
call qword [0x00527268]
mov rdx, r12
mov rcx, rdi
call qword [0x00527298]
lea r8, [0x004a0da2]
mov rdx, rdi
mov rcx, rsi
call fcn.00491630
mov rdx, rsi
mov rcx, rbp
call qword [0x00527c30]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x43af82
cmp eax, 0xffffffff
je 0x43ae98
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x70]
je 0x43af82
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x43afa2
cmp eax, 0xffffffff
je 0x43aebb
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x68]
je 0x43afa2
mov rax, qword [r13 + 0x40]
mov edx, 0x386487
mov rcx, rsi
mov rdi, qword [rax + 0x108]
call qword [0x00527480]
mov rdx, rsi
mov rcx, rdi
call rbx
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x43afb8
cmp eax, 0xffffffff
je 0x43aeff
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x58]
je 0x43afb8
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x43af6f
cmp eax, 0xffffffff
je 0x43af1a
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x50]
je 0x43af6f
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
jmp 0x43acd7
lock add dword [rdx], 1
jmp 0x43ad93
mov r8d, 8
mov edx, 1
call qword [0x005270c8]
jmp 0x43ac23
mov r8d, 8
mov edx, 1
call qword [0x005270c8]
jmp 0x43af1a
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
jne 0x43aea7
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
jmp 0x43aebb
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
jmp 0x43aeff
lock add dword [rdx], 1
jmp 0x43abf0