Function at 0x4598bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x18]
mov esi, edx
add esi, esi
add esi, esi
add esi, 0xdeadbeef
add esi, dword [ebp - 0xc]
mov dword [ecx], esi
mov esi, dword [ecx]
mov dword [ebx], esi
mov esi, dword [ecx]
mov dword [eax], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 4], esi
test byte [ebp - 4], 3
jne 0x459b76
cmp edx, 0xc
jle 0x459a02
mov esi, dword [ebp - 4]
mov esi, dword [esi]
add dword [ecx], esi
mov esi, dword [ebp - 4]
mov esi, dword [esi + 4]
add dword [ebx], esi
mov esi, dword [ebp - 4]
mov esi, dword [esi + 8]
add dword [eax], esi
mov esi, dword [eax]
sub dword [ecx], esi
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x20]
shl esi, 4
mov edi, dword [ebp - 0x20]
shr edi, 0x1c
or esi, edi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x24]
xor dword [ecx], esi
mov esi, dword [ebx]
add dword [eax], esi
mov esi, dword [ecx]
sub dword [ebx], esi
mov esi, dword [ecx]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x28]
shl esi, 6
mov edi, dword [ebp - 0x28]
shr edi, 0x1a
or esi, edi
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x2c]
xor dword [ebx], esi
mov esi, dword [eax]
add dword [ecx], esi
mov esi, dword [ebx]
sub dword [eax], esi
mov esi, dword [ebx]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x30]
shl esi, 8
mov edi, dword [ebp - 0x30]
shr edi, 0x18
or esi, edi
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x34]
xor dword [eax], esi
mov esi, dword [ecx]
add dword [ebx], esi
mov esi, dword [eax]
sub dword [ecx], esi
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x38]
shl esi, 0x10
mov edi, dword [ebp - 0x38]
shr edi, 0x10
or esi, edi
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x3c]
xor dword [ecx], esi
mov esi, dword [ebx]
add dword [eax], esi
mov esi, dword [ecx]
sub dword [ebx], esi
mov esi, dword [ecx]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x40]
shl esi, 0x13
mov edi, dword [ebp - 0x40]
shr edi, 0xd
or esi, edi
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x44]
xor dword [ebx], esi
mov esi, dword [eax]
add dword [ecx], esi
mov esi, dword [ebx]
sub dword [eax], esi
mov esi, dword [ebx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x48]
shl esi, 4
mov edi, dword [ebp - 0x48]
shr edi, 0x1c
or esi, edi
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x4c]
xor dword [eax], esi
mov esi, dword [ecx]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x459909
cmp edx, 0xc
ja case.default.0x459a0b
jmp dword [edx*4 + 0x459a12]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x459ee8
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xff
add dword [ecx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xffff
add dword [ecx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xffffff
add dword [ecx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
and edx, 0xff
add dword [ebx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
and edx, 0xffff
add dword [ebx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
and edx, 0xffffff
add dword [ebx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
and edx, 0xff
add dword [eax], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
and edx, 0xffff
add dword [eax], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
and edx, 0xffffff
add dword [eax], edx
jmp case.default.0x459a0b
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [ecx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
add dword [eax], edx
jmp case.default.0x459a0b
cmp edx, 0xc
jle 0x459ce7