Function at 0x140075778
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x4627685f
add rsp, 0x46276837
test edx, edx
je 0x140074db4
mov dword [rsp - 0x20], edx
cmp edx, 1
jne 0x140074da7
neg rsp
add rsp, 0xffffffffffffffd8
neg rsp
jmp 0x140075778
cmp edx, 2
mov dword [rsp - 0x3c], 0x6bfea5a0
jne 0x140074db9
call fcn.140075240
neg rsp
add rsp, 0xffffffffffffffd8
neg rsp
ret
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x57]
mov dword [rsp - 0x38], 0x409732f7
sub rsp, 0x7ca81a57
add rsp, 0x7ca819b7
xor edx, edx
mov dword [rsp - 0x38], 0x3c600805
mov dword [rbp - 0x29], 0x44897267
xor dword [rbp - 0x29], 0x6a5ebde7
add dword [rbp - 0x29], 0xa898bd4
sub dword [rbp - 0x29], 0x2d2ad6c9
xor dword [rbp - 0x29], 0x555e7b7c
mov r10, rcx
mov dword [rbp - 0x25], 0x6eaadfd3
sub dword [rbp - 0x25], 0x1cae4b64
sub dword [rbp - 0x25], 0x3f05751d
add dword [rbp - 0x25], 0x5d741c6f
add dword [rbp - 0x25], 0x42657bb4
mov dword [rbp - 0x21], 0x26ac52d4
xor dword [rbp - 0x21], 0x435a9208
sub dword [rbp - 0x21], 0x627d804f
add dword [rbp - 0x21], 0x6226eee3
mov edi, edx
mov dword [rbp - 0x1d], 0x5863d46e
sub dword [rbp - 0x1d], 0x1e1a17d0
xor dword [rbp - 0x1d], 0x30ac561d
add dword [rbp - 0x1d], 0xc05b35f8
lea r9d, [rdx + 0xf]
mov dword [rbp - 0x19], 0x691f7c53
sub dword [rbp - 0x19], 0x1d75e7bf
add dword [rbp - 0x19], 0xa4974ed
xor dword [rbp - 0x19], 0xc3701aed
mov dword [rbp - 0x15], 0x1ee3c566
sub dword [rbp - 0x15], 0x89f74d9
xor dword [rbp - 0x15], 0x77b05f5b
xor dword [rbp - 0x15], 0x2de1b03b
xor dword [rbp - 0x15], 0x6112bdaf
mov dword [rbp - 0x11], 0x6239da06
xor dword [rbp - 0x11], 0x4aaa347a
xor dword [rbp - 0x11], 0xce2ecaf
add dword [rbp - 0x11], 0x359e264c
mov dword [rbp - 0xd], 0x683b0510
xor dword [rbp - 0xd], 0x6160f73f
add dword [rbp - 0xd], 0x4a2c47f0
sub dword [rbp - 0xd], 0x26add760
xor dword [rbp - 0xd], 0x98c5221a
mov dword [rbp - 9], 0x2c60a294
sub dword [rbp - 9], 0x13c125b4
xor dword [rbp - 9], 0x208b53c5
add dword [rbp - 9], 0x302b88b9
mov dword [rbp - 5], 0x1c350833
add dword [rbp - 5], 0x2b29470d
add dword [rbp - 5], 0xd33909c
xor dword [rbp - 5], 0x84eff1e9
mov dword [rbp - 1], 0x54e2718c
xor dword [rbp - 1], 0x12e63658
sub dword [rbp - 1], 0xf483b3a
xor dword [rbp - 1], 0x96412e78
mov dword [rbp + 3], 0x12aef08
add dword [rbp + 3], 0x485b7756
add dword [rbp + 3], 0x10dd6950
sub dword [rbp + 3], 0x1868b962
mov dword [rbp + 7], 0x294b0d0a
xor dword [rbp + 7], 0x6ea8720b
add dword [rbp + 7], 0x18c4c42c
xor dword [rbp + 7], 0xe35f4b3c
mov dword [rbp + 0xb], 0x3376430d
add dword [rbp + 0xb], 0xda38ab9
sub dword [rbp + 0xb], 0x13f64553
sub dword [rbp + 0xb], 0x25344ac9
mov dword [rbp + 0xf], 0x5d12b392
xor dword [rbp + 0xf], 0x4a6d0586
xor dword [rbp + 0xf], 0x39c7c28f
add dword [rbp + 0xf], 0x225be7fc
sub dword [rbp + 0xf], 0x4134f2ba
mov ecx, edx
lea rdi, [rdi + 4]
mov rbx, rbx
mov eax, 0x61bf450a
xor eax, 0x6ebe25a8
add eax, 0x1c3452ea
xor eax, 0x2f8c764d
add eax, 0x54ae79bd
inc rdx
rol eax, cl
mov dword [rsp - 0x24], esp
xor eax, dword [rbp + rdi - 0x2d]
mov dword [rbp + rdi + 0x13], eax
cmp rdx, r9
jb 0x140075973
mov dword [rsp - 0x10], ecx
mov r8d, 0x7f7ad03e
xor r8d, 0x2a7348f1
add r8d, 0x1deb23e1
add r8d, 0x596c906
sub r8d, 0x788b85b4
lea rdx, [rbp + 0x17]
mov r11, r11
xchg rcx, r10
mov r10, rcx
xchg r10, rcx
call fcn.140074dc4
mov dword [rsp - 0x20], ebp
xor eax, eax
lea rdi, [rbp + 0x17]
lea ecx, [rax + 0x3c]
xchg rbx, rbx
rep stosb byte [rdi], al
xchg rdi, r8
mov r8, qword [rsp + 0xb0]
xchg rdi, r8
add rsp, 0xa0
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret