Function at 0x1002e900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10314881
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1043900c]
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 ebx, dword [0x1060b508]
mov ecx, dword [0x1060b5e0]
mov dword [ebp - 0x48], ebx
mov dword [ebx + 0x3840], 0
mov ecx, dword [ecx + 0xaa8]
call fcn.100cb1b0
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
je 0x1002e9cc
mov ecx, esi
call fcn.100cb920
mov edx, dword [0x104c14e0]
mov ecx, dword fs:[0x2c]
mov dword [ebx + 0x3840], eax
mov eax, dword [0x10611914]
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 4]
jg 0x1002e9e8
mov eax, dword [0x106118b8]
mov ecx, esi
mov eax, dword [eax + esi]
mov dword [ebx + 0x3844], eax
call fcn.100cbea0
mov ecx, esi
mov eax, dword [eax]
mov dword [ebx + 0x384c], eax
call fcn.100cbd60
mov ecx, esi
mov eax, dword [eax]
mov dword [ebx + 0x3850], eax
call fcn.100cbf40
mov ecx, esi
mov eax, dword [eax]
mov dword [ebx + 0x3848], eax
call fcn.100cbe00
mov eax, dword [eax]
mov dword [ebx + 0x3854], eax
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.102bb91c
mov esp, ebp
pop ebp
ret
push 0x10611914
call fcn.102bba07
add esp, 4
cmp dword [0x10611914], 0xffffffff
jne 0x1002e982
mov dword [ebp - 4], 0
cmp byte [0x104a96f0], 0
jne 0x1002ea79
mov byte [0x104a96f0], 1
xor esi, esi
jmp 0x1002ea20
xor edx, edx
mov ebx, esi
xor edx, dword [0x104a970c]
xor ebx, dword [0x104a9708]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
shr ecx, 7
xor ebx, eax
xor edx, ecx
mov ecx, ebx
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [esi + 0x104a96f1]
xor cl, bl
mov byte [esi + 0x104a96f1], cl
inc esi
cmp esi, 0x12
jb 0x1002ea20
jmp 0x1002ea79
push ecx
push 0x104a9702
push 0x104a96f1
lea ecx, [ebp - 0x40]
call fcn.1001a620
mov byte [ebp - 4], 1
lea edi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae edi, dword [ebp - 0x40]
cmp byte [0x104ab420], 0
jne 0x1002eb09
mov byte [0x104ab420], 1
xor esi, esi
jmp 0x1002eab0
xor edx, edx
mov ebx, esi
xor edx, dword [0x104ab43c]
xor ebx, dword [0x104ab438]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
shr ecx, 7
xor ebx, eax
xor edx, ecx
mov ecx, ebx
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [esi + str.Z_v_]
xor cl, bl
mov byte [esi + str.Z_v_], cl
inc esi
cmp esi, 0x11
jb 0x1002eab0
jmp 0x1002eb09
push ecx
push 0x104ab431
push str.Z_v_
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call fcn.10171b70
lea ecx, [ebp - 0x28]
mov dword [0x106118b8], eax
call fcn.10019dd0
lea ecx, [ebp - 0x40]
call fcn.10019dd0
push 0x10611914
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
mov ebx, dword [ebp - 0x48]
add esp, 4
mov esi, dword [ebp - 0x44]
jmp 0x1002e982