Function at 0x10050770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114175
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1013b080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov ecx, dword [esi + 0x1c]
mov eax, dword [0x10164458]
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
add edx, dword [ecx + 0x14]
add edi, dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
mov al, byte [ecx + 8]
mov ecx, dword [ecx + 8]
mov byte [ebp - 0x41], al
lea eax, [esi + 0x70]
push 0
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edx
mov byte [eax + 3], cl
lea ecx, [edi + 0xe1]
mov word [eax], 0xcdcd
mov byte [eax + 2], 0xcd
lea eax, [edx + 0x12]
push eax
push ecx
mov ecx, 0x10166acc
call fcn.100d6d30
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x10164034]
mov edi, dword [esi + 0xc]
mov esi, dword [ebp - 0x18]
sub edi, 0x55
mov eax, dword [eax + 8]
add esi, 0x23
mov byte [ebp - 0x11], al
mov eax, dword [ecx]
mov word [ebp - 0x14], 0
mov byte [ebp - 0x12], 0
push dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10164034]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
lea eax, [esi + 0x14]
push eax
mov eax, dword [ebp - 0x20]
add eax, 0xe1
add eax, edi
push eax
mov eax, dword [ebp - 0x20]
push esi
add eax, 0xe1
push eax
call edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
add ecx, 0x24
mov dword [ebp - 0x14], ecx
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
sub esi, 0x57
mov ecx, dword [0x10164034]
mov eax, dword [eax + 8]
movzx eax, al
mov edi, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
shl edi, 0x18
mov dword [ebp - 0x1c], edi
or edi, 0x4b4b4b
push edi
mov edx, dword [eax + 0x38]
call edx
mov ecx, dword [0x10164034]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
add edx, 0xe2
add edi, 0x12
add esi, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1ec]
push 0
push 0
push dword [ebp - 0x3c]
push edi
push esi
push dword [ebp - 0x14]
push edx
call eax
mov ecx, dword [0x10164034]
mov edx, dword [ebp - 0x1c]
or edx, 0x323232
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10164034]
push 0
push dword [ebp - 0x3c]
mov eax, dword [ecx]
push 0
push edi
mov edi, dword [ebp - 0x20]
mov eax, dword [eax + 0x1ec]
push esi
push dword [ebp - 0x14]
lea edx, [edi + 0xe2]
push edx
call eax
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0x88], 0
je 0x100509ab
mov dword [ebp - 0x2c], 0xa0b7b5be
xor eax, eax
mov dword [ebp - 0x28], 0xaec5b6b6
mov dword [ebp - 0x24], 0xe5b8bca0
xor byte [ebp + eax - 0x2c], 0xe5
inc eax
cmp eax, 0xc
jb 0x10050910
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050936
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1002afa0
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, 0x10166acc
add eax, 0x27
push eax
lea eax, [edi + 0xeb]
push eax
call fcn.100d6d30
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10050b23
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050b19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050b3e
jmp 0x10050b19
mov eax, dword [esi + 0x6c]
cmp eax, 0xfe
jg 0x10050b23
test eax, eax
js 0x10050aaa
lea eax, [eax + eax*2]
mov edx, 0x101283cc
lea eax, [eax*8 + 0x10162798]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1003bb10
add esp, 4
push 1
push 0x101283d4
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.1002a470
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 8]
push ecx
mov eax, esp
mov byte [eax + 3], cl
mov ecx, 0x10166acc
mov word [eax], 0x9898
mov byte [eax + 2], 0x98
mov eax, dword [ebp - 0x18]
add eax, 0x27
push eax
lea eax, [edi + 0xeb]
push eax
call fcn.100d6d30
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x10050a93
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050a89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050b3e
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
jmp 0x10050974
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push str.KEY:_NONE
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
call fcn.1002afa0
push 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 8]
push ecx
mov eax, esp
mov byte [eax + 3], cl
mov ecx, 0x10166acc
mov word [eax], 0x9898
mov byte [eax + 2], 0x98
mov eax, dword [ebp - 0x18]
add eax, 0x27
push eax
lea eax, [edi + 0xeb]
push eax
call fcn.100d6d30
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10050b23
mov edx, dword [ebp - 0x74]
inc ecx
jmp 0x10050984
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5586
mov esp, ebp
pop ebp
ret
call fcn.100eb92b
int3