Function at 0x437900
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov r10d, 0x7448
movabs rax, 0x6776680012001268
mov qword [rsp + 0x70], rax
lea rsi, [rsp + 0x70]
movabs rax, 0x140142024030187
mov qword [rsp + 0x78], rax
lea rdi, [rsp + 0x40]
movabs rax, 0x200000600a007a
mov qword [rsp + 0x80], rax
mov rax, qword [0x005270d0]
lea r8, [rsi + 0x15]
mov qword [rsp + 0xe0], rcx
movsx cx, byte [rdx]
lea r12, [rsp + 0x48]
mov word [rsp + 0x88], r10w
mov byte [rsp + 0x8a], 0x16
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsi + 0x14]
movzx ecx, cx
mov rdx, rax
mov qword [rsp + 0x38], rdi
call fcn.0040f1c0
mov rax, qword [rsp + 0xe0]
lea r9, [rsi + 6]
mov rbx, rsi
lea r10, [rsi + 0x18]
mov edx, dword [rax + 0x3a0]
add rax, 0x3a0
mov dword [rsp + 0x76], edx
movzx edx, word [rax + 4]
movzx eax, byte [rax + 6]
mov word [r9 + 4], dx
mov edx, 0xffffffff
mov byte [r9 + 6], al
nop word [rax + rax]
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 0x4379f0
add r9, 1
cmp r10, r9
jne 0x4379e0
lea rax, [rsp + 0x40]
mov byte [rsp + 0x88], dl
shr dx, 8
mov r8d, 0x1b
mov byte [rsp + 0x89], dl
lea r12, [rsp + 0x48]
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x38], rax
call qword [0x005270e0]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x60], rdx
mov eax, dword [rdx]
add eax, 1
cmp eax, 1
ja 0x437e30
mov rcx, qword [rsp + 0xe0]
lea rdi, [rsp + 0x60]
mov rdx, rdi
call fcn.0042c940
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x437dbb
cmp eax, 0xffffffff
je 0x437a98
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x437dbb
lea rax, [rsi + 0x1b]
mov r14, qword [0x00527278]
mov qword [rsp + 0x30], rax
lea r12, [rsp + 0x48]
mov r15, qword [0x005273a8]
mov r13, qword [0x00527298]
jmp 0x437b8c
movsxd rcx, dword [rax + 4]
mov r8d, dword [rax + 8]
lea edx, [rcx + 2]
and r8d, 0x7fffffff
cmp edx, r8d
jbe 0x437aef
mov r8d, 1
mov rcx, rdi
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, rdi
mov word [rax + 2], cx
mov rcx, r12
call r13
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x437c04
cmp eax, 0xffffffff
je 0x437b37
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x437c04
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x437c24
cmp eax, 0xffffffff
je 0x437b5a
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x58]
je 0x437c24
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x437c44
cmp eax, 0xffffffff
je 0x437b7d
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x50]
je 0x437c44
add rbx, 1
cmp rbx, qword [rsp + 0x30]
je 0x437c64
lea rcx, [0x004a0d91]
mov edx, 2
call r14
mov r9d, 0x30
movzx r8d, byte [rbx]
mov qword [rsp + 0x50], rax
lea rsi, [rsp + 0x58]
mov word [rsp + 0x28], r9w
mov r9d, 2
lea rbp, [rsp + 0x50]
mov dword [rsp + 0x20], 0x10
mov rcx, rsi
mov rdx, rbp
call r15
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x60], rdx
mov eax, dword [rdx]
add eax, 1
cmp eax, 1
ja 0x437db2
mov rax, qword [rsp + 0x60]
mov edx, dword [rax]
cmp edx, 1
jbe 0x437ac0
mov edx, dword [rax + 4]
add edx, 2
jmp 0x437ad7
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
jne 0x437b46
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
jne 0x437b69
mov r8d, 8
mov edx, 2
add rbx, 1
call qword [0x005270c8]
cmp rbx, qword [rsp + 0x30]
jne 0x437b8c
mov rax, qword [rsp + 0xe0]
mov edx, 7
mov rcx, rdi
mov rax, qword [rax + 0x40]
mov rbx, qword [rax + 0x108]
call qword [0x00527478]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [0x00527c08]
call rbx
mov rcx, qword [rsp + 0xe0]
call fcn.0042cc80
lea rdx, [0x004a0d94]
mov rax, qword [rsp + 0xe0]
mov r8d, 0xd
mov rcx, rsi
mov rax, qword [rax + 0x40]
mov rbp, qword [rax + 0x108]
call qword [0x00527268]
mov rdx, r12
mov rcx, rsi
call r13
lea r8, [0x004a0da2]
mov rdx, rsi
mov rcx, rdi
call fcn.00491630
mov rdx, rdi
mov rcx, rbp
call qword [0x00527c30]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x437de4
cmp eax, 0xffffffff
je 0x437d14
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x437de4
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x437e04
cmp eax, 0xffffffff
je 0x437d37
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x58]
je 0x437e04
mov rax, qword [rsp + 0xe0]
mov edx, 0x386487
mov rcx, rdi
mov rax, qword [rax + 0x40]
mov rsi, qword [rax + 0x108]
call qword [0x00527480]
mov rdx, rdi
mov rcx, rsi
call rbx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x437e1a
cmp eax, 0xffffffff
je 0x437d83
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x48]
je 0x437e1a
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x437dd1
cmp eax, 0xffffffff
je 0x437d9e
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x40]
je 0x437dd1
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lock add dword [rdx], 1
jmp 0x437be9
mov r8d, 8
mov edx, 1
call qword [0x005270c8]
jmp 0x437a98
mov r8d, 8
mov edx, 1
call qword [0x005270c8]
jmp 0x437d9e
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
jne 0x437d23
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
jmp 0x437d37
mov r8d, 8
mov edx, 2
call qword [0x005270c8]
jmp 0x437d83
lock add dword [rdx], 1
jmp 0x437a60