Function at 0x430c08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x430c21
mov dword [ebp - 0x3c], 0
jmp 0x430c6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
cmp eax, 1
jne 0x430c35
mov dword [ebp - 0x3c], 1
jmp 0x430c6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
cmp eax, 2
jne 0x430c49
mov dword [ebp - 0x3c], 0x11
jmp 0x430c6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
cmp eax, 3
jne 0x430c5d
mov dword [ebp - 0x3c], 1
jmp 0x430c6d
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 0xb
leave
ret
mov eax, dword [ebp - 0x3c]
add eax, 0xf
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
add edx, dword [eax + 0x44]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jb 0x430ca6
mov eax, dword [ebp - 0x3c]
neg eax
add eax, dword [ebp - 0x34]
shr eax, 4
add eax, eax
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
jmp 0x430caf
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0x1c]
cmp eax, edx
jbe 0x430ccb
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 0xa
leave
ret
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x430cd6
xor eax, eax
leave
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
jbe 0x430e7b
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
add edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x38]
cmp edx, eax
jbe 0x430e7b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 0x10
jae 0x430d78
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
neg eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea eax, [edx + eax + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
test eax, eax
jl 0x430d5a
mov eax, dword [ebp - 0x28]
mov edx, eax
inc edx
mov dword [ebp - 0x28], edx
movzx eax, byte [eax]
mov edx, dword [ebp - 0x2c]
mov ecx, edx
inc ecx
mov dword [ebp - 0x2c], ecx
mov byte [edx], al
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
test eax, eax
jge 0x430d38
mov eax, dword [ebp - 0x30]
add eax, dword [ebp + 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x30]
neg eax
add eax, dword [ebp + 0x24]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 0x10
mov eax, dword [ebp + 0x10]
add esp, 0xfffffff4
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
mov edx, dword [ebp + 8]
add edx, 0x20
mov dword [esp + 8], edx
call eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
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 - 0x18]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
add eax, 0xfffffff0
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
ja 0x430ce4
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x38]
cmp eax, edx
jbe 0x430f7b
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 + 0x10]
add esp, 0xfffffff4
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
lea edx, [ebp - 0x10]
mov dword [esp + 8], edx
call eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
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 - 0x18]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x14]
add eax, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x38]
cmp eax, edx
ja 0x430e89
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea eax, [edx + eax + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
test eax, eax
jl 0x430fc4
mov eax, dword [ebp - 0x28]
mov edx, eax
inc edx
mov dword [ebp - 0x28], edx
movzx eax, byte [eax]
mov edx, dword [ebp - 0x2c]
mov ecx, edx
inc ecx
mov dword [ebp - 0x2c], ecx
mov byte [edx], al
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
test eax, eax
jge 0x430fa2
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
add edx, dword [eax + 0x44]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
xor eax, eax
leave
ret