Function at 0x1002d860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x182c
call fcn.100dd210
mov eax, dword [0x100f500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1820], edx
mov ecx, dword [0x10186d64]
push edi
push edx
mov dword [ebp - 0x182c], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ebx, eax
test ebx, ebx
je 0x1002de95
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x260]
mov ecx, ebx
call edx
test al, al
je 0x1002de95
mov eax, dword [0x10186f74]
add eax, 0xffffffcc
xor eax, 0x6e6233ff
cmp dword [eax + ebx], 0
jne 0x1002de95
mov eax, dword [0x10186f00]
cmp byte [eax + ebx], 0
jne 0x1002de95
mov edi, dword [0x10186f4c]
mov edx, dword [0x1016e340]
lea ecx, [edi - 0x2a]
xor ecx, 0x6e6233f5
mov eax, dword [ecx + ebx]
cmp eax, dword [ecx + edx]
jne 0x1002d91b
mov ecx, dword [0x10186e38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002de95
mov edx, dword [0x1016e340]
mov edi, dword [0x10186f4c]
test edx, edx
je 0x1002de95
lea ecx, [edi - 0x2a]
xor ecx, 0x6e6233f5
mov eax, dword [ecx + ebx]
cmp eax, dword [ecx + edx]
jne 0x1002d949
mov ecx, dword [0x10186e38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002de95
cmp byte [0x1017c02c], 0
je 0x1002de95
imul eax, dword [ebp - 0x1820], 0xbd4
lea eax, [eax + 0x1013d080]
test eax, eax
je 0x1002de95
cmp dword [eax + 0x18], 0
je 0x1002de95
mov ecx, dword [0x10186d84]
mov eax, dword [0x1017c170]
movss xmm0, dword [0x1017c270]
mulss xmm0, dword [0x100e9bf0]
mov dword [ebp - 0x181c], eax
mov dword [ebp - 0x1818], eax
mov eax, dword [ecx]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov dword [ebp - 0x1810], 0x4d555e1f
xor eax, eax
mov dword [ebp - 0x180c], 0x4f4b5a56
mov dword [ebp - 0x1808], 0x3b4f5552
nop dword [eax]
xor byte [ebp + eax - 0x1810], 0x3b
inc eax
cmp eax, 0xc
jb 0x1002d9d0
mov ecx, dword [0x10186cdc]
lea edx, [ebp - 0x1810]
push 0
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movzx ecx, byte [ebp - 0x1816]
mov edx, eax
mov eax, dword [ebp - 0x181c]
sub esp, 0xc
movss xmm3, dword [0x100e9be4]
movd xmm0, ecx
movzx ecx, ah
movzx eax, al
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
mov ecx, edx
movd xmm2, eax
mov eax, dword [edx]
cvtdq2ps xmm1, xmm1
mov eax, dword [eax + 0x2c]
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm3
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [ebp - 0x1824], xmm0
movss dword [ebp - 0x1828], xmm1
movss dword [ebp - 0x1818], xmm2
movss dword [esp], xmm2
call eax
mov dword [ebp - 0x1810], 0x4d555e1f
xor eax, eax
mov dword [ebp - 0x180c], 0x4f4b5a56
mov dword [ebp - 0x1808], 0x3b4f5552
nop dword [eax]
xor byte [ebp + eax - 0x1810], 0x3b
inc eax
cmp eax, 0xc
jb 0x1002da90
mov ecx, dword [0x10186ce0]
lea edx, [ebp - 0x1810]
push 0
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movss xmm0, dword [ebp - 0x1824]
sub esp, 0xc
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x1828]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1818]
mov eax, dword [edx + 0x2c]
movss dword [esp], xmm0
call eax
mov dword [ebp - 0x1810], 0x4d555e1f
xor eax, eax
mov dword [ebp - 0x180c], 0x4f4b5a56
mov dword [ebp - 0x1808], 0x3b4f5552
nop dword [eax + eax]
xor byte [ebp + eax - 0x1810], 0x3b
inc eax
cmp eax, 0xc
jb 0x1002db10
mov ecx, dword [0x10186ce4]
lea edx, [ebp - 0x1810]
push 0
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movss xmm0, dword [ebp - 0x1824]
sub esp, 0xc
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x1828]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1818]
mov eax, dword [edx + 0x2c]
movss dword [esp], xmm0
call eax
mov eax, dword [0x1017c0e0]
cmp eax, 5
ja case.default.0x1002db79
jmp dword [eax*4 + 0x1002dea8]
movzx eax, byte [0x1017c1e4]
push eax
push 1
push dword [ebp - 0x181c]
push dword [esi + 0x10]
jmp 0x1002dbfc
movzx eax, byte [0x1017c1e4]
push eax
push 1
push dword [ebp - 0x181c]
push dword [esi + 0x14]
jmp 0x1002dbfc
movzx eax, byte [0x1017c1e4]
push eax
push 1
push dword [ebp - 0x181c]
push dword [esi + 0x18]
jmp 0x1002dbfc
movzx eax, byte [0x1017c1e4]
push eax
push 1
push dword [ebp - 0x181c]
push dword [esi + 0x1c]
jmp 0x1002dbfc
movzx eax, byte [0x1017c1e4]
push eax
push 1
push dword [ebp - 0x181c]
push dword [esi + 0x20]
jmp 0x1002dbfc
movzx eax, byte [0x1017c1e4]
push eax
push 1
push dword [ebp - 0x181c]
push dword [esi + 0x24]
call fcn.1002cbe0
lea esi, [ebp - 0x1804]
mov edi, 0x80
nop dword [eax]
mov ecx, esi
call fcn.10022400
add esi, 0x30
sub edi, 1
jne 0x1002dc10
mov esi, dword [ebp - 0x1820]
lea eax, [ebp - 0x1804]
push eax
push esi
call fcn.1002d270
test al, al
je 0x1002dc7f
mov eax, dword [0x1018700c]
lea ecx, [ebp - 0x1804]
add eax, 0xffffffa6
mov byte [ebp - 0x1811], 0xff
xor eax, 0x6e623425
lea edx, [ebp - 0x1811]
push edx
push 1
mov esi, dword [eax + ebx]
mov dword [eax + ebx], ecx
lea ecx, [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [0x1018700c]
add eax, 0xffffffa6
xor eax, 0x6e623425
mov dword [eax + ebx], esi
mov esi, dword [ebp - 0x1820]
cmp byte [0x1017c328], 0
je 0x1002de95
mov eax, dword [0x1017c0e0]
cmp eax, 3
je 0x1002de95
cmp eax, 4
je 0x1002de95
mov ecx, dword [0x10186d84]
mov eax, dword [0x1017c46c]
movss xmm0, dword [0x1017c4e4]
mulss xmm0, dword [0x100e9bf0]
mov dword [ebp - 0x1820], eax
mov dword [ebp - 0x1818], eax
mov eax, dword [ecx]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x10]
call eax
mov dword [ebp - 0x1810], 0x4d555e1f
xor eax, eax
mov dword [ebp - 0x180c], 0x4f4b5a56
mov dword [ebp - 0x1808], 0x3b4f5552
nop word [eax + eax]
xor byte [ebp + eax - 0x1810], 0x3b
inc eax
cmp eax, 0xc
jb 0x1002dd00
mov ecx, dword [0x10186cdc]
lea edx, [ebp - 0x1810]
push 0
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movzx ecx, byte [ebp - 0x1816]
mov edx, eax
mov eax, dword [ebp - 0x1820]
sub esp, 0xc
movss xmm3, dword [0x100e9be4]
movd xmm0, ecx
movzx ecx, ah
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
movzx ecx, al
mov eax, dword [edx]
cvtdq2ps xmm1, xmm1
mov eax, dword [eax + 0x2c]
movd xmm2, ecx
mov ecx, edx
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm3
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [ebp - 0x1818], xmm0
movss dword [ebp - 0x1828], xmm1
movss dword [ebp - 0x1824], xmm2
movss dword [esp], xmm2
call eax
mov dword [ebp - 0x1810], 0x4d555e1f
xor eax, eax
mov dword [ebp - 0x180c], 0x4f4b5a56
mov dword [ebp - 0x1808], 0x3b4f5552
nop dword [eax]
xor byte [ebp + eax - 0x1810], 0x3b
inc eax
cmp eax, 0xc
jb 0x1002ddc0
mov ecx, dword [0x10186ce0]
lea edx, [ebp - 0x1810]
push 0
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movss xmm0, dword [ebp - 0x1818]
sub esp, 0xc
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x1828]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1824]
mov eax, dword [edx + 0x2c]
movss dword [esp], xmm0
call eax
cmp dword [0x1017c3dc], 0
mov eax, dword [ebp - 0x182c]
push 0
push 1
push dword [ebp - 0x1820]
jne 0x1002de39
push dword [eax + 0x1c]
jmp 0x1002de3c
push dword [eax + 0x20]
call fcn.1002cbe0
lea eax, [ebp - 0x1804]
push eax
push esi
call fcn.1002d270
test al, al
je 0x1002de95
mov eax, dword [0x1018700c]
lea ecx, [ebp - 0x1804]
add eax, 0xffffffa6
mov byte [ebp - 0x1811], 0xff
xor eax, 0x6e623425
lea edx, [ebp - 0x1811]
push edx
push 1
mov esi, dword [eax + ebx]
mov dword [eax + ebx], ecx
lea ecx, [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [0x1018700c]
add eax, 0xffffffa6
xor eax, 0x6e623425
mov dword [eax + ebx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100dbfd5
mov esp, ebp
pop ebp
ret 4