Function at 0x140003a8c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], 2
je 0x140003acd
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
call fcn.140003fac
mov rax, qword gs:[0x58]
mov ecx, 0x610
mov dword [rbp - 0x10], 0xaee0b7c2
mov dword [rbp - 0xc], 0x2e4c3cc1
mov rbx, qword [rax]
mov dword [rbp - 8], 0x8efda0f5
mov edi, 0x388
mov eax, dword [rcx + rbx]
test al, 1
jne 0x140003b2e
movsd xmm0, qword [rbp - 0x10]
or eax, 1
mov dword [rcx + rbx], eax
lea rcx, [0x140006144]
mov eax, dword [rbp - 8]
mov word [rbx + rdi + 0xc], 0x1b5
movsd qword [rbx + rdi], xmm0
mov dword [rbx + rdi + 8], eax
call fcn.140004784
lea rsi, [rbx + rdi]
mov r14b, 7
cmp byte [rsi + 0xd], 0
movabs r10, 0x5b0159b5cf85c581
je 0x140003b68
xor r8d, r8d
mov cl, r8b
mov rdx, r10
and cl, r14b
shl cl, 3
shr rdx, cl
xor byte [rsi + r8], dl
inc r8
cmp r8, 0xd
jb 0x140003b48
mov byte [rsi + 0xd], 0
mov ecx, 0x5f4
mov dword [rbp - 0x20], 0xa1f7a0ea
mov dword [rbp - 0x1c], 0x693235d0
mov edi, 0x1d0
mov eax, dword [rcx + rbx]
test al, 1
jne 0x140003bb4
movsd xmm0, qword [rbp - 0x20]
or eax, 1
mov dword [rcx + rbx], eax
lea rcx, [0x140006148]
mov word [rdi + rbx + 8], 0x181
movsd qword [rdi + rbx], xmm0
call fcn.140004784
movabs r10, 0x5b0159b5cf85c581
lea rdx, [rdi + rbx]
cmp byte [rdx + 9], 0
je 0x140003be1
xor r9d, r9d
mov cl, r9b
mov r8, r10
and cl, r14b
shl cl, 3
shr r8, cl
xor byte [rdx + r9], r8b
inc r9
cmp r9, 9
jb 0x140003bc1
mov byte [rdx + 9], 0
mov rcx, rdx
call qword [0x14000a1b0]
mov rcx, rax
mov rdx, rsi
call qword [0x14000a1b8]
mov rcx, qword gs:[0x58]
mov r15, rax
mov dword [rbp - 0x20], 0xaae0a9d2
mov word [rbp - 0x1c], 0x59c5
mov ebx, 0x20c
mov rdi, qword [rcx]
mov ecx, 0x57c
mov eax, dword [rcx + rdi]
test al, 1
jne 0x140003c49
or eax, 1
mov byte [rdi + rbx + 6], 1
mov dword [rcx + rdi], eax
lea rcx, [0x14000613c]
mov eax, dword [rbp - 0x20]
mov dword [rdi + rbx], eax
movzx eax, word [rbp - 0x1c]
mov word [rdi + rbx + 4], ax
call fcn.140004784
lea rsi, [rbx + rdi]
cmp byte [rsi + 6], 0
je 0x140003c80
xor r8d, r8d
movabs r9, 0x5b0159b5cf85c581
mov cl, r8b
mov rdx, r9
and cl, r14b
shl cl, 3
shr rdx, cl
xor byte [rsi + r8], dl
inc r8
cmp r8, 6
jb 0x140003c60
mov byte [rsi + 6], 0
mov rax, qword gs:[0x58]
mov ecx, 0x240
mov dword [rbp - 0x20], 0xa1f7a0ea
mov dword [rbp - 0x1c], 0x693235d0
mov rdi, qword [rax]
mov ebx, 0x460
mov eax, dword [rcx + rdi]
test al, 1
jne 0x140003cce
movsd xmm0, qword [rbp - 0x20]
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [0x140006140]
mov word [rdi + rbx + 8], 0x181
movsd qword [rdi + rbx], xmm0
call fcn.140004784
lea r10, [rbx + rdi]
movabs rbx, 0x5b0159b5cf85c581
cmp byte [r10 + 9], 0
je 0x140003d07
xor r9d, r9d
mov cl, r9b
mov r8, rbx
and cl, r14b
shl cl, 3
shr r8, cl
xor byte [r10 + r9], r8b
inc r9
cmp r9, 9
jb 0x140003ce6
mov byte [r10 + 9], 0
mov rcx, r10
call qword [0x14000a1b0]
mov rcx, rax
mov rdx, rsi
call qword [0x14000a1b8]
mov rcx, qword gs:[0x58]
mov r14, rax
mov edi, 0x450
mov rsi, qword [rcx]
add rdi, rsi
mov r8, qword [0x14000a240]
xor edx, edx
xor ecx, ecx
call r15
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
test rax, rax
jne 0x140003d55
call fcn.140001490
jmp 0x140003d33
call fcn.140001490
mov ecx, 0x3f0
mov dword [rbp - 0x10], 0xaaf1aaef
mov dword [rbp - 0xc], 0x756538c5
mov dword [rbp - 8], 0xcfe0bde4
mov eax, dword [rcx + rsi]
test al, 1
jne 0x140003da0
movsd xmm0, qword [rbp - 0x10]
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [0x140006138]
mov eax, dword [rbp - 8]
mov byte [rdi + 0xc], 1
movsd qword [rdi], xmm0
mov dword [rdi + 8], eax
call fcn.140004784
cmp byte [rdi + 0xc], 0
je 0x140003dc9
xor r8d, r8d
mov cl, r8b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + r8], dl
inc r8
cmp r8, 0xc
jb 0x140003da9
mov byte [rdi + 0xc], 0
mov rcx, rdi
call fcn.140003394
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov ecx, ebx
mov rdx, qword [rax]
mov rdx, qword [rdx + 8]
call fcn.140002e6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov ecx, ebx
mov rdx, qword [rax]
mov rdx, qword [rdx + 8]
call fcn.14000162c
mov ecx, 0xea60
call r14
lea rcx, [rbp - 0x20]
call fcn.140001490
movabs rbx, 0x5b0159b5cf85c581
jmp 0x140003d33