Function at 0x1003b8c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6be8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x100ff040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe0], esi
mov ecx, dword [0x10141a38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003bb7a
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x1c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.10035720
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x110], eax
add esp, 4
mov dword [ebp - 0x10c], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0x108], str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x1003b983
lea edx, [ebp - 0x110]
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0xd8]
call fcn.1003f970
movss xmm0, dword [0x100ff4c4]
mulss xmm0, dword [0x100f3ff4]
push ecx
movss dword [ebp - 0xdc], xmm0
fld dword [ebp - 0xdc]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm0, xmmword [0x100f47b0]
xor eax, eax
xorps xmm0, xmmword [0x100f4b70]
add esp, 4
fstp dword [ebp - 0xdc]
cvttss2si ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xf0], 0xc79bdedf
mov dword [ebp - 0xec], 0xcfcfc99b
mov dword [ebp - 0xe8], 0xd29e9b81
mov word [ebp - 0xe4], 0xc8d6
mov byte [ebp - 0xe2], 0xbb
movups xmmword [ebp - 0x100], xmm0
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x18], eax
mov eax, 0x10
nop word [eax + eax]
xor byte [ebp + eax - 0x100], 0xbb
inc eax
cmp eax, 0x1f
jb 0x1003ba30
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x40]
call fcn.1003fbd0
add esp, 4
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x101445d8
push eax
call fcn.100d5c90
mov eax, dword [esi + 0x438]
mov edi, dword [ebp - 0x28]
sub eax, edi
mov ecx, dword [0x10141a44]
sub eax, 0x14
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xdc], 0x828c6ef0
mov eax, dword [ecx]
push dword [ebp - 0xdc]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10141a44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xc]
mov esi, dword [ebp - 0x104]
push eax
lea eax, [esi + 0xa]
add eax, edi
push eax
push 0xa
push esi
call edx
mov eax, dword [ebp - 0xe0]
push 1
mov edx, dword [eax + 0x438]
lea eax, [ebp - 0x40]
push eax
push ecx
mov eax, esp
sub edx, 0xf
push 0xa
push edx
mov ecx, 0x101445d8
mov dword [eax], 0xfab4a0f0
call fcn.100d5a40
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003bb1e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003bb14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003bb14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50a7
add esp, 8
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100f161c
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call fcn.10030e70
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e4c2c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret