Function at 0x4094ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0x67e2
mov dword [ebp - 4], 0x4726
mov dword [ebp - 8], 0x580
mov dword [ebp - 0xc], 0x5f3e
mov dword [ebp - 0x28], 0x3294
mov dword [ebp - 0x24], 0x643
mov dword [ebp - 0x20], 0x2545
mov dword [ebp - 0x1c], 0x43ab
xor ebx, ebx
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x76b1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub ecx, eax
add ecx, dword [ebp - 0xc]
jmp 0x4098d8
add ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x1f80
add ecx, 0x727e
xor ecx, 0x106c92f2
mov dword [ebp - 8], 0x113c
mov dword [ebp - 0xc], 0x3d61
mov dword [ebp - 0x10], 0x16e9
mov dword [ebp - 4], 0x21aa
mov eax, dword [ebp - 0x10]
or eax, 0x3611
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
and eax, edx
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 4]
mov esi, dword [0x42c224]
mov esi, dword [esi + 0x1cc]
add eax, 0x6772
or eax, 0x1f24
sub eax, 0x7046
xor eax, 0x497a
sub esi, eax
mov eax, dword [ebp + 8]
mov al, byte [edx + eax - 0x5774]
mov byte [esi + ecx], al
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
and eax, 0x2389
xor eax, 0x695
xor edx, edx
div esi
lea ecx, [ecx + eax - 0x2413]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
and eax, edx
mov edx, dword [ebp - 0x28]
imul eax, edx
mov edx, 0xd0c8f
sub edx, eax
cmp ecx, edx
jbe 0x4098ed
push 2
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x28], 0x6686
mov dword [ebp - 8], 0x7cf1
mov dword [ebp - 4], eax
mov dword [ebp + 8], 0x739a
mov dword [ebp - 0xc], 0xf3a
xor edx, edx
mov dword [ebp - 0x10], 0x429
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub eax, 0x175c
div ecx
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov edi, 0x4db5
div ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
mov eax, dword [ebp + 8]
imul ecx, ecx, 0x2e01
mov esi, dword [ebp - 4]
add eax, edi
div esi
mov edx, dword [ebp - 8]
mov esi, 0x940a7
sub ecx, 0x16bea86
sub eax, edx
xor edx, edx
div esi
mov esi, 0xdbd
add eax, esi
cmp ecx, eax
jae 0x409ea5
mov dword [ebp - 0x1c], 0x2d7e
mov dword [ebp - 0x20], 0x383e
mov dword [ebp - 0x24], 0x3a3a
mov dword [ebp - 0x14], 0x13cd
xor edx, edx
mov dword [ebp - 0x18], 0x187
mov dword [ebp - 0x28], 0x3224
mov eax, dword [ebp - 0x28]
push 6
pop ebx
div ebx
mov edx, eax
mov eax, dword [0x42c224]
mov eax, dword [eax + 0x1d0]
sub eax, edx
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
imul edx, ebx
mov ebx, dword [ebp - 0x1c]
xor edx, ebx
sub edx, 0x26bd
add eax, ecx
and edx, 0x7126
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebp - 0x18]
sub eax, edx
mov edx, dword [ebp - 0x14]
sub eax, edx
mov edx, dword [ebp + 0xc]
mov dl, byte [ebx + edx + 0x16c0]
mov byte [eax - 0xbb5], dl
mov eax, dword [ebp - 0x10]
xor eax, 0xffffe1ce
add eax, dword [ebp - 0xc]
xor edx, edx
and eax, 0x6d33
lea ecx, [ecx + eax - 0x6520]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
add eax, edi
div ebx
mov edx, dword [ebp - 8]
mov ebx, 0x940a7
sub eax, edx
xor edx, edx
div ebx
add eax, esi
jmp 0x409e9a
cmp ecx, eax
jb 0x409a19
xor ebx, ebx
inc ebx
mov dword [ebp + 0xc], 0x77bd
mov dword [ebp + 8], 0x4f2a
mov dword [ebp - 8], 0x4738
mov dword [ebp - 0xc], 0x6c4e
mov dword [ebp - 0x10], 0x7f0d
mov dword [ebp - 0x14], 0x64ec
mov dword [ebp - 0x18], 0x1984
mov dword [ebp - 0x1c], 0x293
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x1ef2
and eax, ecx
xor eax, 0x7240
mov ecx, 0x7aaa
sub ecx, eax
mov dword [ebp + 0xc], 0x8d3
mov dword [ebp + 8], 0x2392
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0x338f
mov dword [ebp - 0x28], 0x61c9
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
imul eax, edx
xor eax, 0x40a0
or eax, 0x1a48
xor eax, 0x139ddb0
mov esi, ecx
sub esi, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
or eax, 0x1cc2
sub eax, edx
xor edx, edx
div edi
jmp 0x40a316
mov edx, dword [0x42c224]
mov edx, dword [edx + 0x1d4]
sub edx, eax
mov eax, dword [ebp + 0x10]
mov al, byte [esi + eax]
mov byte [edx + ecx - 0x1c12], al
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
imul eax, edx
jmp 0x40a70b
mov edx, dword [ebp - 0x14]
imul eax, eax, 0x262b
or eax, edx
mov edx, dword [ebp - 0x10]
or eax, edx
xor eax, 0x59f6
lea ecx, [ecx + eax + 0x350559e6]
mov eax, dword [ebp - 0xc]
and eax, 0xddc
add eax, dword [ebp - 8]
xor eax, 0x46e3
add eax, 0x50eb
cmp ecx, eax
jne 0x409ef6
pop edi
pop esi
pop ebx
leave
ret 0xc