Function at 0x10112940
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 0x1014be84
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x10174110]
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 [0x10181980], 0
je 0x10112ce7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor eax, eax
mov dword [ebp - 0x184], 0xc3c5d0d3
mov dword [ebp - 0x180], 0xcfd4c1d4
mov word [ebp - 0x17c], 0xd3d2
mov byte [ebp - 0x17a], 0xa0
xor byte [ebp + eax - 0x184], 0xa0
inc eax
cmp eax, 0xb
jb 0x101129c3
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1a8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101129f5
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.100352a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x190]
push dword [ebp - 0x190]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.100d9f30
push fcn.100354d0
push 1
push 0x18
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 2
push eax
call fcn.1011a04b
mov eax, dword [0x101a9080]
mov edi, 1
mov dword [ebp - 0x190], eax
mov eax, dword [0x101a67f4]
cmp dword [eax + 0x18], edi
jl 0x10112c2b
mov ecx, dword [0x101a679c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x10112c1c
mov ecx, dword [0x101a6950]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x10112c1c
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10112c1c
mov eax, dword [0x101a69b4]
add eax, 0xffffffcb
xor eax, 0x704949cf
cmp dword [eax + esi], 0
je 0x10112c1c
mov ecx, dword [0x101a679c]
mov eax, dword [0x101a6a50]
add eax, 0xffffffa4
xor eax, 0x704949f6
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + esi]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
cmp eax, dword [0x101a14e8]
jne 0x10112c1c
mov ecx, dword [0x101a6798]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10112c1c
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x1c0], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10112b42
sub eax, edx
lea ecx, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.100352a0
push 0x18
push 0
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c0]
call fcn.1005a430
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.100e9af0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c8]
cmp edx, 0x10
jb 0x10112bc3
mov ecx, dword [ebp - 0x1dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10112bb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10112d05
push edx
push ecx
call fcn.1011a4ac
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0xf
mov byte [ebp - 0x1dc], 0
cmp edx, 0x10
jb 0x10112c1c
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10112c12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10112d05
push edx
push ecx
call fcn.1011a4ac
add esp, 8
mov eax, dword [0x101a67f4]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x10112a80
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
imul ecx
mov ecx, dword [ebp - 0x190]
sar edx, 2
dec ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
imul edi, ecx
xor ecx, ecx
mov dword [ebp - 0x188], ecx
test eax, eax
je 0x10112cdf
xor esi, esi
shr edi, 1
mov dword [ebp - 0x18c], esi
neg edi
nop word [eax + eax]
mov eax, dword [0x101a1618]
add esi, dword [ebp - 0x20]
mov ecx, dword [0x101a1614]
cdq
add ecx, 0xffffffec
sub eax, edx
push 1
mov edx, eax
push esi
push ecx
sar edx, 1
mov eax, esp
add edx, edi
push edx
push ecx
mov ecx, 0x101a9078
mov dword [eax], 0xb3ffffff
call fcn.101064d0
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1c]
dec eax
sub ecx, dword [ebp - 0x20]
add edi, eax
mov esi, dword [ebp - 0x18c]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x188]
add esi, 0x18
imul ecx
mov dword [ebp - 0x18c], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x188], eax
jb 0x10112c70
lea ecx, [ebp - 0x20]
call fcn.10037650
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.10119ff7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10121c8d
int3