Function at 0x10032640
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 0x100dddce
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x200
mov eax, dword [0x100f500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10184a94], 0
je 0x10032c18
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x2c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x178]
call fcn.1002c150
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x18c], eax
add esp, 4
mov dword [ebp - 0x188], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0x184], str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x100326f3
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x178]
call fcn.100366a0
movss xmm0, dword [0x1016e738]
mulss xmm0, dword [0x100e9e64]
push ecx
movss dword [ebp - 0x17c], xmm0
fld dword [ebp - 0x17c]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x100e9cac]
xor eax, eax
fstp dword [ebp - 0x17c]
cvttss2si ecx, dword [ebp - 0x17c]
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x10186dbc]
divss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x17c], xmm0
fld dword [ebp - 0x17c]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x17c]
cvttss2si eax, dword [ebp - 0x17c]
add esp, 4
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.1002c3b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1ac]
movaps xmm0, xmmword [0x100ea2c0]
cmp dword [ebp - 0x198], 0x10
movaps xmm2, xmmword [0x100ea3e0]
cmovae eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0x210], xmm0
mov dword [ebp - 0x194], eax
xor eax, eax
movaps xmm0, xmmword [str._IWZHfeGeIOO]
movups xmmword [ebp - 0x200], xmm0
mov dword [ebp - 0x1e0], 0x1e1b471b
movaps xmm0, xmmword [0x100ea700]
movups xmmword [ebp - 0x1f0], xmm0
mov word [ebp - 0x1dc], 0x3b48
movups xmm0, xmmword [ebp + eax - 0x210]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x210], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x10032801
cmp eax, 0x36
jae 0x1003283e
nop word [eax + eax]
xor byte [ebp + eax - 0x210], 0x3b
inc eax
cmp eax, 0x36
jb 0x10032830
push 0x98
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.1002c150
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1d8], eax
mov esi, eax
mov dword [ebp - 0x1d4], 3
mov edi, 3
mov ecx, esi
call fcn.100223e0
add esi, 0xc
sub edi, 1
jne 0x10032880
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x188], 0x100370c0
push dword [ebp - 0x1d8]
mov dword [ebp - 0x18c], eax
lea edx, [ebp - 0x210]
movq xmm0, qword [ebp - 0x18c]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0xe0]
movq qword [ebp - 0x1d0], xmm0
lea eax, [ebp - 0x194]
mov dword [ebp - 0x188], 0x100370c0
movq xmm0, qword [ebp - 0x18c]
movq qword [ebp - 0x1c4], xmm0
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], 0x1002c7c0
movq xmm0, qword [ebp - 0x18c]
mov dword [ebp - 0x1c8], 0x10037240
mov dword [ebp - 0x1bc], 0x10037240
movq qword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1b0], fcn.1002c7e0
call fcn.1002a270
add esp, 8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0xdc]
push eax
call fcn.1002c3b0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x100e85f4
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.10028340
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x90]
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], 4
mov ecx, dword [ebp - 0x198]
cmp ecx, 0x10
jb 0x100329d2
mov edx, dword [ebp - 0x1ac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100329c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100329c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x19c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x198], 0xf
push eax
mov ecx, 0x10189468
mov byte [ebp - 0x1ac], 0
call fcn.100ce380
mov eax, dword [0x10184cf8]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x10186d6c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x190], eax
mov eax, dword [0x1016e748]
sub eax, edi
mov dword [ebp - 0x180], 0xc8232323
push dword [ebp - 0x180]
sub eax, 0x12
mov dword [ebp - 0x17c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x12]
mov esi, dword [ebp - 0x17c]
push eax
lea eax, [edi + 8]
add eax, esi
push eax
push 0xa
push esi
call edx
mov edx, dword [ebp - 0x190]
mov eax, edx
mov ecx, dword [0x10186d6c]
mov edi, dword [0x1016e748]
mov esi, dword [ebp - 0x1c]
sub edi, esi
shr eax, 0x18
sub edi, 0x12
mov dword [ebp - 0x180], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
add esi, 8
push 1
push 0
push dword [ebp - 0x180]
mov eax, dword [ecx]
add esi, edi
push 0xc
push esi
push 0xa
mov eax, dword [eax + 0x1ec]
push edi
call eax
mov ecx, dword [0x10186d6c]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0xc
push esi
push 0xa
mov eax, dword [eax + 0x1ec]
push edi
call eax
mov edi, dword [0x1016e748]
sub edi, dword [ebp - 0x1c]
sub edi, 0x14
mov dword [ebp - 0x17c], edi
mov ecx, dword [0x10186d6c]
push dword [ebp - 0x190]
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
add esi, 0x12
push 0
push 0
push dword [ebp - 0x180]
mov eax, dword [ecx]
add edi, 2
push esi
push edi
push 0xa
push dword [ebp - 0x17c]
mov eax, dword [eax + 0x1ec]
call eax
mov ecx, dword [0x10186d6c]
push 0xc8232323
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
push 0
push 0xc8
push 0
mov eax, dword [ecx]
push esi
push edi
push 0xa
push dword [ebp - 0x17c]
mov eax, dword [eax + 0x1ec]
call eax
mov edx, dword [0x1016e748]
lea eax, [ebp - 0x48]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff2
push 0xe
push edx
mov ecx, 0x10189468
mov dword [eax], 0xffffffff
call fcn.100ce130
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10032bbc
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032bb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10032bb2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x178], 0x100e85f4
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x17c], eax
lea ecx, [ebp - 0x174]
call fcn.10028340
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x128]
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.100dbfd5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret