Function at 0x1400a74f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbp
push rsi
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor edx, edx
mov rsi, rcx
mov rcx, r8
lea r15d, [rdx + 0xe]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
add r14, 2
je 0x1400a7af7
xor edx, edx
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r8, rax
add r8, 2
je 0x1400a7af7
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x190], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x188], r12
mov rax, rdi
mov qword [rsp + 0x180], r13
inc rax
cmp word [r8 + rax*2], 0
jne 0x1400a7575
xor r12d, r12d
lfence
lea edx, [r12 + 0x40]
lea rcx, [rbp - 0x10]
cmp rax, rdx
jae 0x1400a759c
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400a75ad
mov r9d, 0x3f
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x6e], r12w
mov edx, 0x40
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rax, [rbp - 0x10]
mov r8, rdi
mov ebx, r12d
inc r8
cmp word [rax + r8*2], bx
jne 0x1400a75c6
lea r13, [0x1401f8ce0]
mov r9, r12
add r8, r8
je 0x1400a7600
nop
movzx ecx, byte [rbp + r9 - 0x10]
mov eax, ebx
xor rcx, rax
inc r9
shr eax, 8
movzx edx, cl
mov ebx, dword [r13 + rdx*4]
xor ebx, eax
cmp r9, r8
jb 0x1400a75e0
not ebx
mov rax, rdi
inc rax
cmp word [r14 + rax*2], r12w
jne 0x1400a7605
lfence
mov edx, 0x40
lea rcx, [rbp - 0x10]
mov r8, r14
cmp rax, rdx
jae 0x1400a762b
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400a763c
mov r9d, 0x3f
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x6e], r12w
mov edx, 0x40
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov eax, r12d
lea rcx, [rbp - 0x10]
inc rdi
cmp word [rcx + rdi*2], ax
jne 0x1400a7652
mov r9, r12
add rdi, rdi
je 0x1400a7691
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rbp + r9 - 0x10]
mov ecx, eax
xor rdx, rcx
inc r9
shr ecx, 8
movzx r8d, dl
mov eax, dword [r13 + r8*4]
xor eax, ecx
cmp r9, rdi
jb 0x1400a7670
mov r13, qword [rsp + 0x180]
not eax
mov rdi, qword [rsp + 0x190]
cmp ebx, 0x2f18d6a0
je 0x1400a76df
cmp ebx, 0xb0270909
je 0x1400a76df
cmp ebx, 0xf20c4ee2
jne 0x1400a7ae7
mov r15d, r12d
cmp eax, 0x723aa1b1
jne 0x1400a794b
mov dword [rsp + 0x20], 0xc3040000
lea rdx, [rsp + 0x20]
jmp 0x1400a7ad5
mov r15d, r12d
cmp eax, 0x6052eb0c
ja 0x1400a783a
je 0x1400a7819
cmp eax, 0x1dde12bd
ja 0x1400a779d
je 0x1400a777c
cmp eax, 0x417e245
je 0x1400a775b
cmp eax, 0xbf0f924
je 0x1400a773a
cmp eax, 0x16820b17
jne 0x1400a794b
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x28]
mov eax, 0x8a000000
mov ecx, 0x4a000000
cmove eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x30]
mov eax, 0x82020000
mov ecx, 0x42020000
cmove eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x38]
mov eax, 0x82000001
mov ecx, 0x42000001
cmove eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x40]
mov eax, 0x89000003
mov ecx, 0x49000003
cmove eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x1400a7ad5
cmp eax, 0x3865e099
je 0x1400a77f8
cmp eax, 0x46351816
je 0x1400a77d7
cmp eax, 0x5f1ab24f
jne 0x1400a794b
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x48]
mov eax, 0x84000000
mov ecx, 0x44000000
cmove eax, ecx
mov dword [rsp + 0x48], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x50]
mov eax, 0x83020000
mov ecx, 0x43020000
cmove eax, ecx
mov dword [rsp + 0x50], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x58]
mov eax, 0x48000000
mov ecx, 0x88000000
cmove eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x60]
mov eax, 0x83010000
mov ecx, 0x43010000
cmove eax, ecx
mov dword [rsp + 0x60], eax
jmp 0x1400a7ad5
cmp eax, 0xcf11c57c
ja 0x1400a792f
je 0x1400a7910
cmp eax, 0x723aa1b1
je 0x1400a78f8
cmp eax, 0x959e93cc
je 0x1400a78d9
cmp eax, 0xa483e187
je 0x1400a78b8
cmp eax, 0xb0790ae7
je 0x1400a7897
cmp eax, 0xcd009e11
jne 0x1400a794b
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x68]
mov eax, 0x82020001
mov ecx, 0x42020001
cmove eax, ecx
mov dword [rsp + 0x68], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x70]
mov eax, 0x82000002
mov ecx, 0x42000002
cmove eax, ecx
mov dword [rsp + 0x70], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rsp + 0x78]
mov eax, 0x8b000000
mov ecx, 0x4b000000
cmove eax, ecx
mov dword [rsp + 0x78], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rbp - 0x80]
mov eax, 0x83000000
mov ecx, 0x43000000
cmove eax, ecx
mov dword [rbp - 0x80], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
je 0x1400a794b
mov dword [rbp - 0x78], 0x83040000
lea rdx, [rbp - 0x78]
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rbp - 0x70]
mov eax, 0x82010000
mov ecx, 0x42010000
cmove eax, ecx
mov dword [rbp - 0x70], eax
jmp 0x1400a7ad5
cmp eax, 0xd0f5b849
je 0x1400a79b3
cmp eax, 0xe6a9a679
je 0x1400a7994
cmp eax, 0xf10926eb
je 0x1400a7975
cmp eax, 0xfdf04c09
je 0x1400a7956
mov r15d, select
jmp 0x1400a7ae7
cmp ebx, 0x2f18d6a0
lea rdx, [rbp - 0x68]
mov eax, 0x82000000
mov ecx, 0x42000000
cmove eax, ecx
mov dword [rbp - 0x68], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rbp - 0x60]
mov eax, 0x89000002
mov ecx, 0x49000002
cmove eax, ecx
mov dword [rbp - 0x60], eax
jmp 0x1400a7ad5
cmp ebx, 0x2f18d6a0
lea rdx, [rbp - 0x58]
mov eax, 0x89000001
mov ecx, 0x49000001
cmove eax, ecx
mov dword [rbp - 0x58], eax
jmp 0x1400a7ad5
mov r9d, 2
lea rdx, [rbp - 0x50]
mov eax, 0x82000000
mov ecx, 0x42000000
cmp ebx, 0x2f18d6a0
cmove eax, ecx
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rbp - 0x50], eax
call fcn.1400f9ad0
mov r9d, 2
lea rdx, [rbp - 0x48]
mov eax, 0x82000001
mov ecx, 0x42000001
cmp ebx, 0x2f18d6a0
cmove eax, ecx
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rbp - 0x48], eax
call fcn.1400f9ad0
mov r9d, 2
lea rdx, [rbp - 0x40]
mov eax, 0x82010000
mov ecx, 0x42010000
cmp ebx, 0x2f18d6a0
cmove eax, ecx
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rbp - 0x40], eax
call fcn.1400f9ad0
mov r9d, 2
lea rdx, [rbp - 0x38]
mov eax, 0x8502000b
mov ecx, 0x45020011
cmp ebx, 0x2f18d6a0
cmove eax, ecx
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rbp - 0x38], eax
call fcn.1400f9ad0
mov r9d, 2
lea rdx, [rbp - 0x30]
mov eax, 0x82020000
mov ecx, 0x42020000
cmp ebx, 0x2f18d6a0
cmove eax, ecx
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rbp - 0x30], eax
call fcn.1400f9ad0
mov r9d, 2
lea rdx, [rbp - 0x28]
mov eax, 0x8501000a
mov ecx, 0x4501000a
cmp ebx, 0x2f18d6a0
cmove eax, ecx
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rbp - 0x28], eax
call fcn.1400f9ad0
cmp ebx, 0x2f18d6a0
lea rdx, [rbp - 0x20]
mov ecx, 0x8503000a
mov eax, 0x4503000a
cmove ecx, eax
mov dword [rbp - 0x20], ecx
mov r9d, 2
mov rcx, rsi
lea r8d, [r9 - 1]
call fcn.1400f9ad0
mov rbx, qword [rsp + 0x1c8]
mov r12, qword [rsp + 0x188]
mov eax, r15d
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x198
pop r15
pop r14
pop rsi
pop rbp
ret