Function at 0x43116c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 0x24]
add edx, dword [eax + 0x44]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
shr eax, 4
add eax, eax
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov edx, dword [ebp + 0x1c]
cmp eax, edx
jbe 0x4311a5
mov eax, 0xa
leave
ret
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jae 0x431207
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
lea eax, [edx + eax + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, eax
dec edx
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x4311fa
mov eax, dword [ebp - 0x1c]
mov edx, eax
inc edx
mov dword [ebp - 0x1c], edx
movzx eax, byte [eax]
mov edx, dword [ebp - 0x20]
mov ecx, edx
inc ecx
mov dword [ebp - 0x20], ecx
mov byte [edx], al
mov eax, dword [ebp - 0x18]
mov edx, eax
dec edx
mov dword [ebp - 0x18], edx
test eax, eax
jg 0x4311d6
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x44], edx
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
lea eax, [edx + eax + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
neg eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, eax
dec edx
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x43125f
mov eax, dword [ebp - 0x1c]
mov edx, eax
inc edx
mov dword [ebp - 0x1c], edx
movzx eax, byte [eax]
mov edx, dword [ebp - 0x20]
mov ecx, edx
inc ecx
mov dword [ebp - 0x20], ecx
mov byte [edx], al
mov eax, dword [ebp - 0x18]
mov edx, eax
dec edx
mov dword [ebp - 0x18], edx
test eax, eax
jg 0x43123b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x10]
xor edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x14]
xor edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x18]
xor edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x1c]
xor edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 0x10]
add esp, 0xfffffff4
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x10]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x28]
add edx, 0x20
mov dword [esp + 8], edx
call eax
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x14]
neg eax
add eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
cmp eax, 0x10
jb 0x431440
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
add eax, 8
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
add eax, 8
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
add esp, 0xfffffff4
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x10]
mov dword [esp + 4], edx
lea edx, [ebp - 0x10]
mov dword [esp + 8], edx
call eax
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
add eax, 0xfffffff0
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
cmp eax, 0x10
jae 0x431347
mov eax, dword [ebp - 0x28]
add eax, 0x20
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, eax
dec edx
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x431489
mov eax, dword [ebp - 0x1c]
mov edx, eax
inc edx
mov dword [ebp - 0x1c], edx
movzx eax, byte [eax]
mov edx, dword [ebp - 0x20]
mov ecx, edx
inc ecx
mov dword [ebp - 0x20], ecx
mov byte [edx], al
mov eax, dword [ebp - 0x18]
mov edx, eax
dec edx
mov dword [ebp - 0x18], edx
test eax, eax
jg 0x431465
xor eax, eax
leave
ret