Function at 0x1001f030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012bc5d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 0
je 0x1001f244
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0x24]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.1001c140
mov ecx, dword [ebp - 0x2c]
mov esi, eax
add esp, 8
cmp esi, ecx
ja 0x1001f0c1
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
cmovae ecx, dword [ebp - 0x3c]
mov byte [ecx + esi], 0
jmp 0x1001f0cd
push ecx
sub eax, ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.10020040
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
lea edx, [ebp + 0x24]
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
push edx
cmovae ecx, dword [ebp - 0x3c]
lea edx, [esi + 1]
push eax
call fcn.1001c140
add esp, 8
mov dword [ebp - 0x24], 0x594b30
mov dword [ebp - 0x20], 0x845535a
xor eax, eax
mov dword [ebp - 0x1c], 0x4b091e07
mov word [ebp - 0x18], 0x4b36
mov byte [ebp - 0x16], 0x6b
xor byte [ebp + eax - 0x24], 0x6b
inc eax
cmp eax, 0xf
jb 0x1001f114
push 0xa
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push str.menu_color
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.10011990
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x101e95f0
call fcn.10010770
movss xmm1, dword [0x10162960]
movss xmm0, dword [eax + 0xc]
mulss xmm0, xmm1
cvttss2si ebx, xmm0
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm1
mov byte [ebp - 0x57], cl
mov ecx, dword [0x101f4690]
mov byte [ebp - 0x56], dl
lea edx, [ebp - 0x24]
cvttss2si eax, xmm0
mov byte [ebp - 0x55], bl
push edx
lea edx, [ebp - 0x58]
push edx
push ecx
mov byte [ebp - 0x58], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
call eax
mov byte [ebp - 4], 1
add esp, 0xc
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1001f1f3
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f1e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f1e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov eax, dword [0x101f4690]
lea edx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
cmovae edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
push edx
push 0x101b310c
push eax
mov eax, dword [ecx + 0x64]
call eax
mov edx, dword [ebp - 0x28]
add esp, 0xc
cmp edx, 0x10
jb 0x1001f244
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f23a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f27c
push edx
push ecx
call fcn.10128808
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x1001f28c
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f282
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f282
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
ret