Function at 0x10030470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
not ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
je 0x100304c5
mov edx, dword [ebp + 0xc]
and edx, 3
je 0x100304c5
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x1003fad0]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x10030484
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], 0x20
jb 0x100307aa
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov edx, dword [eax*4 + 0x100406d0]
xor edx, dword [ecx*4 + 0x100402d0]
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x1003fed0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003fad0]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x100406d0]
xor ecx, dword [eax*4 + 0x100402d0]
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1003fed0]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1003fad0]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x100406d0]
xor eax, dword [edx*4 + 0x100402d0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x1003fed0]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor eax, dword [edx*4 + 0x1003fad0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov edx, dword [eax*4 + 0x100406d0]
xor edx, dword [ecx*4 + 0x100402d0]
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x1003fed0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003fad0]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x100406d0]
xor ecx, dword [eax*4 + 0x100402d0]
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1003fed0]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1003fad0]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
mov eax, dword [ecx*4 + 0x100406d0]
xor eax, dword [edx*4 + 0x100402d0]
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0x1003fed0]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor eax, dword [edx*4 + 0x1003fad0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov edx, dword [eax*4 + 0x100406d0]
xor edx, dword [ecx*4 + 0x100402d0]
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x1003fed0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1003fad0]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x100406d0]
xor ecx, dword [eax*4 + 0x100402d0]
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1003fed0]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1003fad0]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
sub ecx, 0x20
mov dword [ebp + 0x10], ecx
jmp 0x100304cb
cmp dword [ebp + 0x10], 4
jb 0x10030814
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
mov ecx, dword [edx*4 + 0x100406d0]
xor ecx, dword [eax*4 + 0x100402d0]
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x1003fed0]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1003fad0]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
sub ecx, 4
mov dword [ebp + 0x10], ecx
jmp 0x100307aa
mov edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0x10], 0
je 0x10030853
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x1003fad0]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
jne 0x10030820
mov edx, dword [ebp - 8]
not edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret