Function at 0x14003d6f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400d0080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, r9
mov rdi, rcx
mov rsi, qword [0x14090c0b0]
test rsi, rsi
je 0x14003d837
mov dword [rsp + 0x20], 0xb6bdacb9
mov dword [rsp + 0x24], 0xb2b9f2b7
mov word [rsp + 0x28], 0xb3
mov byte [rsp + 0x2a], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx - 0x29]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x14003d750
mov byte [rsp + 0x2a], bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x14003d85c
mov dword [rsp + 0x40], 0x15f5158c
mov dword [rsp + 0x44], 0x15fa1584
mov dword [rsp + 0x48], 0x15bd159d
mov dword [rsp + 0x4c], 0x15b215b4
mov dword [rsp + 0x50], 0x158415ba
mov dword [rsp + 0x54], 0x159615c1
mov dword [rsp + 0x58], 0x15c4158c
mov dword [rsp + 0x5c], 0x15891589
mov dword [rsp + 0x60], 0x158c1586
mov dword [rsp + 0x64], 0x158415c9
mov dword [rsp + 0x68], 0x1588159f
mov dword [rsp + 0x6c], 0x15821581
mov dword [rsp + 0x70], 0x159415c1
mov dword [rsp + 0x74], 0x159e159d
mov word [rsp + 0x78], bx
mov byte [rsp + 0x7a], 1
mov ecx, 0x15d7
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x1c
jb 0x14003d800
mov byte [rsp + 0x7a], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003b430
lea rdx, [0x14003b610]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400a9330
mov rbx, qword [rsp + 0x158]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0xbe98ac99
mov dword [rsp + 0x34], 0xb1a99dbf
mov word [rsp + 0x38], 0xb2
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx - 0x29]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x14003d880
mov byte [rsp + 0x3a], bl
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14003d97f
mov dword [rsp + 0x40], 0x15f5158c
mov dword [rsp + 0x44], 0x15fa1584
mov dword [rsp + 0x48], 0x15bd159d
mov dword [rsp + 0x4c], 0x15b215b4
mov dword [rsp + 0x50], 0x158415ba
mov dword [rsp + 0x54], 0x159615c1
mov dword [rsp + 0x58], 0x15c4158c
mov dword [rsp + 0x5c], 0x15831582
mov dword [rsp + 0x60], 0x15c81593
mov dword [rsp + 0x64], 0x1592158c
mov dword [rsp + 0x68], 0x1583159b
mov dword [rsp + 0x6c], 0x159a159f
mov dword [rsp + 0x70], 0x159e15cf
mov dword [rsp + 0x74], 0x15961585
mov dword [rsp + 0x78], 0x1598159f
mov dword [rsp + 0x7c], 0x15b815db
mov dword [rbp - 0x80], 0x15b91583
mov dword [rbp - 0x7c], 0x159e159d
mov dword [rbp - 0x78], 0x158815ba
mov dword [rbp - 0x74], 0x15931592
mov word [rbp - 0x70], bx
mov byte [rbp - 0x6e], 1
mov ecx, 0x15d7
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x28
jb 0x14003d960
mov byte [rbp - 0x6e], 0
lea rdx, [rsp + 0x40]
jmp 0x14003d81b
mov word [rbp - 0x10], 0xb848
mov word [rbp - 6], 0xe0ff
mov qword [rbp - 0xe], rsi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14090c044], eax
jle 0x14003da7d
lea rcx, [0x14090c044]
call fcn.1400a9400
cmp dword [0x14090c044], 0xffffffff
jne 0x14003da7d
mov dword [rsp + 0x20], 0xbe98ac99
mov dword [rsp + 0x24], 0xb1a99dbf
mov word [rsp + 0x28], 0xb2
mov byte [rsp + 0x2a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x29]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x14003d9f0
mov byte [rsp + 0x2a], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14003ae60
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x14090bc98]
mov rcx, rdi
call fcn.140035d80
mov qword [0x14090c050], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14003da71
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003da6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
nop
lea rcx, [0x14090c044]
call fcn.1400a9394
mov r8, qword [0x14090c050]
test r8, r8
jne 0x14003db5f
mov dword [rsp + 0x40], 0x15f5158c
mov dword [rsp + 0x44], 0x15fa1584
mov dword [rsp + 0x48], 0x15bd159d
mov dword [rsp + 0x4c], 0x15b215b4
mov dword [rsp + 0x50], 0x158415ba
mov dword [rsp + 0x54], 0x159615c1
mov dword [rsp + 0x58], 0x15c4158c
mov dword [rsp + 0x5c], 0x15831582
mov dword [rsp + 0x60], 0x15c81593
mov dword [rsp + 0x64], 0x1592158c
mov dword [rsp + 0x68], 0x1583159b
mov dword [rsp + 0x6c], 0x159a159f
mov dword [rsp + 0x70], 0x159e15cf
mov dword [rsp + 0x74], 0x159d1585
mov dword [rsp + 0x78], 0x159f1580
mov dword [rsp + 0x7c], 0x15981587
mov dword [rbp - 0x80], 0x15d6159b
mov dword [rbp - 0x7c], 0x158e15b7
mov dword [rbp - 0x78], 0x159815ba
mov dword [rbp - 0x74], 0x15bf1599
mov dword [rbp - 0x70], 0x166f158b
mov dword [rbp - 0x6c], 0x166c
mov byte [rbp - 0x68], 1
mov ecx, 0x15d7
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x2b
jb 0x14003db40
mov byte [rbp - 0x68], 0
lea rdx, [rsp + 0x40]
jmp 0x14003d81b
mov r9d, ntohl
lea rdx, [rbp]
mov rcx, rdi
call fcn.140034ac0
test al, al
je 0x14003d837
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x14003dd0f
movzx eax, byte [rbp - 0xf]
cmp byte [rbp + 1], al
jne 0x14003dd0f
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
jne 0x14003dd0f
movzx eax, byte [rbp - 5]
cmp byte [rbp + 0xb], al
jne 0x14003dd0f
mov dword [rsp + 0x40], 0x15f5158c
mov dword [rsp + 0x44], 0x15fa1584
mov dword [rsp + 0x48], 0x159d159d
mov dword [rsp + 0x4c], 0x15921594
mov dword [rsp + 0x50], 0x15a4159a
mov dword [rsp + 0x54], 0x15d815c0
mov dword [rsp + 0x58], 0x15b015c3
mov dword [rsp + 0x5c], 0x1583158d
mov dword [rsp + 0x60], 0x158b15c7
mov dword [rsp + 0x64], 0x158e1586
mov dword [rsp + 0x68], 0x15cc158e
mov dword [rsp + 0x6c], 0x158f159a
mov dword [rsp + 0x70], 0x15d0159c
mov dword [rsp + 0x74], 0x159e1590
mov dword [rsp + 0x78], 0x15911581
mov dword [rsp + 0x7c], 0x15921594
mov dword [rbp - 0x80], 0x15d8158e
mov dword [rbp - 0x7c], 0x15951591
mov dword [rbp - 0x78], 0x15971594
mov dword [rbp - 0x74], 0x159a1598
mov dword [rbp - 0x70], 0x162115de
mov dword [rbp - 0x6c], 0x16631621
mov dword [rbp - 0x68], 0x166b166d
mov dword [rbp - 0x64], 0x166e1671
mov dword [rbp - 0x60], 0x167a1662
mov dword [rbp - 0x5c], 0x16631629
mov dword [rbp - 0x58], 0x167f1665
mov dword [rbp - 0x54], 0x166f1679
mov dword [rbp - 0x50], 0x16731661
mov dword [rbp - 0x4c], 0x16321674
mov dword [rbp - 0x48], 0x1672167c
mov dword [rbp - 0x44], 0x167d1635
mov dword [rbp - 0x40], 0x16751673
mov dword [rbp - 0x3c], 0x166a1678
mov dword [rbp - 0x38], 0x1679166b
mov dword [rbp - 0x34], 0x163e166f
mov dword [rbp - 0x30], 0x1655166d
mov dword [rbp - 0x2c], 0x164c164f
mov dword [rbp - 0x28], 0x164a164a
mov dword [rbp - 0x24], 0x16191642
mov dword [rbp - 0x20], 0x1606
mov byte [rbp - 0x1c], 1
mov ecx, 0x15d7
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x51
jb 0x14003dcf0
mov byte [rbp - 0x1c], 0
lea rdx, [rsp + 0x40]
jmp 0x14003d81b
mov r9d, ntohl
lea r8, [rbp - 0x10]
mov rdx, qword [0x14090c050]
mov rcx, rdi
call fcn.140034b60
test al, al
je 0x14003d837
mov rcx, r15
call r14
mov r9d, ntohl
lea r8, [rbp]
mov rdx, qword [0x14090c050]
mov rcx, rdi
call fcn.140034b60
mov al, 1
jmp 0x14003d839