Function at 0x410bac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
cmp dword [0x56a04c], 0
jne 0x410bcb
call fcn.00410804
mov dword [0x56a04c], 1
mov eax, dword [ebp + 0x10]
sub eax, 0x80
je 0x410be4
sub eax, 0x40
je 0x410bef
sub eax, 0x40
je 0x410bfa
jmp 0x410fc8
mov edx, dword [ebp + 8]
mov dword [edx], 0xa
jmp 0x410c03
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc
jmp 0x410c03
mov eax, dword [ebp + 8]
mov dword [eax], 0xe
mov edx, dword [ebp + 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x410c63
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + edx*4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [ebx + eax*4 + 1]
shl edx, 8
or ecx, edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [ebx + eax*4 + 2]
shl edx, 0x10
or ecx, edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [ebx + eax*4 + 3]
shl edx, 0x18
or ecx, edx
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [eax + ebx*4], ecx
inc dword [ebp - 4]
mov edx, dword [ebp + 0x10]
sar edx, 5
cmp edx, dword [ebp - 4]
jg 0x410c19
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
sub eax, 0xa
je 0x410c8f
sub eax, 2
je 0x410d5f
sub eax, 2
je 0x410e53
jmp 0x410fc8
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x57fd88]
mov edx, dword [ebp - 8]
xor eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
shr edx, 8
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
shr ecx, 0x10
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 8
xor eax, edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
shr edx, 0x18
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x18]
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], ecx
inc dword [ebp - 4]
add dword [ebp - 8], 0x10
cmp dword [ebp - 4], 0xa
jl 0x410c94
jmp 0x410fc8
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x57fd88]
mov edx, dword [ebp - 8]
xor eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
shr edx, 8
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
shr ecx, 0x10
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 8
xor eax, edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
shr edx, 0x18
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + 0x18]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x20]
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x24]
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x28]
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], ecx
inc dword [ebp - 4]
add dword [ebp - 8], 0x18
cmp dword [ebp - 4], 8
jl 0x410d64
jmp 0x410fc8
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x57fd88]
mov edx, dword [ebp - 8]
xor eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
shr edx, 8
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x1c]
shr ecx, 0x10
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 8
xor eax, edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
shr edx, 0x18
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x1c]
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + 0x20]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x28]
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2c]
and ecx, 0xff
xor eax, eax
mov al, byte [ecx + 0x57db88]
mov edx, dword [ebp - 8]
xor eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
shr edx, 8
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
shl ecx, 8
xor eax, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2c]
shr ecx, 0x10
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
shl edx, 0x10
xor eax, edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
shr edx, 0x18
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
shl ecx, 0x18
xor eax, ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 8]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x18]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x34]
mov eax, dword [ebp - 8]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x1c]
mov ebx, dword [ebp - 8]
xor ecx, dword [ebx + 0x38]
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], ecx
inc dword [ebp - 4]
add dword [ebp - 8], 0x20
cmp dword [ebp - 4], 7
jl 0x410e58
pop ebx
pop ecx
pop ecx
pop ebp
ret