Function at 0x1002e546
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa7c
mov edi, dword [esp + 0xa94]
mov esi, dword [esp + 0xa90]
lea eax, [esp + 0x464]
push 0x208
push 0
push eax
call fcn.10031f20
add esp, 0xc
mov dword [esp + 0x1c], 0xefa2ef8a
mov dword [esp + 0x20], 0xefe6ef8c
mov word [esp + 0x3a], 0
movaps xmm0, xmmword [0x10042200]
movups xmmword [esp + 0xc], xmm0
xor eax, eax
inc eax
lea ecx, [eax - 0x1025]
xor word [esp + eax*2 + 0xc], cx
inc eax
cmp eax, 0x17
jne 0x1002e59b
lea ebp, [esp + 0xc]
mov word [ebp + 0x2e], 0
push 0x208
lea ebx, [esp + 0x468]
push ebx
push ebp
call fcn.100033c4
push ebx
call fcn.10014eaa
cmp eax, 0xffffffff
je 0x1002e845
lea ebx, [esp + 0x66c]
push 0x208
push 0
push ebx
call fcn.10031f20
add esp, 0xc
push esi
push ebx
call fcn.10002fb0
push 0x10048f60
push ebx
call fcn.10003084
mov dword [esp + 0x10], 0xef98efb4
mov dword [esp + 0x14], 0xefe0efb6
mov word [esp + 0x22], 0
mov dword [esp + 0xc], 0xef8b005c
xor eax, eax
inc eax
lea ecx, [eax - 0x1025]
xor word [esp + eax*2 + 0xc], cx
inc eax
cmp eax, 0xb
jne 0x1002e623
mov word [esp + 0x22], 0
push ebp
push ebx
call fcn.10003084
push ebx
call fcn.10014eaa
cmp eax, 0xffffffff
jne 0x1002e655
push 0
push ebx
call fcn.10016ae8
push 2
push ebx
call fcn.1001aafc
lea esi, [esp + 4]
mov ecx, esi
call fcn.10013ddc
test edi, edi
lea eax, [esp + 0x464]
cmove eax, ebx
mov ecx, esi
push eax
call fcn.10013e6e
mov ecx, esi
push 0x1003fd72
call fcn.10014114
mov ecx, esi
push 0x1003fd64
call fcn.10014114
push ebp
push dword [esi]
call fcn.10014f78
cmp eax, 0xffffffff
je 0x1002e83a
mov esi, eax
lea edi, [esp + 0x25c]
mov dword [esp], eax
cmp word [esp + 0x38], 0x2e
jne 0x1002e6d9
movzx eax, word [esp + 0x3a]
test ax, ax
je 0x1002e821
cmp ax, 0x2e
jne 0x1002e6d9
cmp word [esp + 0x3c], 0
je 0x1002e821
mov dword [esp + 0x260], 0xefb2efb0
mov word [esp + 0x264], 0xefdf
mov word [esp + 0x26e], 0
mov dword [esp + 0x25c], 0xefa4002e
movups xmm0, xmmword [esp + 0x25e]
xorps xmm0, xmmword [0x10041fa0]
movups xmmword [esp + 0x25e], xmm0
push edi
lea eax, [esp + 0x3c]
push eax
call fcn.10032128
add esp, 8
test eax, eax
je 0x1002e821
mov ebx, 0x208
cmp dword [esp + 0xa94], 0
je 0x1002e799
push ebx
xor ebp, ebp
push ebp
push edi
call fcn.10031f20
add esp, 0xc
lea eax, [esp + 0x464]
push eax
push edi
call fcn.10002fb0
mov eax, 0x1003fd72
push eax
push edi
call fcn.10003084
lea esi, [esp + 0x38]
push esi
push edi
call fcn.10003084
push ebx
lea ebx, [esp + 0x878]
push ebp
push ebx
call fcn.10031f20
add esp, 0xc
lea eax, [esp + 0x66c]
push eax
push ebx
call fcn.10002fb0
mov eax, 0x1003fd72
push eax
jmp 0x1002e7ee
push ebx
xor eax, eax
push eax
push edi
call fcn.10031f20
add esp, 0xc
lea eax, [esp + 0x66c]
push eax
push edi
call fcn.10002fb0
mov ebp, 0x1003fd72
push ebp
push edi
call fcn.10003084
lea esi, [esp + 0x38]
push esi
push edi
call fcn.10003084
push ebx
lea ebx, [esp + 0x878]
xor eax, eax
push eax
push ebx
call fcn.10031f20
add esp, 0xc
lea eax, [esp + 0x464]
push eax
push ebx
call fcn.10002fb0
push ebp
push ebx
call fcn.10003084
push esi
push ebx
call fcn.10003084
push ebx
call fcn.10014eaa
cmp eax, 0xffffffff
je 0x1002e815
push ebx
push edi
call fcn.10028f9a
add esp, 8
cmp eax, 3
jne 0x1002e81e
push 0
push ebx
push edi
call fcn.1001c796
mov esi, dword [esp]
lea eax, [esp + 0xc]
push eax
push esi
call fcn.10015056
test eax, eax
jne 0x1002e6b1
push esi
call fcn.1001512e
lea ecx, [esp + 4]
call fcn.10013eba
jmp 0x1002e849
test edi, edi
je 0x1002e854
add esp, 0xa7c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
lea ebx, [esp + 0x468]
push ebx
call fcn.10016ae8
push 2
push ebx
call fcn.1001aafc
jmp 0x1002e5d8