Function at 0x10038bf0
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 0x100d8f3c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x100f0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], 0
cmp byte [0x100ffac0], 0
je 0x100391d0
mov ecx, dword [0x10121838]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100391d0
mov esi, dword [0x100ffdac]
push 0
mov dword [ebp - 0x178], 0xc80f0f0f
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x24], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x100e3608
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x174], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x100e3604
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x16c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x16c], 0x100e359c
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 4
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x188], eax
add esp, 4
mov dword [ebp - 0x184], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0x180], str._H:_M:_S
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x10038d60
lea edx, [ebp - 0x188]
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x170]
call fcn.1003cdc0
movss xmm0, dword [0x100f0484]
mulss xmm0, dword [0x100e5b6c]
push ecx
movss dword [ebp - 0x174], xmm0
fld dword [ebp - 0x174]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x174]
cvttss2si ecx, dword [ebp - 0x174]
xor eax, eax
add esp, 4
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.10032700
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c4]
cmp dword [ebp - 0x1b0], 0xf
movaps xmm0, xmmword [0x100e6520]
cmova eax, dword [ebp - 0x1c4]
xorps xmm0, xmmword [0x100e68e0]
mov dword [ebp - 0x1ac], eax
mov eax, 0x10
mov dword [ebp - 0x198], 0xeca2a2a4
mov dword [ebp - 0x194], 0xbbbff3f6
mov dword [ebp - 0x190], 0xf6aaf6a5
mov word [ebp - 0x18c], 0xa5f3
mov byte [ebp - 0x18a], 0xd6
movups xmmword [ebp - 0x1a8], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x1a8], 0xd6
inc eax
cmp eax, 0x1f
jb 0x10038e40
push 0x98
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x100e3608
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x174], 0xb
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100e3604
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 dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xd4], 0x100e359c
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 4
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 6
mov dword [ebp - 0x1e4], eax
mov ecx, 2
mov dword [ebp - 0x1e0], 2
lea eax, [ebp - 0x1d4]
nop dword [eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10038f20
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x184], 0x1003ddf0
push dword [ebp - 0x1e4]
mov dword [ebp - 0x188], eax
lea edx, [ebp - 0x1a8]
movq xmm0, qword [ebp - 0x188]
lea eax, [ebp - 0x1ac]
movq qword [ebp - 0x1dc], xmm0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 0x10033030
movq xmm0, qword [ebp - 0x188]
mov dword [ebp - 0x1d4], 0x1003de10
movq qword [ebp - 0x1d0], xmm0
mov dword [ebp - 0x1c8], fcn.10033050
call fcn.100303f0
add esp, 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xd4]
push eax
call fcn.10032700
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100e3604
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.1002e3f0
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 byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1b0]
cmp ecx, 0xf
jbe 0x10039053
mov edx, dword [ebp - 0x1c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039049
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039049
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7387
add esp, 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1b4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1b0], 0xf
push eax
mov ecx, 0x10124340
mov byte [ebp - 0x1c4], 0
call fcn.100c8740
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [0x10121844]
push dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov eax, dword [0x100f0494]
sub eax, edi
sub eax, 0x12
mov dword [ebp - 0x174], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10121844]
add edi, 8
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x17c]
add eax, 0x12
push eax
mov eax, dword [ebp - 0x174]
add eax, edi
push eax
push 0xa
push dword [ebp - 0x174]
call edx
mov eax, dword [0x100f0494]
mov edi, dword [ebp - 0x20]
sub eax, edi
mov ecx, dword [0x10121844]
sub eax, 0x12
mov dword [ebp - 0x17c], eax
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10121844]
mov esi, dword [ebp - 0x17c]
push 0xc
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + 8]
add eax, esi
push eax
push 0xa
push esi
call edx
mov edx, dword [0x100f0494]
lea eax, [ebp - 0x40]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff2
push 0xe
push edx
mov ecx, 0x10124340
mov dword [eax], 0xffffffff
call fcn.100c84b0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10039174
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003916a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003916a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7387
add esp, 8
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x100e3604
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x16c]
call fcn.1002e3f0
lea ecx, [ebp - 0x168]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x120]
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.100d6f0c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret