Function at 0x1001130a
Capabilities:
Encode data using xor

Disassembly:
push 0x1ac
mov eax, 0x10070a0b
call fcn.10039b20
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
mov dword [0x10095cf0], eax
test edi, edi
je 0x1001194d
cmp dword [ebp + 0xc], 1
jne 0x1001194d
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.10051560
add esp, 0xc
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 4], ebx
mov eax, 0x10092e30
cmp dword [0x10092e44], 0x10
mov dword [ebp - 0x13c], ebx
cmovae eax, dword [0x10092e30]
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 0x14c], bl
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1b
pop ebx
mov cl, 0x72
mov dword [ebp - 0x128], 0x6023d72
mov byte [ebp - 0x124], bl
xor edx, edx
mov dword [ebp - 0x123], 0x3b5c1c1d
mov byte [ebp - 0x11f], 0x1c
mov byte [ebp - 0x11e], bl
mov byte [ebp - 0x11d], 0
xor cl, byte [ebp + edx - 0x127]
mov byte [ebp + edx - 0x127], cl
inc edx
cmp edx, 0xa
jae 0x100113da
mov cl, byte [ebp - 0x128]
jmp 0x100113be
lea eax, [ebp - 0x127]
mov byte [ebp - 0x11d], 0
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esi], 0
je 0x1001141c
cmp edi, dword [esi]
jne 0x1001141c
mov ecx, esi
call fcn.10011aa6
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.100027bc
mov al, 1
jmp 0x1001194f
cmp dword [esi + 4], 0
je 0x1001169f
cmp edi, dword [esi + 4]
jne 0x1001169f
cmp dword [0x10099f84], 1
jne 0x10011405
mov ecx, dword [esi + 0x18]
mov byte [0x10095c4f], 1
call fcn.1000c0d0
push eax
lea ecx, [ebp - 0x134]
call fcn.100023e9
xor ebx, ebx
mov byte [ebp - 4], 1
mov edi, ebx
cmp dword [ebp - 0x124], ebx
jbe 0x10011493
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
movsx eax, byte [eax + edi]
push eax
call fcn.1005896d
pop ecx
test eax, eax
je 0x100115ae
inc edi
cmp edi, dword [ebp - 0x124]
jb 0x10011463
mov ecx, dword [esi + 0x18]
call fcn.1000c0d0
cmp dword [eax + 0x14], 0x10
jb 0x100114a3
mov eax, dword [eax]
push eax
call fcn.100593e8
mov dword [esi + 0x1c], eax
pop ecx
cmp eax, 0x64
jle 0x100115a3
movaps xmm0, xmmword [0x100874f0]
mov ecx, ebx
movups xmmword [ebp - 0x160], xmm0
mov word [ebp - 0x150], 0x914
mov byte [ebp - 0x14e], bl
mov al, byte [ebp + ecx - 0x15f]
xor al, byte [ebp - 0x160]
mov byte [ebp + ecx - 0x15f], al
inc ecx
cmp ecx, 0x11
jb 0x100114d5
lea eax, [ebp - 0x15f]
mov byte [ebp - 0x14e], bl
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10002907
mov byte [ebp - 4], 4
mov ecx, ebx
movaps xmm0, xmmword [str.7rOT_VYPR]
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x164], 0x161952
movaps xmm0, xmmword [0x10087b20]
movups xmmword [ebp - 0x174], xmm0
mov al, byte [ebp + ecx - 0x183]
xor al, byte [ebp - 0x184]
mov byte [ebp + ecx - 0x183], al
inc ecx
cmp ecx, 0x22
jb 0x10011533
lea eax, [ebp - 0x183]
mov byte [ebp - 0x161], bl
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10002907
push ebx
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1a0]
and dword [esp], 0
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x10085fc4]
push ebx
push 1
lea ecx, [ebp - 0x1b8]
call fcn.100027bc
push ebx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.100027bc
lea ecx, [ebp - 0x134]
jmp 0x1001185c
movaps xmm0, xmmword [0x10087a50]
mov edx, ebx
movups xmmword [ebp - 0x160], xmm0
mov word [ebp - 0x150], 0x405d
mov byte [ebp - 0x14e], bl
mov cl, byte [ebp - 0x160]
xor byte [ebp + edx - 0x15f], cl
inc edx
cmp edx, 0x11
jb 0x100115cd
lea eax, [ebp - 0x15f]
mov byte [ebp - 0x14e], bl
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10002907
mov byte [ebp - 4], 2
mov edx, ebx
movaps xmm0, xmmword [0x10087990]
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x168], 0x4030c14
movaps xmm0, xmmword [0x10087500]
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0x404f13
mov cl, byte [ebp - 0x188]
xor byte [ebp + edx - 0x187], cl
inc edx
cmp edx, 0x26
jb 0x1001162e
lea eax, [ebp - 0x187]
mov byte [ebp - 0x161], bl
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10002907
push ebx
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a0]
and dword [esp], 0
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x10085fc4]
push ebx
push 1
lea ecx, [ebp - 0x1b8]
call fcn.100027bc
push ebx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.100027bc
mov dword [esi + 0x1c], ebx
jmp 0x100115a3
cmp dword [esi + 8], 0
je 0x100116ae
cmp edi, dword [esi + 8]
je 0x10011405
cmp dword [esi + 0xc], 0
je 0x10011776
cmp edi, dword [esi + 0xc]
jne 0x10011776
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x10099f84], 1
setne dl
mov dword [0x10099f84], edx
call fcn.1000a6ea
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x100116e8
mov ecx, dword [ecx]
mov byte [ebp - 0x124], bl
xor eax, eax
mov dword [ebp - 0x123], 0x746f6e5a
mov byte [ebp - 0x11f], 0
xor byte [ebp + eax - 0x123], bl
inc eax
cmp eax, 4
jae 0x10011716
mov bl, byte [ebp - 0x124]
jmp 0x10011701
xor ebx, ebx
mov dword [ebp - 0x15c], 0x70b3262
mov byte [ebp - 0x11f], bl
mov dl, 0x62
mov dword [ebp - 0x158], 0x1a270701
mov eax, ebx
mov dword [ebp - 0x154], 0xc030a01
mov word [ebp - 0x150], 0x705
mov byte [ebp - 0x14e], bl
xor byte [ebp + eax - 0x15b], dl
inc eax
cmp eax, 0xd
jae 0x10011764
mov dl, byte [ebp - 0x15c]
jmp 0x1001174f
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x123]
jmp 0x10011841
cmp dword [esi + 0x10], 0
je 0x10011869
cmp edi, dword [esi + 0x10]
jne 0x10011869
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x10099f88], 1
setne dl
mov dword [0x10099f88], edx
call fcn.1000a6ea
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x100117b0
mov ecx, dword [ecx]
xor ebx, ebx
mov dword [ebp - 0x128], 0x213a1d4e
mov dl, 0x4e
mov dword [ebp - 0x124], 0x2007252d
mov word [ebp - 0x120], 0x20
mov eax, ebx
xor byte [ebp + eax - 0x127], dl
inc eax
cmp eax, 8
jae 0x100117e8
mov dl, byte [ebp - 0x128]
jmp 0x100117d3
mov byte [ebp - 0x11f], bl
mov dl, 0x66
mov dword [ebp - 0x15c], 0x30f3666
mov eax, ebx
mov dword [ebp - 0x158], 0x1e230305
mov dword [ebp - 0x154], 0x8070e05
mov word [ebp - 0x150], 0x301
mov byte [ebp - 0x14e], bl
xor byte [ebp + eax - 0x15b], dl
inc eax
cmp eax, 0xd
jae 0x10011834
mov dl, byte [ebp - 0x15c]
jmp 0x1001181f
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x127]
push ecx
push eax
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14e], bl
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1a0]
push ebx
push 1
call fcn.100027bc
jmp 0x10011407
cmp dword [esi + 0x14], 0
je 0x10011405
cmp edi, dword [esi + 0x14]
jne 0x10011405
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x10099f8c], 1
setne dl
mov dword [0x10099f8c], edx
call fcn.1000a6ea
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x100118a3
mov edx, dword [edx]
mov cl, 0x79
mov dword [ebp - 0x124], 0x151c2a79
mov word [ebp - 0x120], 0x15
xor eax, eax
xor byte [ebp + eax - 0x123], cl
inc eax
cmp eax, 4
jae 0x100118cf
mov cl, byte [ebp - 0x124]
jmp 0x100118ba
mov byte [ebp - 0x159], bl
mov cl, 0x7e
mov byte [ebp - 0x157], bl
mov byte [ebp - 0x14f], bl
xor ebx, ebx
mov byte [ebp - 0x11f], 0
mov eax, ebx
mov word [ebp - 0x15c], 0x2e7e
mov byte [ebp - 0x15a], 0x17
mov byte [ebp - 0x158], 0x1d
mov dword [ebp - 0x156], 0x161d063b
mov word [ebp - 0x152], 0x101f
mov byte [ebp - 0x150], 0x19
mov byte [ebp - 0x14e], bl
xor byte [ebp + eax - 0x15b], cl
inc eax
cmp eax, 0xd
jae 0x1001193a
mov cl, byte [ebp - 0x15c]
jmp 0x10011925
lea eax, [ebp - 0x11c]
push eax
push edx
lea eax, [ebp - 0x123]
jmp 0x10011842
xor al, al
call fcn.10039aca
ret 8