Function at 0x409cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x43a080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43b594]
mov eax, dword [0x43b590]
mov edx, ecx
sub edx, 0x85921eb6
sub edx, 1
add edx, 0x85921eb6
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0xcd7fcdd7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
sub eax, 0x9349fa83
je 0x409de8
jmp 0x409d25
mov eax, dword [ebp - 0x2c]
sub eax, 0xc6be240c
je 0x409e5a
jmp 0x409d38
mov eax, dword [ebp - 0x2c]
sub eax, 0xcd6819d5
je 0x409f43
jmp 0x409d4b
mov eax, dword [ebp - 0x2c]
sub eax, 0xcd7fcdd7
je 0x409dc2
jmp 0x409d5e
mov eax, dword [ebp - 0x2c]
sub eax, 0xcf8e7073
je 0x409e3a
jmp 0x409d71
mov eax, dword [ebp - 0x2c]
sub eax, 0x2a3d0f96
je 0x409e46
jmp 0x409d84
mov eax, dword [ebp - 0x2c]
sub eax, 0x55b3ea12
je 0x409f25
jmp 0x409d97
mov eax, dword [ebp - 0x2c]
sub eax, 0x665452dc
je 0x409f37
jmp 0x409daa
mov eax, dword [ebp - 0x2c]
sub eax, 0x71d6508c
je 0x409ea0
jmp 0x409dbd
jmp 0x409f81
mov al, byte [ebp - 0x1a]
mov cl, byte [ebp - 0x19]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x665452dc
mov ecx, 0x9349fa83
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409f81
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [0x43b594]
mov ecx, dword [0x43b590]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x665452dc
mov ecx, 0xcf8e7073
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409f81
mov dword [ebp - 0x20], 0x2a3d0f96
jmp 0x409f81
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0xc6be240c
jmp 0x409f81
mov eax, dword [0x43b594]
mov ecx, dword [0x43b590]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xcd6819d5
mov ecx, 0x71d6508c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409f81
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
mov ecx, dword [edx]
mov edi, dword [esi]
not byte [edi]
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
add byte [edi], 0x47
sub byte [edi], 0x25
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
imul byte [edi]
inc edi
loop 0x409eba
mov eax, dword [0x43b594]
mov ecx, dword [0x43b590]
mov edx, eax
sub edx, 0x523481dc
sub edx, 1
add edx, 0x523481dc
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xcd6819d5
mov ecx, 0x55b3ea12
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409f81
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424160
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x9349fa83
jmp 0x409f81
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
mov ecx, dword [edx]
mov edi, dword [esi]
not byte [edi]
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
add byte [edi], 0x47
sub byte [edi], 0x25
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
imul byte [edi]
inc edi
loop 0x409f5d
mov dword [ebp - 0x20], 0x71d6508c
jmp 0x409d0f