Function at 0x10003280
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 [0x10015244]
mov ax, word [0x10015254]
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, 0x31
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 9
jl 0x100032b0
push 0xf003f
push 0
push 0
push 0x60
mov edx, 4
call section..text
add esp, 4
call eax
mov esi, eax
test esi, esi
jne 0x10003300
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100054f7
mov esp, ebp
pop ebp
ret
push edi
push 0xf01ff
lea eax, [ebp - 0x20]
mov edx, 4
push eax
push esi
push 0x61
call section..text
add esp, 4
call eax
mov edi, eax
test edi, edi
je 0x100033d2
lea eax, [ebp - 0x28]
mov edx, 4
push eax
push edi
push 0x69
call section..text
add esp, 4
call eax
test eax, eax
je 0x10003363
cmp dword [ebp - 0x24], 1
jne 0x10003399
push 0
push 0
push edi
push 0x89
mov edx, 4
call section..text
add esp, 4
call eax
test eax, eax
jne 0x10003399
push edi
push 5
mov edx, 4
call section..text
add esp, 4
call eax
push esi
push 5
mov edx, 4
call section..text
add esp, 4
call eax
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100054f7
mov esp, ebp
pop ebp
ret
push edi
push 5
mov edx, 4
call section..text
add esp, 4
call eax
push esi
push 5
mov edx, 4
call section..text
add esp, 4
call eax
call fcn.10002e80
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100054f7
mov esp, ebp
pop ebp
ret
push ebx
push 0x45
push 1
call fcn.100010a0
add esp, 8
test eax, eax
je 0x10003420
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x29
mov edx, 1
call section..text
add esp, 4
call eax
push eax
push 0x45
mov edx, 1
call section..text
add esp, 4
call eax
test eax, eax
je 0x10003420
cmp dword [ebp - 8], 0
mov ebx, 0x82
jne 0x10003425
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 section..text
add esp, 4
call eax
mov edi, eax
test edi, edi
je 0x10003512
cmp edi, 0xffffffff
je 0x10003512
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 8]
push eax
mov edx, ebx
call fcn.10003710
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 section..text
add esp, 4
call eax
test eax, eax
je 0x10003512
cmp dword [ebp - 0xc], ebx
jne 0x10003512
push edi
push 4
mov edx, 1
call section..text
add esp, 4
call eax
test eax, eax
je 0x10003512
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 section..text
add esp, 4
call eax
mov edi, eax
mov edx, 4
test edi, edi
je 0x10003517
push 0
push 0
push edi
push 0x89
call section..text
add esp, 4
call eax
mov edx, 4
push edi
push 5
test eax, eax
jne 0x10003537
call section..text
add esp, 4
call eax
mov edx, 4
push esi
push 5
call section..text
add esp, 4
call eax
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100054f7
mov esp, ebp
pop ebp
ret
call section..text
add esp, 4
call eax
push esi
push 5
mov edx, 4
call section..text
add esp, 4
call eax
call fcn.10002e80
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100054f7
mov esp, ebp
pop ebp
ret