Function at 0x430a50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rax, qword [0x005270d0]
mov r11d, 0x6800
mov ebx, 0x5a86
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
mov r15, rcx
mov ecx, dword [rcx + 0x3a0]
mov qword [rsp + 0x48], rax
lea r10, [rdx + 6]
movabs rax, 0x7004003d014014
mov qword [rsp + 0x7d], rax
movabs rax, 0x1003000000081200
mov qword [rsp + 0x95], rax
movzx eax, byte [r15 + 0x3a6]
mov dword [rsp + 0x76], ecx
movzx ecx, word [r15 + 0x3a4]
mov word [rsp + 0x74], r11w
lea r11, [rdx + 0x41]
mov dword [rsp + 0x70], 0x3b003b68
mov qword [rsp + 0x85], 0x800
mov word [r10 + 4], cx
mov ecx, 0xffffffff
mov qword [rsp + 0x8d], 0
mov qword [rsp + 0x9d], 0x607840
mov qword [rsp + 0xa5], 0
mov dword [rsp + 0xad], 0
mov word [rsp + 0xb1], bx
mov byte [rsp + 0xb3], 0x16
mov byte [r10 + 6], al
movzx eax, byte [r10]
mov r8d, 8
xor ecx, eax
nop dword [rax]
movzx eax, cx
sar eax, 1
mov r9d, eax
xor r9w, 0xa001
and ecx, 1
mov ecx, r9d
cmove ecx, eax
sub r8d, 1
jne 0x430b40
add r10, 1
cmp r11, r10
jne 0x430b31
lea rax, [rsp + 0x40]
mov byte [rsp + 0xb1], cl
shr cx, 8
mov r8d, 0x44
mov byte [rsp + 0xb2], cl
lea r12, [rsp + 0x48]
mov rcx, rax
mov qword [rsp + 0x38], rax
call qword [0x005270e0]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov edx, dword [rax]
add edx, 1
cmp edx, 1
ja 0x430ed8
lea rsi, [rsp + 0x60]
mov rcx, r15
mov rdx, rsi
call fcn.0042c940
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x430eaf
cmp eax, 0xffffffff
je 0x430be1
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x430eaf
mov rax, qword [rsp + 0x40]
lea r12, [rsp + 0x48]
mov r10d, dword [rax + 4]
test r10d, r10d
jle 0x430da8
mov ebx, 1
mov r13, qword [0x005273a8]
lea r12, [rsp + 0x48]
mov r14, qword [0x00527298]
jmp 0x430ce6
movsxd rcx, dword [rax + 4]
mov r8d, dword [rax + 8]
lea edx, [rcx + 2]
and r8d, 0x7fffffff
cmp edx, r8d
jbe 0x430c44
mov r8d, 1
mov rcx, rsi
call qword [0x00527248]
mov rax, qword [rsp + 0x60]
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 r14
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x430e90
cmp eax, 0xffffffff
je 0x430c8c
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x430e90
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x430d63
cmp eax, 0xffffffff
je 0x430caf
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x58]
je 0x430d63
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x430d83
cmp eax, 0xffffffff
je 0x430cd2
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x50]
je 0x430d83
mov rax, qword [rsp + 0x40]
mov edx, ebx
add rbx, 1
cmp edx, dword [rax + 4]
jge 0x430da8
lea rcx, [0x004a0d91]
mov edx, 2
call qword [0x00527278]
lea rdi, [rsp + 0x58]
mov r9d, 0x30
mov qword [rsp + 0x50], rax
movzx r8d, byte [rsp + rbx + 0x6f]
lea rbp, [rsp + 0x50]
mov word [rsp + 0x28], r9w
mov rcx, rdi
mov r9d, 2
mov dword [rsp + 0x20], 0x10
mov rdx, rbp
call r13
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x60], rdx
mov eax, dword [rdx]
add eax, 1
cmp eax, 1
ja 0x430ea6
mov rax, qword [rsp + 0x60]
mov edx, dword [rax]
cmp edx, 1
jbe 0x430c15
mov edx, dword [rax + 4]
add edx, 2
jmp 0x430c2c
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
jne 0x430cbe
mov edx, 2
mov r8d, 8
call qword [0x005270c8]
mov rax, qword [rsp + 0x40]
mov edx, ebx
add rbx, 1
cmp edx, dword [rax + 4]
jl 0x430ce6
mov rax, qword [r15 + 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, r15
call fcn.0042cc80
mov rax, qword [r15 + 0x40]
lea rdi, [rsp + 0x58]
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, rsi
call fcn.00491270
mov rcx, rdi
call fcn.00491270
mov rax, qword [r15 + 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, r12
call fcn.00491270
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x430ec5
cmp eax, 0xffffffff
je 0x430e7c
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x40]
je 0x430ec5
add rsp, 0xc8
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 0x430c8c
lock add dword [rdx], 1
jmp 0x430d48
mov r8d, 8
mov edx, 1
call qword [0x005270c8]
jmp 0x430be1
mov r8d, 8
mov edx, 1
call qword [0x005270c8]
jmp 0x430e7c
lock add dword [rax], 1
jmp 0x430bae