Function at 0x41fb6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
inc dword [0x437c48]
mov ecx, dword [0x437c48]
movzx eax, word [0x434c04]
add ecx, 0x3a0eb141
and ecx, 0x76a22eea
sub eax, ecx
mov word [0x434c04], ax
add dword [0x43802c], 0x76a773e9
movsx eax, word [0x435eea]
push ebx
not eax
push esi
xor esi, esi
xor eax, 0x1e9d71d9
mov dword [ebp - 8], esi
push edi
cmp eax, 0x8e75a74c
jl 0x41fbe0
dec dword [0x439d30]
mov eax, dword [0x439d30]
imul eax, eax, 0x37178903
xor eax, 0x587a752f
cmp eax, 0xdebbf25b
jle 0x41fbe0
inc dword [0x436cf0]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cdq
and edx, 0x1f
push ebx
lea edi, [edx + eax]
mov eax, dword [0x437a78]
add eax, 0x26242235
sar edi, 5
mov dword [0x43accc], eax
mov ecx, dword [0x439c44]
mov eax, dword [ebp + 0xc]
xor ecx, 0xeb944ade
and eax, 0x1f
mov dword [ebp - 4], eax
movsx eax, word [0x436034]
or eax, ecx
mov dword [0x43b790], eax
dec dword [0x439c44]
call fcn.0041208d
mov edx, dword [0x4391f8]
add dword [ebp + 0xc], eax
pop ecx
movzx ecx, word [0x4365ca]
shl edx, 8
not ecx
xor ecx, edx
mov word [0x4354fc], cx
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0xc]
shl eax, 5
cmp eax, ecx
jge 0x41fc77
lea eax, [ecx + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
push eax
push ebx
call fcn.0040e566
pop ecx
pop ecx
test eax, eax
jne 0x41fe5e
mov dword [0x439fe0], 0x8f19ec71
mov ecx, dword [0x43c608]
mov eax, dword [0x43b018]
shl ecx, 5
and eax, ecx
mov dword [ebp + 0xc], esi
cmp eax, 0x52866349
je 0x41fcad
movsx eax, word [0x435296]
xor eax, 0x2999d890
add dword [0x43c070], eax
test edi, edi
jle 0x41fd45
dec dword [0x436f48]
mov eax, dword [0x436f48]
mov ecx, dword [0x437084]
and ecx, eax
and ecx, 0x45732cbd
mov dword [0x437084], ecx
mov edx, dword [ebx + 4]
dec edx
cmp edx, edi
jl 0x41fcf6
mov esi, edx
sub esi, edi
shl esi, 2
mov ecx, dword [ebx + 8]
mov eax, dword [esi + ecx]
lea esi, [esi - 4]
mov dword [ecx + edx*4], eax
dec edx
cmp edx, edi
jge 0x41fce3
xor esi, esi
xor dword [0x43da68], 0x81000280
test edx, edx
js 0x41fd0d
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], esi
dec edx
jns 0x41fd04
movsx ecx, word [0x436294]
mov eax, dword [0x439e7c]
sar ecx, 0xa
add eax, ecx
cmp eax, 0x56b89a40
je 0x41fd45
mov eax, dword [0x43b948]
add eax, 0x2a2da660
cmp eax, 0x519507a6
je 0x41fd45
imul eax, dword [0x439798], 0xcfbc86b0
mov dword [0x439798], eax
mov eax, dword [0x4371cc]
mov ecx, dword [ebp - 4]
xor eax, 0x16718472
or dword [0x43b518], eax
inc dword [0x4371cc]
test ecx, ecx
jle 0x41fe40
mov eax, dword [0x43ce38]
inc dword [0x43ce38]
cmp eax, 0x28bd1d7c
jl 0x41fd84
or dword [0x43d664], 0x37c37efe
jmp 0x41fda3
mov ax, word [0x434b1e]
mov ecx, dword [0x438c40]
cwde
add ecx, eax
mov word [0x434b1e], cx
inc dword [0x438c40]
mov ecx, dword [ebp - 4]
cmp edi, dword [ebx + 4]
jge 0x41fe36
push 0x20
pop esi
sub esi, ecx
xor dword [0x43e50c], 0x70ae372a
mov ecx, esi
mov eax, dword [ebx + 8]
mov edx, dword [eax + edi*4]
movzx eax, word [0x435ef4]
add eax, 0x57c7d7a2
shr edx, cl
mov ecx, dword [ebp - 4]
mov word [0x435ef4], ax
mov eax, dword [ebx + 8]
shl dword [eax + edi*4], cl
movzx eax, word [0x433628]
mov ecx, dword [ebp - 8]
xor eax, 0xfc5d7690
mov word [0x433628], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], edx
or dword [eax + edi*4], ecx
movsx ecx, word [0x434af2]
mov eax, dword [0x43926c]
shl ecx, 5
sub ecx, eax
lea eax, [ecx - 0x5991d2aa]
xor dword [0x436f98], eax
mov eax, dword [0x43af10]
imul eax, eax, 0x8f67e300
or dword [0x4392d0], eax
inc edi
cmp edi, dword [ebx + 4]
jl 0x41fdb1
add dword [0x43935c], 0xb101c6a0
imul eax, dword [0x43dac8], 0x2b41a5da
add eax, 0x44ca8ac4
and dword [0x437f68], eax
dec dword [0x43dac8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret