Function at 0x10013e60
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 0x1007f43b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x318
mov eax, dword [0x10091040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10092548], 0
jne 0x10013ff6
push 0x100
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
push 0
push 0x100
lea eax, [ebp - 0x218]
push eax
push 3
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
add esp, 0x24
test eax, eax
jne 0x10013ff6
mov ch, 0xc
mov byte [ebp - 0x2e3], 0
mov cl, 0x7f
mov byte [ebp - 0x2e8], ch
mov al, 0x29
mov byte [ebp - 0x2e3], 0
mov dl, al
mov ah, cl
xor al, ch
xor ah, ch
mov byte [ebp - 0x2e7], al
xor cl, ch
mov byte [ebp - 0x2e4], ah
xor dl, ch
lea eax, [ebp - 0x218]
mov byte [ebp - 0x2e6], cl
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x2e5], dl
push eax
lea eax, [ebp - 0x2e7]
push eax
lea eax, [ebp - 0x118]
push 0x100
push eax
call fcn.100144f0
xorps xmm0, xmm0
mov dword [ebp - 0x304], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x300], 0
add esp, 0x14
lea edx, [ecx + 1]
movups xmmword [ebp - 0x314], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013f85
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x314]
call fcn.100024a0
lea ecx, [ebp - 0x314]
mov dword [ebp - 4], 0
call fcn.10013420
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x300]
cmp ecx, 0xf
jbe 0x10013ff6
mov edx, dword [ebp - 0x314]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013fec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013fec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov ecx, 0xd79978
call fcn.10014f70
mov esi, eax
test esi, esi
je 0x10014080
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x10014080
mov eax, dword [esi]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x10014080
push 4
push esi
call edi
test eax, eax
jne 0x10014080
call fcn.1007bcc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1007c190
push 0x10013e40
push 0x10093444
call fcn.1007b9d0
call fcn.1007bd20
push 4
push esi
mov dword [0x10093444], esi
call edi
test eax, eax
jne 0x10014080
call fcn.1007bcc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1007c190
push 0x10013e40
push 0x10093444
call fcn.1007b540
call fcn.1007bd20
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
movsd xmm0, qword [0x10088f28]
mov edx, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x240]
movsd qword [0x10093448], xmm0
call fcn.1007e240
divsd xmm0, qword [0x10088f48]
lea eax, [ebp - 0x248]
push eax
movsd qword [0x10093458], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x248]
call fcn.1007e240
divsd xmm0, qword [0x10093458]
push 0x98
lea eax, [ebp - 0x2e0]
push 0
push eax
movsd qword [0x10093450], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x2e0]
call fcn.100042b0
mov dword [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100897a0]
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2ec], 0x1e6531
nop word [eax + eax]
mov al, byte [ebp - 0x2fc]
xor byte [ebp + ecx - 0x2fb], al
inc ecx
cmp ecx, 0x12
jb 0x10014140
lea edx, [ebp - 0x2fb]
mov byte [ebp - 0x2e9], 0
lea ecx, [ebp - 0x2e0]
call fcn.10003930
push 0x10003840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push 0
mov esi, eax
lea eax, [ebp - 0x328]
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [esi]
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dl, 0x22
mov byte [ebp - 0x2e6], 0
mov cl, 0x7f
mov byte [ebp - 0x2e8], dl
xor cl, dl
mov byte [ebp - 0x2e6], 0
mov byte [ebp - 0x2e7], cl
lea edx, [ebp - 0x2e7]
mov ecx, eax
call fcn.10003930
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.10003750
cmp dword [ebp - 0x220], 0xf
lea esi, [ebp - 0x234]
push 0x100135d0
cmova esi, dword [ebp - 0x234]
lea edx, [ebp - 0x234]
cmova edx, dword [ebp - 0x234]
push 0xfffffffffffffffc
push esi
push edx
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 0x220]
mov dword [0x10093460], eax
cmp ecx, 0xf
jbe 0x10014273
mov edx, dword [ebp - 0x234]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10014269
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10014269
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2e4], eax
lea ecx, [ebp - 0x2dc]
call fcn.10004200
lea ecx, [ebp - 0x2d8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x290]
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.1007d0a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret