Function at 0x14003c030
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov r14, rcx
xor r15d, r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
and edi, 0x80000007
jge 0x14003c07e
dec edi
or edi, 0xfffffff8
inc edi
add edi, 5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov esi, eax
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
sub esi, ecx
add esi, 7
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movdqa xmm0, xmmword [0x14005ce80]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xc5c7c5cb
mov dword [rsp + 0x74], 0xc7c1c3c1
mov dword [rsp + 0x78], 0xdfd1d3d1
mov word [rsp + 0x7c], 0xd3d1
xor eax, eax
mov byte [rsp + 0x7e], al
mov edx, r15d
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x74]
xor byte [rsp + rcx + 0x60], al
inc edx
cmp edx, 0x1e
jb 0x14003c0f0
mov byte [rsp + 0x7e], r15b
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003c130
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400028a0
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
movsxd rdi, edi
test rdi, rdi
je 0x14003c23c
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov r9, qword [rbp - 0x30]
lea rcx, [r9 - 1]
xor edx, edx
div rcx
movsxd rcx, edx
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp r9, rcx
jb 0x14003c617
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
add rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400028a0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.140002a10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14003c232
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c22d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c55b
call fcn.14004d170
cmp qword [rbp - 0x50], rdi
jne 0x14003c170
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movdqa xmm0, xmmword [0x14005ce90]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xdadfd4da
mov dword [rsp + 0x74], 0xf4e3e5e8
mov dword [rsp + 0x78], 0xe2eafc
mov edx, r15d
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x74]
xor byte [rsp + rcx + 0x60], al
inc edx
cmp edx, 0x1b
jb 0x14003c280
mov byte [rsp + 0x7b], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rax, [rsp + 0x60]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003c2b0
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.1400028a0
nop
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov ecx, 0xf
mov qword [rbp - 0x68], rcx
mov byte [rbp - 0x80], 0
movsxd rbx, esi
test esi, esi
je 0x14003c3be
mov rdi, qword [rbp - 0x10]
dec rdi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rdi
movsxd rcx, edx
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rax, qword [rbp - 0x30]
cmp rax, rcx
jb 0x14003c611
sub rax, rcx
mov r8d, 1
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
add rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400028a0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140002a10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14003c3b0
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c3ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c50d
call fcn.14004d170
cmp qword [rbp - 0x70], rbx
jne 0x14003c2f2
mov rcx, qword [rbp - 0x68]
mov qword [rbp], 0x50
lea rax, [0x14003c620]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rax, qword [rbp - 0x60]
mov qword [rbp + 0x38], rax
lea rax, [rbp - 0x80]
cmp rcx, 0x10
cmovae rax, qword [rbp - 0x80]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], r15
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cvttss2si eax, dword [r14 + 0x24]
cvttss2si ecx, dword [r14 + 0x20]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 2
xor ecx, ecx
mov r9d, 0x90000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [r14], rax
lea rdx, [r14 + 0x10]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xor r8d, r8d
lea edx, [r8 - 8]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xffffffec
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x800a0
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14003c519
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c514
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c514
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004d170
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14003c568
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c562
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c562
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d170
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14003c5a6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c5a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c5a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d170
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14003c5f4
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c5ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003c5ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d170
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14003bcd0
nop
call fcn.14003bcd0
int3