Function at 0x140049198
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x3a110f35
add rsp, 0x3a110e45
mov rax, qword gs:[0x30]
mov edi, r9d
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov rsi, qword [rax + 0x48]
lock inc dword [rcx + 0x6b0]
je 0x140049206
cmp rsi, qword [rcx + 0x6a0]
je 0x14004937e
mov rcx, qword [rcx + 0x6a8]
xor r8d, r8d
xor edx, edx
call fcn.1400a1c40
mov qword [rbx + 0x6a0], rsi
mov dword [rbx + 0x6b4], 0x239f7e5c
xor dword [rbx + 0x6b4], 0x3fb077
sub dword [rbx + 0x6b4], 0x23a0ce2a
mov rcx, qword [rbx + 0x510]
mov rax, qword [rcx]
call qword [rax + 8]
lea r12, [rbx + 0x598]
mov qword [rbp - 0x39], rax
mov rcx, r12
lea rdx, [rbp - 0x39]
mov rsi, rax
call fcn.14003b7bc
mov edx, dword [rbp + 0x6f]
mov rcx, rsi
call fcn.140047f60
mov rdx, r14
mov rcx, rsi
call fcn.140047d10
mov eax, dword [rbx + 0x518]
xor r13d, r13d
mov qword [rbp - 0x71], r13
mov r14d, r13d
movabs rdx, 0x7839482a3e67af25
add rdx, 0x1ac5320b
sub rdx, 0x3d2e8553
cmp eax, 1
jne 0x1400495a7
cmp edi, eax
jne 0x140049389
mov rax, qword [0x14012f018]
movabs r13, 0x3d3f32360f185985
add r13, 0x19bf1692
add r13, 0x7fffffff
xor r13, 0x44c44b4
add rax, r13
movabs r12, 0xd92817d574139231
sub r12, 0x147211c9
add r12, 0xe7193ca
sub r12, 0x456ef505
rol rax, 0x17
movabs rdi, 0x6c4b79111d70f97f
sub rdi, 0x13413de3
add rdi, 0x64297826
add rdi, 0x7fffffff
add rdi, 0x118a9c6a
add rax, r12
movabs r14, 0x124635ff0dec48d1
xor r14, 0x6778e604
sub r14, 0x6a42c9d1
xor rax, rdi
xor ecx, ecx
add rax, r14
call rax
sub eax, dword [r15]
mov ecx, 0x505aab5c
xor ecx, 0x4aac8d41
sub ecx, 0x1af6261c
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x71], eax
mov rax, qword [0x14012f018]
add rax, r13
rol rax, 0x17
add rax, r12
xor rax, rdi
add rax, r14
call rax
sub eax, dword [r15 + 4]
cdq
sub eax, edx
sar eax, 1
xor r13d, r13d
jmp 0x1400493a3
inc dword [rcx + 0x6b4]
jmp 0x14004922b
test edi, edi
jne 0x1400493a6
mov eax, 0x727d46d0
sub eax, 0x30e7aa70
add eax, 0x3e6a63a0
mov dword [rbp - 0x71], eax
mov dword [rbp - 0x6d], eax
mov al, byte [rbp + 0x77]
mov rcx, qword [rbp + 0x7f]
neg al
mov qword [rbp - 0x61], r13
sbb r14d, r14d
and r14d, 0x3ff80
test rcx, rcx
je 0x1400493e4
call fcn.140043140
mov rcx, rax
test rax, rax
je 0x1400493e4
mov rax, qword [rax]
call qword [rax + 0xb8]
mov qword [rbp - 0x61], rax
mov rax, qword [rbx + 0x538]
xorps xmm0, xmm0
mov r13, qword [rbx + 0x578]
movabs rcx, 0x7839482a19f40c46
add rcx, 0x104dcbe
sub rcx, 0x1a6be3d7
add rcx, 0x1b7156b0
mov r12, qword [rbx + 0x540]
xor rax, rcx
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x29]
mov eax, dword [r15 + 4]
mov dword [rbp + 0x4f], eax
lea rdx, [r13 + 1]
mov eax, dword [r15]
mov dword [rbp - 0x69], eax
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
call fcn.14001739c
xor r9d, r9d
mov edx, 0x6c0ec54c
xor edx, 0x2ceba3b
sub edx, 0x546c01bf
xor edx, 0x2b677b8a
test r13, r13
je 0x1400494b7
mov rdi, rax
sub r12, rax
mov r8, r13
mov r10d, 0x5452b98c
sub r10d, 0x4df7e919
xor r10d, 0x792ebf34
xor r10d, 0x7f746fb8
movzx ecx, dx
ror edx, 8
and cx, r10w
xor cx, word [r12 + rdi]
mov word [rdi], cx
lea rdi, [rdi + 2]
sub r8, 1
jne 0x140049497
mov word [rax + r13*2], r9w
lea ecx, [r14 + 0x80080]
mov rdi, qword [0x14012f008]
movabs rax, 0x4d08b042123f31c3
sub rax, 0xbd79be1
add rax, 0x7fffffff
xor rax, 0x3a680f83
mov rdx, qword [rbp - 0x29]
xor rdi, rax
rol rdi, 2
movabs rax, 0x25b6e27c768e27bb
xor rax, 0x72c12612
xor rax, 0x5edc29b9
not rdi
xor r13d, r13d
add rdi, rax
mov qword [rsp + 0x58], r13
mov rax, qword [rbp - 0x31]
mov r9d, 0x381fa829
add r9d, 0x3e596ff3
add r9d, 0x988e7e4
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov rax, qword [rbp - 0x61]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x4f]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x69]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x6d]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x71]
rol rdi, 0x31
mov dword [rsp + 0x20], eax
call rdi
mov rcx, qword [rbp - 0x29]
mov r14, rax
lea rax, [rbp - 0x21]
cmp rcx, rax
jne 0x140049589
xor eax, eax
lea rdi, [rbp - 0x21]
lea ecx, [rax + 0x30]
rep stosb byte [rdi], al
jmp 0x14004958e
call fcn.1400b9840
test r14, r14
je 0x1400497be
mov rdx, rsi
mov rcx, rbx
call fcn.140048cfc
jmp 0x140049714
cmp eax, 2
jne 0x140049714
mov rcx, qword [rbx + 0x530]
mov rax, qword [0x14012f080]
xor rcx, rdx
ror rax, 0x1a
movabs rdx, 0x5b9bb9551c3b7028
xor rdx, 0x6c12ba68
add rdx, 0x7fffffff
xor rdx, 0x77a91cb8
sub rax, rdx
movabs rdx, 0x4a94cb8348f496b
add rdx, 0x23d0050d
add rdx, 0x2fd4b1f
rol rax, 0x19
add rax, rdx
movabs rdx, 0x1c971a4e02410848
add rdx, 0x22e7a220
xor rdx, 0x493bc758
add rdx, 0x372329e5
ror rax, 0x1c
not rax
sub rax, rdx
lea rdx, [rbp - 0x59]
call rax
cmp edi, 1
jne 0x140049666
mov eax, dword [rbp - 0x51]
sub eax, dword [r15]
sub eax, dword [rbp - 0x59]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x71], eax
mov eax, dword [rbp - 0x4d]
sub eax, dword [r15 + 4]
sub eax, dword [rbp - 0x55]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x6d], eax
jmp 0x1400496e6
mov rcx, qword [rbx + 0x5a0]
mov rax, qword [r12]
mov rdi, qword [rax + rcx*8 - 0x10]
cmp rdi, qword [rbx + 0x688]
je 0x1400496b5
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.140059400
mov rcx, rdi
mov edx, dword [rax]
add edx, 0x50
mov dword [rbp - 0x71], edx
lea rdx, [rbp + 0x17]
call fcn.140059400
mov ecx, dword [rax + 4]
neg ecx
add ecx, 0xffffffd8
neg ecx
mov dword [rbp - 0x6d], ecx
jmp 0x1400496e6
mov dword [rbp - 0x71], 0xad0e3df
add dword [rbp - 0x71], 0x123d9833
sub dword [rbp - 0x71], 0x1d0e7bfe
mov dword [rbp - 0x6d], 0x7d41c465
xor dword [rbp - 0x6d], 0x6a67bc3f
xor dword [rbp - 0x6d], 0x57fb338a
xor dword [rbp - 0x6d], 0x40dd4bf8
mov edx, 0x60bdcccb
xor edx, 0x180813a6
xor edx, 0x78b5dacd
mov rax, rbx
mov rcx, rsi
mov rdx, qword [rdx + rbx]
dec rdx
call fcn.14004f570
mov rdx, rsi
mov rcx, rbx
call fcn.140049dc0
mov rax, qword [rsi]
lea rdx, [rbp - 0x71]
mov rcx, rsi
call qword [rax + 0x38]
mov rax, qword [rsi]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x40]
mov eax, dword [rbx + 0x518]
cmp eax, 1
jne 0x1400499c4
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.140049a70
test al, al
jne 0x1400497d1
mov rax, qword [0x14012f010]
movabs rcx, 0x709fe669647afefe
xor rcx, 0x3d950af2
sub rcx, 0x1d9ab48a
sub rcx, 0x30578178
rol rax, 0x22
add rax, rcx
movabs rcx, 0x9ef36112595ea825
add rcx, 0x17efec73
add rcx, 0x4ca5e141
ror rax, 0x10
add rax, rcx
movabs rcx, 0xeaafe79c6ce39b90
sub rcx, 0x55f08b0a
xor rcx, 0x41d1e17c
xor rax, rcx
mov rcx, r14
call rax
mov rdx, rsi
mov rcx, rbx
call fcn.140049b48
mov rsi, r13
jmp 0x140049a08
mov rax, qword [0x14012f0a0]
movabs rcx, 0x786bf0072b2475ec
add rcx, 0x4a4d56b4
add rcx, 0x7fffffff
sub rcx, 0x1a73f26a
xor rax, rcx
xor edx, edx
movabs rcx, 0xa4c63d45fadabdb
xor rcx, 0x4110591e
xor rcx, 0x59b94626
mov r8d, 0x540d9ff6
sub r8d, 0x44778cce
add r8d, 0x54efc0bf
sub r8d, 0x6485d2e8
add rax, rcx
mov rcx, r14
not rax
rol rax, 0xf
lea r9d, [rdx + 2]
call rax
movabs rax, 0x7839482a755e38c0
sub rax, 0x2f701605
sub rax, 0x29efc6de
cmp qword [rbx + 0x760], rax
je 0x1400498e3
mov eax, dword [r15]
lea rdx, [rbp - 0x49]
and qword [rbp - 0x49], 0
movabs rcx, 0xa929f8f64873fb8
xor rcx, 0x12ea3a65
sub rcx, 0x3b35fbb4
add rcx, 0x12655d08
mov dword [rbp - 0x41], eax
mov eax, dword [r15 + 4]
mov dword [rbp - 0x3d], eax
mov rax, qword [rbx + 0x770]
add rax, rcx
movabs rcx, 0x32509f161abb4717
sub rcx, 0x1161b106
add rcx, 0x313c2549
ror rax, 2
add rax, rcx
movabs rcx, 0x436c8b757ce38415
sub rcx, 0x3ffb11b0
xor rcx, 0x687b06ab
xor rax, rcx
mov rcx, r14
call rax
mov rax, qword [0x14012f0a8]
movabs rcx, 0x2aa2c23d39899026
add rcx, 0x3d4e831c
sub rcx, 0x4111d617
add rcx, 0x7fffffff
sub rcx, 0x15feea74
ror rax, 0x12
not rax
ror rax, 3
xor rax, rcx
movabs rcx, 0x4ae54b672850ece7
add rcx, 0x3e3c44e1
add rcx, 0xe37b242
add rcx, 0x7040c754
add rax, rcx
movabs rcx, 0x742ef53f086f89a3
xor rcx, 0x2fd93039
sub rcx, 0x17ab9057
xor rax, rcx
mov rcx, r14
rol rax, 0x26
call rax
mov rax, qword [0x14012f0b0]
movabs rcx, 0x6a1021da12e93c61
xor rcx, 0x4348282c
add rcx, 0x1b8ff81a
add rcx, 0x7fffffff
add rcx, 0x10b4f816
ror rax, 0x3e
mov edx, 0x4e7c4eb9
xor edx, 0x1d1ddfd2
sub edx, 0x3dd32c66
sub edx, 0x158e6500
not rax
rol rax, 0x3c
add rax, rcx
mov rcx, r14
ror rax, 3
call rax
jmp 0x140049a08
cmp eax, 2
jne 0x140049a08
mov rdx, qword [rbx + 0x580]
test rdx, rdx
je 0x1400499e6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
cmp byte [rbp + 0x77], r13b
je 0x140049a08
mov rcx, qword [rbx + 0x688]
mov rdx, rsi
call fcn.14005fe10
or ecx, 0xffffffff
add dword [rbx + 0x6b4], ecx
jne 0x140049a45
mov qword [rbx + 0x6a0], r13
mov eax, ecx
lock xadd dword [rbx + 0x6b0], eax
add eax, ecx
cmp eax, ecx
je 0x140049a4c
mov rcx, qword [rbx + 0x6a8]
xor edx, edx
call fcn.1400a1be0
jmp 0x140049a4c
lock add dword [rbx + 0x6b0], ecx
lea r11, [rsp + 0xf0]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret