Function at 0x1005b370
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 0x1011932a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x10135364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 0x194], 0
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.10054320
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 - 0x1dc], eax
add esp, 4
mov dword [ebp - 0x1d8], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0x1d4], str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x1005b420
lea edx, [ebp - 0x1dc]
mov dword [ebp - 0x1d4], eax
lea ecx, [ebp - 0x190]
call fcn.10060ff0
movss xmm0, dword [0x10142e04]
mulss xmm0, dword [0x1012865c]
push ecx
movss dword [ebp - 0x198], xmm0
fld dword [ebp - 0x198]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x101284c0]
xor eax, eax
fstp dword [ebp - 0x198]
cvttss2si ecx, dword [ebp - 0x198]
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x101fda48]
divss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x198], xmm0
fld dword [ebp - 0x198]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x198]
cvttss2si eax, dword [ebp - 0x198]
mov dword [ebp - 0x2c], 0
add esp, 4
mov dword [ebp - 0x28], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 1
mov dword [ebp - 0x194], 0x766564
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005b4e8
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004fe90
cmp byte [0x10154490], 0
mov eax, dword [0x10154534]
mov ecx, dword [0x10142ed4]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], eax
je 0x1005b559
add ecx, 3
mov eax, 0x64
cmp ecx, eax
mov edx, 0xc8
cmovg ecx, eax
mov eax, dword [0x10142ed8]
add eax, 3
cmp eax, edx
cmovg eax, edx
mov edx, 0x96
mov dword [0x10142ed8], eax
mov eax, dword [0x10142edc]
add eax, 3
cmp eax, edx
cmovg eax, edx
jmp 0x1005b57e
xor eax, eax
add ecx, 0xfffffffd
cmovs ecx, eax
mov eax, dword [0x10142ed8]
xor edx, edx
add eax, 0xffffffec
cmovs eax, edx
mov dword [0x10142ed8], eax
mov eax, dword [0x10142edc]
add eax, 0xfffffff6
cmovs eax, edx
mov dword [0x10142edc], eax
mov dword [0x10142ed4], ecx
test ecx, ecx
jle 0x1005be2c
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x18c]
call fcn.10054560
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1e8]
cmp dword [ebp - 0x1d4], 0x10
movaps xmm0, xmmword [0x10129920]
cmovae eax, dword [ebp - 0x1e8]
movups xmmword [ebp - 0x1d0], xmm0
mov dword [ebp - 0x224], eax
xor eax, eax
movaps xmm0, xmmword [0x10129190]
movups xmmword [ebp - 0x1c0], xmm0
mov dword [ebp - 0x1b0], 0x1a4554
mov dword [ebp - 0x1ac], 0x5c004905
mov dword [ebp - 0x1a8], 0x20530500
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x1d0]
movaps xmm1, xmmword [0x10128ed0]
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x1d0], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x1005b600
cmp eax, 0x2c
jae 0x1005b63e
nop word [eax + eax]
xor byte [ebp + eax - 0x1d0], 0x20
inc eax
cmp eax, 0x2c
jb 0x1005b630
push 0x98
lea eax, [ebp - 0xf8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf8], 0x10126e78
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 byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x194], 5
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], 0x10126e74
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], 0x10126d78
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 4
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
mov dword [ebp - 0x220], eax
mov ecx, 4
mov dword [ebp - 0x21c], 4
lea eax, [ebp - 0x210]
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 0x1005b710
push dword [ebp - 0x21c]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x214], 0x10061810
push dword [ebp - 0x220]
mov dword [ebp - 0x218], eax
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x210], fcn.10054d40
mov dword [ebp - 0x20c], eax
lea ecx, [ebp - 0xf8]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x208], 0x10061a40
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x204], 0x10061a60
mov dword [ebp - 0x1fc], 0x10061a40
mov dword [ebp - 0x1f8], 0x10061a60
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], 0x10054d20
mov dword [ebp - 0x1ec], fcn.10054d40
call fcn.10051ed0
add esp, 8
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xf4]
push eax
call fcn.10054560
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x10126e74
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.1004fa00
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_]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1d4]
cmp ecx, 0x10
jb 0x1005b85d
mov edx, dword [ebp - 0x1e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b853
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b853
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10116adb
add esp, 8
mov ecx, dword [0x101fd9e8]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
jne 0x1005bb6a
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x18c]
call fcn.10054560
mov byte [ebp - 4], 8
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
movaps xmm0, xmmword [0x10129920]
cmovae eax, dword [ebp - 0x254]
movaps xmm1, xmmword [0x10128ed0]
movups xmmword [ebp - 0x1c8], xmm0
mov dword [ebp - 0x198], eax
xor eax, eax
movaps xmm0, xmmword [0x10129910]
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1a8], 0x20530500
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x1c8]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x1c8], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x1005b8f0
cmp eax, 0x24
jae 0x1005b91e
xor byte [ebp + eax - 0x1c8], 0x20
inc eax
cmp eax, 0x24
jb 0x1005b910
push 0x98
lea eax, [ebp - 0xf8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf8], 0x10126e78
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 byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x194], 0x5f
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], 0xa
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x10126e74
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], 0x10126d78
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 4
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x208], eax
mov ecx, 2
mov dword [ebp - 0x204], 2
lea eax, [ebp - 0x1f8]
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 0x1005b9f0
push dword [ebp - 0x204]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1fc], 0x10061810
push dword [ebp - 0x208]
mov dword [ebp - 0x200], eax
lea edx, [ebp - 0x1c8]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x1f8], fcn.10054d40
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], 0x10054d20
mov dword [ebp - 0x1ec], fcn.10054d40
call fcn.10051ed0
add esp, 8
lea eax, [ebp - 0x23c]
lea ecx, [ebp - 0xf4]
push eax
call fcn.10054560
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], 0x10126e74
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.1004fa00
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 eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x60]
call fcn.100603c0
mov ecx, dword [ebp - 0x228]
cmp ecx, 0x10
jb 0x1005bb0f
mov edx, dword [ebp - 0x23c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bb05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bb5a
push ecx
push edx
call fcn.10116adb
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
cmp ecx, 0x10
jb 0x1005bb6a
mov edx, dword [ebp - 0x254]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bb60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005bb60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10116adb
add esp, 8
lea eax, [ebp - 0x60]
mov ecx, 0x102006a4
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10107830
mov eax, dword [0x10142e14]
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov ecx, dword [0x101fd9f4]
sub eax, 0x17
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x198], eax
mov eax, dword [0x10142ed4]
mov byte [ebp - 0x191], al
mov eax, dword [ecx]
mov word [ebp - 0x194], 0x505
mov byte [ebp - 0x192], 5
push dword [ebp - 0x194]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101fd9f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x11]
mov esi, dword [ebp - 0x198]
push eax
lea eax, [edi + 0xf]
add eax, esi
push eax
push 5
push esi
call edx
mov eax, dword [0x10142e14]
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov ecx, dword [0x101fd9f4]
sub eax, 0x16
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x198], eax
mov eax, dword [0x10142ed4]
mov byte [ebp - 0x191], al
mov eax, dword [ecx]
mov word [ebp - 0x194], 0x2d2d
mov byte [ebp - 0x192], 0x2d
push dword [ebp - 0x194]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101fd9f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x198]
push eax
lea eax, [edi + 0xd]
add eax, esi
push eax
push 6
push esi
call edx
mov eax, dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [ebp - 0x19a]
mov esi, dword [ebp - 0x18]
movzx ecx, al
mov dword [ebp - 0x1a0], ecx
mov ecx, dword [0x10142e14]
sub ecx, edi
movzx eax, ah
sub ecx, 0x16
mov dword [ebp - 0x198], eax
mov eax, dword [0x10142ed8]
mov dword [ebp - 0x19c], ecx
mov ecx, dword [ebp - 0x1a0]
mov byte [ebp - 0x194], cl
mov ecx, dword [ebp - 0x198]
mov byte [ebp - 0x193], cl
mov ecx, dword [0x101fd9f4]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 0x192], dl
mov byte [ebp - 0x191], al
mov eax, dword [ecx]
push dword [ebp - 0x194]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101fd9f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi - 7]
mov esi, dword [ebp - 0x19c]
push eax
lea eax, [edi + 0xe]
add eax, esi
push eax
push 6
push esi
call edx
mov ecx, dword [0x10142e14]
mov edi, dword [ebp - 0x1c]
sub ecx, edi
mov eax, dword [0x10142edc]
sub ecx, 0x17
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x19c], ecx
mov ecx, dword [ebp - 0x1a0]
mov byte [ebp - 0x194], cl
mov ecx, dword [ebp - 0x198]
mov byte [ebp - 0x193], cl
mov ecx, dword [ebp - 0x1a4]
mov byte [ebp - 0x192], cl
mov ecx, dword [0x101fd9f4]
mov byte [ebp - 0x191], al
push dword [ebp - 0x194]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101fd9f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi - 8]
mov esi, dword [ebp - 0x19c]
push eax
lea eax, [edi + 0xe]
add eax, esi
push eax
push 6
push esi
call edx
mov eax, dword [0x10142e14]
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov ecx, dword [0x101fd9f4]
sub eax, 0x15
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1a4], eax
mov eax, dword [0x10142ed4]
mov byte [ebp - 0x191], al
mov eax, dword [ecx]
mov word [ebp - 0x194], 0x1818
mov byte [ebp - 0x192], 0x18
push dword [ebp - 0x194]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101fd9f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xf]
mov esi, dword [ebp - 0x1a4]
push eax
lea eax, [esi + 0xb]
add eax, edi
push eax
push 7
push esi
call edx
mov esi, dword [0x10142e14]
lea eax, [ebp - 0x60]
mov edx, dword [0x10142ed4]
add esi, 0xfffffff1
push 1
push eax
push ecx
mov eax, esp
mov ecx, 0x102006a4
push 0xc
push esi
mov word [eax], 0xffff
mov byte [eax + 2], 0xff
mov byte [eax + 3], dl
call fcn.101075e0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1005be1a
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005be10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be52
push ecx
push edx
call fcn.10116adb
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x1005be62
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005be58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005be58
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10116adb
add esp, 8
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x190], 0x10126e74
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.1004fa00
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.10116660
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret