Function at 0x10011520
Capabilities:
Encode data using xor
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100609f7
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], 0
cmp dword [0x100760f8], 0
jne 0x10011661
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
push 0
push 0x100
lea eax, [ebp - 0x210]
push eax
push 3
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
add esp, 0x24
test eax, eax
jne 0x10011661
mov ah, 0x53
mov byte [ebp - 0x213], 0
mov al, 0x76
mov byte [ebp - 0x218], ah
mov dl, al
mov byte [ebp - 0x213], 0
xor al, ah
mov cl, 0x20
xor dl, ah
mov byte [ebp - 0x217], al
mov bl, cl
mov byte [ebp - 0x215], dl
xor cl, ah
xor bl, ah
lea eax, [ebp - 0x210]
mov byte [ebp - 0x216], cl
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x214], bl
push eax
lea eax, [ebp - 0x217]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.100120f0
add esp, 0x14
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x250]
push eax
call fcn.100017e0
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
call fcn.10011020
mov eax, dword [ebp - 0x23c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10011661
inc eax
push 1
push eax
push dword [ebp - 0x250]
call fcn.10002610
add esp, 0xc
push 0xd79978
call fcn.10013960
mov esi, eax
add esp, 4
test esi, esi
je 0x100116db
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x100116db
mov eax, dword [esi]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x100116db
push 4
push esi
call edi
test eax, eax
jne 0x100116db
call fcn.1005d390
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005d860
push 0x10011420
push 0x100761a8
call fcn.1005d0a0
call fcn.1005d3f0
push 4
push esi
mov dword [0x100761a8], esi
call edi
test eax, eax
jne 0x100116db
push 0x10011420
push 0x100761a8
call fcn.100113f0
add esp, 8
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x248]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp ecx, 2
jle 0x1001171f
mov edi, 1
mov esi, edi
shl esi, cl
dec esi
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, esi
shl edi, cl
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0x2c
lea eax, [ebp - 0x264]
push eax
call ebx
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov esi, dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
test eax, eax
je 0x10011750
mov eax, dword [ebp - 0x258]
mov ecx, eax
shr ecx, 1
lea eax, [eax + eax*2]
shr eax, 1
push eax
push ecx
call ebx
push eax
call esi
call ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call esi
call fcn.10011490
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
movss xmm1, dword [0x100753f0]
movsd xmm0, qword [0x10065a18]
cvtps2pd xmm1, xmm1
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
divsd xmm0, xmm1
movsd qword [0x100761a0], xmm0
call fcn.1005eb10
divsd xmm0, qword [0x10065a18]
lea eax, [ebp - 0x220]
push eax
movsd qword [0x10076190], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
call fcn.1005eb10
divsd xmm0, qword [0x10076190]
push 0x98
lea eax, [ebp - 0x2fc]
push 0
push eax
movsd qword [0x10076198], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2fc], 0x10065518
lea ecx, [ebp - 0x2ac]
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 - 0x2f8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x21c], 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 eax, dword [ebp - 0x2fc]
mov dword [ebp - 4], 2
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 - 0x2fc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x300], eax
lea eax, [ebp - 0x2f8]
mov ecx, eax
mov dword [ebp - 0x300], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 4
movaps xmm0, xmmword [0x10065530]
mov cl, 0x4b
mov al, 0x16
mov byte [ebp - 0x300], cl
xor al, cl
mov byte [ebp - 0x2fe], 0
mov dword [ebp - 4], 4
xor ecx, ecx
mov byte [ebp - 0x2ff], al
mov byte [ebp - 0x2fe], 0
movups xmmword [ebp - 0x314], xmm0
mov dword [ebp - 0x304], 0x13683c
nop word [eax + eax]
mov al, byte [ebp - 0x314]
xor byte [ebp + ecx - 0x313], al
inc ecx
cmp ecx, 0x12
jb 0x100118e0
push 0
lea eax, [ebp - 0x324]
mov byte [ebp - 0x301], 0
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x313]
push 0x10003850
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.10002af0
add esp, 8
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___]
mov esi, eax
test esi, esi
je 0x10011940
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push dword [edi + 0xc]
push dword [edi + 8]
push eax
mov eax, dword [edi]
call eax
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
push 0x30
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::fill_char_]
lea eax, [ebp - 0x2ff]
push eax
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_]
push eax
call fcn.10002af0
add esp, 8
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x2fc]
push eax
call fcn.10003ed0
cmp dword [ebp - 0x224], 0x10
lea esi, [ebp - 0x238]
push 0x10011a90
cmovae esi, dword [ebp - 0x238]
lea edx, [ebp - 0x238]
cmovae edx, dword [ebp - 0x238]
push 0xfffffffffffffffc
push esi
push edx
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x100761ac], eax
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x100119e7
inc eax
push 1
push eax
push dword [ebp - 0x238]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 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 - 0x2fc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x300], eax
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], 5
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.100037e0
lea ecx, [ebp - 0x2f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2f4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2ac]
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret