Function at 0x10003130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10017004]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x10015228]
mov ax, word [0x10015238]
push esi
mov dword [ebp - 0x2c], edx
xor esi, esi
mov dword [ebp - 0x30], ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], ax
nop
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 9
jl 0x10003160
push 0xf003f
push 0
push 0
push 0x60
mov edx, 4
call fcn.10001030
add esp, 4
call eax
mov esi, eax
test esi, esi
jne 0x100031b0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret
push edi
push 0xf01ff
lea eax, [ebp - 0x20]
mov edx, 4
push eax
push esi
push 0x61
call fcn.10001030
add esp, 4
call eax
mov edi, eax
test edi, edi
je 0x10003282
lea eax, [ebp - 0x28]
mov edx, 4
push eax
push edi
push 0x69
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x10003213
cmp dword [ebp - 0x24], 1
jne 0x10003249
push 0
push 0
push edi
push 0x89
mov edx, 4
call fcn.10001030
add esp, 4
call eax
test eax, eax
jne 0x10003249
push edi
push 5
mov edx, 4
call fcn.10001030
add esp, 4
call eax
push esi
push 5
mov edx, 4
call fcn.10001030
add esp, 4
call eax
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret
push edi
push 5
mov edx, 4
call fcn.10001030
add esp, 4
call eax
push esi
push 5
mov edx, 4
call fcn.10001030
add esp, 4
call eax
call fcn.10002d30
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret
push ebx
push 0x45
push 1
call fcn.100010d0
add esp, 8
test eax, eax
je 0x100032d0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x29
mov edx, 1
call fcn.10001030
add esp, 4
call eax
push eax
push 0x45
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x100032d0
cmp dword [ebp - 8], 0
mov ebx, 0x82
jne 0x100032d5
mov ebx, 0x81
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x2c]
mov edx, 1
push 0xc
call fcn.10001030
add esp, 4
call eax
mov edi, eax
test edi, edi
je 0x100033c2
cmp edi, 0xffffffff
je 0x100033c2
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 8]
push eax
mov edx, ebx
call fcn.100035c0
mov ebx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
add esp, 4
mov edx, 1
push 0
push ecx
push ebx
push eax
push edi
push 0x9e
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x100033c2
cmp dword [ebp - 0xc], ebx
jne 0x100033c2
push edi
push 4
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x100033c2
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov edx, 4
push 0
push 2
push 1
push 0xf01ff
push eax
push eax
push esi
push 0xe
call fcn.10001030
add esp, 4
call eax
mov edi, eax
mov edx, 4
test edi, edi
je 0x100033c7
push 0
push 0
push edi
push 0x89
call fcn.10001030
add esp, 4
call eax
mov edx, 4
push edi
push 5
test eax, eax
jne 0x100033e7
call fcn.10001030
add esp, 4
call eax
mov edx, 4
push esi
push 5
call fcn.10001030
add esp, 4
call eax
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret
call fcn.10001030
add esp, 4
call eax
push esi
push 5
mov edx, 4
call fcn.10001030
add esp, 4
call eax
call fcn.10002d30
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100055ab
mov esp, ebp
pop ebp
ret