Function at 0x1003de50
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 0x100ffc30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x1011c0c0]
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 - 0x1b0], ecx
mov dword [ebp - 0x1a8], 0
cmp byte [0x1013108c], 0
je 0x1003e880
mov esi, dword [0x101311e8]
push 0
mov dword [ebp - 0x1b4], 0xd20f0f0f
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x44], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.100395a0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x1a4], eax
add esp, 4
mov dword [ebp - 0x1a0], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0x19c], str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x1003df23
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x190]
call fcn.10042dd0
movss xmm0, dword [0x1011dd20]
mulss xmm0, dword [0x1010fadc]
push ecx
movss dword [ebp - 0x194], xmm0
fld dword [ebp - 0x194]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x1010f918]
xor eax, eax
fstp dword [ebp - 0x194]
cvttss2si ecx, dword [ebp - 0x194]
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x101c3a0c]
divss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x194], xmm0
fld dword [ebp - 0x194]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x194]
cvttss2si eax, dword [ebp - 0x194]
add esp, 4
mov dword [ebp - 0x1a4], 0x4e170f23
mov dword [ebp - 0x1a0], 0x5c4e5d4e
mov dword [ebp - 0x19c], 0x6e5a5c5e
mov dword [ebp - 0x24], eax
xor eax, eax
nop dword [eax + eax]
xor byte [ebp + eax - 0x1a4], 0x6e
inc eax
cmp eax, 0xc
jb 0x1003dfe0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e010
sub ecx, edx
lea eax, [ebp - 0x1a4]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10035b40
mov byte [ebp - 4], 1
mov ecx, dword [0x101c39b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1003e090
mov ecx, dword [0x101c39b0]
mov dword [ebp - 0x1a0], 0x706f6f6c
mov dword [ebp - 0x19c], 0x6b636162
mov byte [ebp - 0x198], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
lea ecx, [ebp - 0x1a0]
push ecx
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
jmp 0x1003e096
lea eax, [ebp - 0x1a9]
mov ecx, dword [0x101c39b0]
mov dword [ebp - 0x194], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1003e0d0
mov ecx, dword [0x101c39b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
mov edi, eax
jmp 0x1003e0d6
lea edi, [ebp - 0x1a9]
mov ecx, dword [0x101c39b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
lea ecx, [ebp - 0x18c]
test al, al
je 0x1003e3c3
lea eax, [ebp - 0x220]
push eax
call fcn.10039820
mov byte [ebp - 4], 2
lea eax, [ebp - 0x220]
cmp dword [ebp - 0x20c], 0xf
mov dword [ebp - 0x1a8], 0x101
cmova eax, dword [ebp - 0x220]
cmp dword [ebp - 0x194], 0
mov dword [ebp - 0x1bc], eax
je 0x1003e174
mov dword [ebp - 0x1a4], 0xf0d0102
xor eax, eax
mov dword [ebp - 0x1a0], 0xb1d4e02
mov dword [ebp - 0x19c], 0x1c0b181c
mov byte [ebp - 0x198], 0x6e
nop word [eax + eax]
xor byte [ebp + eax - 0x1a4], 0x6e
inc eax
cmp eax, 0xd
jb 0x1003e160
lea edi, [ebp - 0x1a4]
movaps xmm0, xmmword [0x10110090]
xor eax, eax
movaps xmm1, xmmword [0x10110ae0]
movups xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1b8], edi
movaps xmm0, xmmword [0x10110450]
movups xmmword [ebp - 0x1e0], xmm0
movaps xmm0, xmmword [0x10110a50]
movups xmmword [ebp - 0x1d0], xmm0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x1f0]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x1f0], xmm0
add eax, 0x10
cmp eax, 0x30
jb 0x1003e1b0
push 0x98
lea eax, [ebp - 0xf8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf8], 0x1010d828
lea ecx, [ebp - 0xa8]
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 - 0xf4]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x1a8], 0x121
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], 4
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x1010d824
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xf4], 0x1010d7cc
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 4
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 5
mov dword [ebp - 0x258], eax
mov ecx, 4
mov dword [ebp - 0x254], 4
lea eax, [ebp - 0x248]
nop
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x1003e2a0
push dword [ebp - 0x254]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24c], 0x10043f90
push dword [ebp - 0x258]
mov dword [ebp - 0x250], eax
lea edx, [ebp - 0x1f0]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x248], 0x10043fb0
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0xf8]
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x240], 0x10043f90
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x23c], 0x10043fb0
mov dword [ebp - 0x234], 0x10039c20
mov dword [ebp - 0x230], fcn.10039c40
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0x10039c20
mov dword [ebp - 0x224], fcn.10039c40
call fcn.100373c0
add esp, 8
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0xf4]
push eax
call fcn.10039820
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x1010d824
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xf4]
call fcn.10035020
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x270]
mov eax, 0x173
jmp 0x1003e470
lea eax, [ebp - 0x208]
push eax
call fcn.10039820
mov dword [ebp - 4], 7
lea eax, [ebp - 0x208]
cmp dword [ebp - 0x1f4], 0xf
movaps xmm0, xmmword [0x10110ae0]
cmova eax, dword [ebp - 0x208]
xorps xmm0, xmmword [0x10110090]
mov dword [ebp - 0x1c0], eax
mov eax, 0x10
mov dword [ebp - 0x1a8], 0x84
mov dword [ebp - 0x1d0], 0x4e00074e
mov dword [ebp - 0x1cc], 0x1b000b03
mov dword [ebp - 0x1c8], 0x4b4e124e
mov word [ebp - 0x1c4], 0x6e1d
movups xmmword [ebp - 0x1e0], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x1e0], 0x6e
inc eax
cmp eax, 0x1e
jb 0x1003e440
lea eax, [ebp - 0x1c0]
push eax
lea edx, [ebp - 0x1e0]
lea ecx, [ebp - 0x288]
call fcn.10039900
mov ecx, eax
add esp, 4
mov eax, 0x8c
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 8
test al, 8
je 0x1003e516
mov ecx, dword [ebp - 0x274]
and eax, 0xfffffff7
mov dword [ebp - 0x1a8], eax
cmp ecx, 0xf
jbe 0x1003e4fb
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e4eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e61e
push ecx
push edx
call fcn.100fe0da
mov eax, dword [ebp - 0x1a8]
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
mov byte [ebp - 4], 9
test al, 4
je 0x1003e582
mov ecx, dword [ebp - 0x1f4]
and eax, 0xfffffffb
mov dword [ebp - 0x1a8], eax
cmp ecx, 0xf
jbe 0x1003e567
mov edx, dword [ebp - 0x208]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e557
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e61e
push ecx
push edx
call fcn.100fe0da
mov eax, dword [ebp - 0x1a8]
add esp, 8
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
mov byte [ebp - 4], 0xa
test al, 2
je 0x1003e5ea
mov ecx, dword [ebp - 0x25c]
and eax, 0xfffffffd
mov dword [ebp - 0x1a8], eax
cmp ecx, 0xf
jbe 0x1003e5cf
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e5bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e61e
push ecx
push edx
call fcn.100fe0da
mov eax, dword [ebp - 0x1a8]
add esp, 8
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
mov byte [ebp - 4], 0xb
test al, 1
je 0x1003e649
mov ecx, dword [ebp - 0x20c]
cmp ecx, 0xf
jbe 0x1003e62e
mov edx, dword [ebp - 0x220]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e624
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e624
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0xf
mov byte [ebp - 0x220], 0
lea eax, [ebp - 0x3c]
mov ecx, 0x101e8a3c
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100ed560
mov edi, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x101c39bc]
push dword [ebp - 0x1b4]
mov edi, dword [edi + 0x3f0]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1c]
sub edi, eax
mov dword [ebp - 0x1a8], eax
sub edi, 0x12
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101c39bc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x194]
add eax, 0xf
push eax
mov eax, dword [ebp - 0x1a8]
add eax, 8
add eax, edi
push eax
push 0xa
push edi
call edx
mov eax, dword [ebp - 0x1b0]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x101c39bc]
push esi
mov eax, dword [eax + 0x3f0]
sub eax, edi
sub eax, 0x12
mov dword [ebp - 0x194], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101c39bc]
add edi, 8
push 0xb
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x194]
add eax, edi
push eax
push 0xa
push dword [ebp - 0x194]
call edx
mov eax, dword [ebp - 0x1b0]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x101c39bc]
push esi
mov eax, dword [eax + 0x3f0]
sub eax, edi
sub eax, 0x11
mov dword [ebp - 0x194], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101c39bc]
add edi, 6
push 0xb
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x194]
add eax, edi
push eax
push 9
push dword [ebp - 0x194]
call edx
mov eax, dword [ebp - 0x1b0]
mov edi, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3f0]
sub eax, edi
sub eax, 0x10
mov ecx, dword [0x101c39bc]
mov dword [ebp - 0x194], eax
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101c39bc]
mov esi, dword [ebp - 0x194]
push 0xb
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + 4]
add eax, esi
push eax
push 8
push esi
call edx
mov eax, dword [ebp - 0x1b0]
push 1
mov edx, dword [eax + 0x3f0]
lea eax, [ebp - 0x3c]
push eax
push ecx
mov eax, esp
sub edx, 0xf
push 0xc
push edx
mov ecx, 0x101e8a3c
mov dword [eax], 0xffffffff
call fcn.100ed120
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x1003e7ee
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e7e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e826
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 0xf
jbe 0x1003e836
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e82c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e82c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x190], 0x1010d824
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x194], eax
lea ecx, [ebp - 0x18c]
call fcn.10035020
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x140]
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.100fdc5c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret