Function at 0x140012b80
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp], rdx
mov qword [rbp + 8], rcx
mov eax, dword [0x1400fcf70]
xor edx, edx
div dword [0x1400fcf74]
or eax, 0xdcacf6cf
sub eax, 0xe6746398
xor eax, 0xa1ad17bb
cmp eax, 0x17306d7b
jb 0x14001324b
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
mov eax, dword [0x1400fcf78]
mov ecx, dword [0x1400fcf7c]
or eax, ecx
imul eax, eax, 0xd29f1ec1
or eax, 0x39b2d9cd
mov dword [rbp - 8], eax
mov eax, 0x10
mov qword [rbp - 0x20], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x20]
mov rcx, rsp
mov qword [rbp - 0x10], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov rcx, rsp
mov qword [rbp - 0x18], rcx
mov qword [rax], r8
mov qword [rcx], rdx
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0x228
sub rsp, 0x20
call sub.msvcrt.dll_memset
mov rcx, qword [rbp - 0x10]
mov eax, dword [rbp - 8]
add rsp, 0x20
mov rdx, qword [0x140117de0]
mov r8d, dword [rdx + 0x98]
add r8d, 1
mov rdx, qword [rcx]
mov dword [rdx + 0xe8], r8d
mov rdx, qword [0x140117de0]
mov edx, dword [rdx + 0x7c]
mov rcx, qword [rcx]
mov dword [rcx + 0xe4], edx
mov rcx, qword [0x140117e30]
cmp dword [rcx], 0
setne cl
mov byte [rbp - 1], cl
cmp eax, 0x5954d821
jbe 0x14001324b
mov al, byte [rbp - 1]
test al, 1
jne 0x140012c92
jmp 0x140012ca9
mov rax, qword [0x140117de0]
mov rax, qword [rax + 0x118]
mov qword [rbp - 0x28], rax
jmp 0x140012d0d
mov eax, dword [0x1400fcf80]
add eax, dword [0x1400fcf84]
add eax, 0x78606e64
mov ecx, 0xe3baeb2f
xor edx, edx
div ecx
add eax, 0x208acbff
cmp eax, 0xb5fb276d
ja 0x1400132d1
mov eax, dword [0x1400fcf88]
and eax, dword [0x1400fcf8c]
mov ecx, 0xa38b80df
xor edx, edx
div ecx
xor eax, 0xf4b6e68e
sub eax, 0x5c9470df
cmp eax, 0x504b59f2
jbe 0x1400132d1
lea rax, [0x1400b6390]
mov qword [rbp - 0x28], rax
jmp 0x140012d0d
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov eax, dword [0x1400fcf90]
xor eax, dword [0x1400fcf94]
or eax, 0xd0d2d2d2
and eax, 0x85d99da0
add eax, 0x782069d5
cmp eax, 0xb847de4c
jb 0x1400132d6
mov rcx, qword [rbp - 0x10]
mov r8, qword [rbp - 0x30]
mov eax, dword [0x1400fcf98]
imul eax, dword [str.Jr_]
add eax, 0xe43a39df
or eax, 0x9a2941ee
sub eax, 0x811da1f7
mov rdx, qword [rcx]
mov qword [rdx + 0xb0], r8
mov rdx, qword [0x140117de0]
mov edx, dword [rdx + 0x9c]
mov rcx, qword [rcx]
mov dword [rcx + 0x124], edx
mov rcx, qword [0x140117de0]
cmp qword [rcx + 0x138], 0
setne cl
mov byte [rbp - 0x31], cl
cmp eax, 0xe0d35cdf
je 0x1400132d6
mov al, byte [rbp - 0x31]
test al, 1
jne 0x140012daf
jmp 0x140012e32
mov eax, dword [0x1400fcfa0]
xor edx, edx
div dword [str.dnDu]
or eax, 0x4e48e6ba
add eax, 0xbc747d00
add eax, 0x6ee79005
cmp eax, 0x7810d5af
jb 0x140013303
mov eax, dword [0x1400fcfa8]
or eax, dword [0x1400fcfac]
sub eax, 0xa8df9867
sub eax, 0x93496c24
sub eax, 0xd2fa0022
mov dword [rbp - 0x44], eax
mov rax, qword [0x140117de0]
mov rcx, qword [rax + 0x138]
sub rsp, 0x20
call sub.msvcrt.dll__strdup
add rsp, 0x20
mov rcx, rax
mov eax, dword [rbp - 0x44]
mov qword [rbp - 0x40], rcx
cmp eax, 0xc93ada65
jae 0x140012dd7
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x50], rax
jmp 0x140012e8e
mov eax, dword [0x1400fcfb0]
xor edx, edx
div dword [0x1400fcfb4]
add eax, 0x335f3e61
imul eax, eax, 0x4f9124d9
or eax, 0x49f3484b
cmp eax, 0xc9cbc93
jbe 0x140013323
mov eax, dword [0x1400fcfb8]
imul eax, dword [0x1400fcfbc]
or eax, 0x68641adc
or eax, 0x1d8b27e4
imul eax, eax, 0x6b6b8dbd
cmp eax, 0xcd1c4633
ja 0x140013323
xor eax, eax
mov qword [rbp - 0x50], rax
jmp 0x140012e8e
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x58], rax
mov eax, dword [0x1400fcfc0]
sub eax, dword [0x1400fcfc4]
imul eax, eax, 0xa8944b9b
xor eax, 0xf6ff231e
or eax, 0x6e3d698d
cmp eax, 0x2da6f755
jbe 0x140013328
mov eax, dword [0x1400fcfc8]
xor edx, edx
div dword [0x1400fcfcc]
mov rdx, qword [rbp - 0x58]
mov ecx, eax
mov rax, qword [rbp - 0x10]
sub ecx, 0x6066335b
imul ecx, ecx, 0xe6c6414b
imul ecx, ecx, 0xc41c5c14
mov dword [rbp - 0x60], ecx
mov rcx, qword [rax]
mov qword [rcx + 0x200], rdx
mov rcx, qword [0x140117de0]
mov rdx, qword [rcx + 0x110]
mov rcx, qword [rax]
mov qword [rcx + 0xb8], rdx
mov rcx, qword [rax]
mov dword [rcx + 0xf0], 0
mov rcx, qword [0x140117de0]
mov edx, dword [rcx + 0x88]
mov rcx, qword [rax]
mov dword [rcx + 0xdc], edx
mov rcx, qword [0x140117de0]
mov edx, dword [rcx + 0x8c]
mov rcx, qword [rax]
mov dword [rcx + 0xe0], edx
mov rcx, qword [0x140117de0]
mov ecx, dword [rcx + 0x68]
mov rax, qword [rax]
mov dword [rax + 0x120], ecx
xor eax, eax
mov ecx, eax
sub rsp, 0x20
call fcn.140019aa0
mov rcx, qword [rbp - 0x10]
add rsp, 0x20
mov rdx, rax
mov eax, dword [rbp - 0x60]
mov rcx, qword [rcx]
mov qword [rcx + 0x220], rdx
mov rcx, qword [0x140117e30]
cmp dword [rcx], 0
setne cl
mov byte [rbp - 0x59], cl
cmp eax, 0x1a3d19f6
jb 0x140012ebd
mov al, byte [rbp - 0x59]
test al, 1
jne 0x140012fa8
jmp 0x14001309f
mov eax, dword [0x1400fcfd0]
xor eax, dword [str.ElN]
or eax, 0xb9c63d4d
xor eax, 0x2d142e55
and eax, 0x78a7eafd
cmp eax, 0x800d6012
jae 0x1400133c5
mov eax, dword [0x1400fcfd8]
xor edx, edx
div dword [0x1400fcfdc]
add eax, 0x97a07c42
or eax, 0xdeda6018
and eax, 0x4575697d
mov rcx, qword [0x140117de0]
cmp qword [rcx + 0x130], 0
setne cl
mov byte [rbp - 0x61], cl
cmp eax, 0xd1947419
jae 0x1400133c5
mov al, byte [rbp - 0x61]
test al, 1
jne 0x14001301b
jmp 0x14001309f
mov eax, dword [0x1400fcfe0]
and eax, dword [0x1400fcfe4]
sub eax, 0xc8151653
sub eax, 0xeb24ed0f
imul eax, eax, 0x69ed70b0
cmp eax, 0x7a2dbabd
jb 0x1400133ca
mov eax, dword [0x1400fcfe8]
sub eax, dword [0x1400fcfec]
and eax, 0xe1bf6707
xor eax, 0x84acf52e
sub eax, 0x1563be82
mov dword [rbp - 0x68], eax
mov rax, qword [0x140117de0]
mov rcx, qword [rax + 0x130]
sub rsp, 0x20
call sub.msvcrt.dll__strdup
mov rcx, qword [rbp - 0x10]
add rsp, 0x20
mov rdx, rax
mov eax, dword [rbp - 0x68]
mov rcx, qword [rcx]
mov qword [rcx + 0x208], rdx
cmp eax, 0x82abfffb
jbe 0x140013042
jmp 0x14001309f
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov rdx, qword [rcx]
mov qword [rdx + 0xc8], 0xffffffffffffffff
mov rdx, qword [0x140117de0]
mov r8d, dword [rdx + 0x180]
mov rdx, qword [rcx]
mov dword [rdx + 0x154], r8d
mov rdx, qword [0x140117de0]
mov r8d, dword [rdx + 0x184]
mov rdx, qword [rcx]
mov dword [rdx + 0x158], r8d
mov rdx, qword [rcx]
mov qword [rdx + 0xd0], 0xffffffffffffffff
mov rcx, qword [rcx]
mov dword [rcx + 0xf4], 1
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0x298
sub rsp, 0x20
call sub.msvcrt.dll_memset
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
add rsp, 0x20
mov r8, qword [rax]
mov rdx, qword [rcx]
mov qword [rdx + 0x18], r8
mov rdx, qword [rax]
mov r8d, dword [rdx + 0xe8]
mov rdx, qword [rcx]
mov dword [rdx + 0x110], r8d
mov rdx, qword [rax]
mov r8d, dword [rdx + 0xe4]
mov rdx, qword [rcx]
mov dword [rdx + 0x10c], r8d
mov rdx, qword [rcx]
mov qword [rdx + 0x90], 0xffffffffffffffff
mov rdx, qword [rcx]
mov qword [rdx + 0x88], 0xffffffffffffffff
mov rdx, qword [rcx]
mov qword [rdx + 0x78], 0xffffffffffffffff
mov rdx, qword [rcx]
mov qword [rdx + 0x80], 0xffffffffffffffff
mov rdx, qword [rcx]
mov word [rdx + 0x180], 2
mov rdx, qword [rcx]
mov word [rdx + 0x190], 2
mov rdx, qword [rcx]
mov word [rdx + 0x1b0], 2
mov rdx, qword [rcx]
mov word [rdx + 0x1a0], 2
mov rcx, qword [rcx]
mov word [rcx + 0x1c0], 2
mov rcx, qword [rax]
add rcx, 0x190
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, qword [rbp - 0x10]
add rsp, 0x20
mov rcx, qword [rax]
mov rdx, qword [0x140117de0]
mov r8, qword [rdx + 0xe0]
mov qword [rcx + 0x15c], r8
mov rdx, qword [rdx + 0xe8]
mov qword [rcx + 0x164], rdx
mov rcx, qword [rax]
mov rdx, qword [0x140117de0]
mov r8, qword [rdx + 0xf0]
mov qword [rcx + 0x16c], r8
mov rdx, qword [rdx + 0xf8]
mov qword [rcx + 0x174], rdx
mov rcx, qword [rax]
mov rdx, qword [0x140117e70]
mov r8d, 0x90
sub rsp, 0x20
call sub.msvcrt.dll_memcpy
nop
lea rsp, [rbp + 0x10]
pop rbp
ret
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
mov eax, 0x10
mov qword [rbp - 0x78], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov rcx, rsp
mov qword [rbp - 0x70], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x70]
mov rcx, rsp
mov qword [rax], r8
mov qword [rcx], rdx
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0x228
sub rsp, 0x20
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x70]
add rsp, 0x20
mov rcx, qword [0x140117de0]
mov edx, dword [rcx + 0x98]
add edx, 1
mov rcx, qword [rax]
mov dword [rcx + 0xe8], edx
mov rcx, qword [0x140117de0]
mov ecx, dword [rcx + 0x7c]
mov rax, qword [rax]
mov dword [rax + 0xe4], ecx
jmp 0x140012bc0
jmp 0x140012cd3
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rax]
mov qword [rcx + 0xb0], rdx
mov rcx, qword [0x140117de0]
mov ecx, dword [rcx + 0x9c]
mov rax, qword [rax]
mov dword [rax + 0x124], ecx
jmp 0x140012d3b
mov rax, qword [0x140117de0]
mov rcx, qword [rax + 0x138]
sub rsp, 0x20
call sub.msvcrt.dll__strdup
add rsp, 0x20
jmp 0x140012dd7
jmp 0x140012e5b
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rax]
mov qword [rcx + 0x200], rdx
mov rcx, qword [0x140117de0]
mov rdx, qword [rcx + 0x110]
mov rcx, qword [rax]
mov qword [rcx + 0xb8], rdx
mov rcx, qword [rax]
mov dword [rcx + 0xf0], 0
mov rcx, qword [0x140117de0]
mov edx, dword [rcx + 0x88]
mov rcx, qword [rax]
mov dword [rcx + 0xdc], edx
mov rcx, qword [0x140117de0]
mov edx, dword [rcx + 0x8c]
mov rcx, qword [rax]
mov dword [rcx + 0xe0], edx
mov rcx, qword [0x140117de0]
mov ecx, dword [rcx + 0x68]
mov rax, qword [rax]
mov dword [rax + 0x120], ecx
xor eax, eax
mov ecx, eax
sub rsp, 0x20
call fcn.140019aa0
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rax + 0x220], rcx
jmp 0x140012ebd
jmp 0x140012fce
mov rax, qword [0x140117de0]
mov rcx, qword [rax + 0x130]
sub rsp, 0x20
call sub.msvcrt.dll__strdup
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rax + 0x208], rcx
jmp 0x140013042