Function at 0x14003b650
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400d0080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, r9
mov r12, rdx
mov rsi, rcx
mov r14, qword [0x14090c080]
test rdx, rdx
je 0x14003b7a7
test r14, r14
je 0x14003b7a7
mov dword [rsp + 0x20], 0xb6bdacb9
mov dword [rsp + 0x24], 0xb2b9f2b7
mov word [rsp + 0x28], 0xb3
mov byte [rsp + 0x2a], 1
xor edi, edi
mov ecx, edi
nop word [rax + rax]
lea eax, [rcx - 0x29]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x14003b6c0
mov byte [rsp + 0x2a], dil
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x14003b7c7
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], di
mov byte [rsp + 0x7a], 1
mov edx, 0x15d7
nop dword [rax + rax]
lea eax, [rdx + rdi]
xor word [rsp + rdi*2 + 0x40], ax
inc rdi
cmp rdi, 0x1c
jb 0x14003b770
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
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
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, rdi
nop word [rax + rax]
lea eax, [rcx - 0x29]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x14003b7f0
mov byte [rsp + 0x3a], dil
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x14003b8ef
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], di
mov byte [rbp - 0x6e], 1
mov edx, 0x15d7
nop dword [rax + rax]
lea eax, [rdx + rdi]
xor word [rsp + rdi*2 + 0x40], ax
inc rdi
cmp rdi, 0x28
jb 0x14003b8d0
mov byte [rbp - 0x6e], 0
lea rdx, [rsp + 0x40]
jmp 0x14003b78b
mov word [rbp - 0x10], 0xb848
mov word [rbp - 6], 0xe0ff
mov qword [rbp - 0xe], r14
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14090c0c0], eax
jle 0x14003b9ed
lea rcx, [0x14090c0c0]
call fcn.1400a9400
cmp dword [0x14090c0c0], 0xffffffff
jne 0x14003b9ed
mov dword [rsp + 0x20], 0xbe98ac99
mov dword [rsp + 0x24], 0xb1a99dbf
mov word [rsp + 0x28], 0xb2
mov byte [rsp + 0x2a], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x29]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x14003b960
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, rsi
call fcn.140035d80
mov qword [0x14090c090], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14003b9e1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b9db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b9db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
nop
lea rcx, [0x14090c0c0]
call fcn.1400a9394
mov r8, qword [0x14090c090]
test r8, r8
jne 0x14003bacf
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 edx, 0x15d7
lea eax, [rdx + rdi]
xor word [rsp + rdi*2 + 0x40], ax
inc rdi
cmp rdi, 0x2b
jb 0x14003bab0
mov byte [rbp - 0x68], 0
lea rdx, [rsp + 0x40]
jmp 0x14003b78b
mov r9d, ntohl
lea rdx, [rbp]
mov rcx, rsi
call fcn.140034ac0
test al, al
je 0x14003b7a7
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x14003bc7f
movzx eax, byte [rbp - 0xf]
cmp byte [rbp + 1], al
jne 0x14003bc7f
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
jne 0x14003bc7f
movzx eax, byte [rbp - 5]
cmp byte [rbp + 0xb], al
jne 0x14003bc7f
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 edx, 0x15d7
nop word [rax + rax]
lea eax, [rdx + rdi]
xor word [rsp + rdi*2 + 0x40], ax
inc rdi
cmp rdi, 0x51
jb 0x14003bc60
mov byte [rbp - 0x1c], 0
lea rdx, [rsp + 0x40]
jmp 0x14003b78b
mov r9d, ntohl
lea r8, [rbp - 0x10]
mov rdx, qword [0x14090c090]
mov rcx, rsi
call fcn.140034b60
test al, al
je 0x14003b7a7
mov r9, qword [rbp + 0x90]
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov rcx, rbx
call r15
mov qword [r12], rax
mov r9d, ntohl
lea r8, [rbp]
mov rdx, qword [0x14090c090]
mov rcx, rsi
call fcn.140034b60
mov al, 1
jmp 0x14003b7a9