Function at 0x41edc0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ax, word [0x45a2dc]
mov ecx, dword [0x4608f4]
dec dword [0x4608f4]
cwde
imul ecx, eax
cmp ecx, 0x222c8602
jne 0x41edf0
mov eax, dword [0x45cb9c]
imul eax, eax, 0x58fb41f8
and dword [0x45d0b0], eax
movzx eax, word [0x45b390]
mov ecx, dword [0x45ddf4]
cwde
xor ecx, eax
mov dword [esp], 0
xor ecx, 0xfae3d06e
mov word [0x45b390], cx
imul eax, dword [0x45b91c], 0x646ab852
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
mov dword [0x45b91c], eax
mov eax, ebp
cdq
and ebp, 0x1f
and edx, 0x1f
mov dword [0x45c6fc], 0x9df3a504
mov ecx, dword [0x45c5b4]
or ecx, 0xc50de70c
add ecx, ecx
lea ebx, [edx + eax]
movzx eax, word [0x459f96]
imul eax, ecx
sar ebx, 5
push edi
mov word [0x459f96], ax
test ebx, ebx
jle 0x41ef2a
movsx ecx, word [0x45a55c]
mov eax, dword [0x45d290]
and ecx, 0x68964a5c
inc dword [0x45d290]
xor eax, ecx
cmp eax, 0xbe50e02b
jle 0x41eea1
movzx eax, word [0x45a56a]
xor eax, 0xc674764f
mov word [0x45a56a], ax
mov ecx, dword [esi + 4]
xor eax, eax
sub ecx, ebx
test ecx, ecx
jle 0x41eeca
lea edi, [ebx*4]
mov edx, dword [esi + 8]
lea edi, [edi + 4]
mov ecx, dword [edi + edx - 4]
mov dword [edx + eax*4], ecx
inc eax
mov ecx, dword [esi + 4]
sub ecx, ebx
cmp eax, ecx
jl 0x41eeb3
mov ecx, dword [0x45e67c]
sub ecx, 0x68ff715
cmp ecx, 0x9cf492cf
jle 0x41ef04
inc dword [0x45de14]
mov ecx, dword [0x45de14]
mov edx, dword [0x45b6e4]
shl edx, 8
and edx, ecx
cmp edx, 0x2d09f5bc
jl 0x41ef04
mov cx, word [0x45ac6a]
cmp eax, dword [esi + 4]
jge 0x41ef20
lea esp, [esp]
mov ecx, dword [esi + 8]
mov dword [ecx + eax*4], 0
inc eax
cmp eax, dword [esi + 4]
jl 0x41ef10
and dword [0x45cf34], 0x25355e6a
inc word [0x45a294]
mov ax, word [0x45a294]
movsx ecx, ax
mov eax, dword [0x45eaa8]
xor ecx, 0x9c5780f3
shl eax, 6
cmp ecx, eax
jg 0x41ef82
imul eax, dword [0x45f028], 0x2c987b50
mov ecx, 0xd60ef503
sub ecx, eax
cmp ecx, dword [0x45ed70]
jg 0x41ef82
mov ax, word [0x459056]
movsx ecx, ax
mov eax, dword [0x45e8f8]
sub ecx, eax
add ecx, 0x36a89e70
mov word [0x459056], cx
test ebp, ebp
jle 0x41f059
movzx eax, word [0x45951c]
xor eax, 0xdfffef67
mov word [0x45951c], ax
mov edi, dword [esi + 4]
dec edi
js 0x41f04f
mov ebx, 0x20
sub ebx, ebp
lea ecx, [ecx]
imul eax, dword [0x45d4b0], 0xe623a856
mov ecx, ebx
mov dword [0x45d4b0], eax
mov eax, dword [esi + 8]
mov edx, dword [eax + edi*4]
mov ax, word [0x45b3d6]
shl edx, cl
mov ecx, dword [0x45c0c0]
cwde
imul ecx, eax
imul eax, ecx, 0x1e67f629
mov ecx, ebp
add dword [0x45b98c], eax
inc dword [0x45c0c0]
mov eax, dword [esi + 8]
shr dword [eax + edi*4], cl
movsx eax, word [0x45a7f8]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x367bc90a
mov dword [esp + 0x10], edx
sub dword [0x45e81c], eax
inc word [0x45a7f8]
mov eax, dword [esi + 8]
or dword [eax + edi*4], ecx
xor dword [0x4601a0], 0xa71f222b
movsx ecx, word [0x45ab96]
mov eax, dword [0x45e720]
sar ecx, 0xa
shl eax, 0xa
add eax, ecx
mov ecx, dword [0x45bc70]
imul ecx, eax
dec edi
mov dword [0x45bc70], ecx
jns 0x41efb0
add dword [0x45eca4], 0xebffebfe
mov eax, dword [0x45cbc8]
mov ecx, dword [0x45c198]
sar eax, 9
add eax, 0x88b7e9df
or ecx, eax
movzx eax, word [0x458b86]
pop edi
pop esi
add eax, ecx
pop ebp
mov word [0x458b86], ax
xor eax, eax
pop ebx
pop ecx
ret