Function at 0x41aaf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebp, dword [eax + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
mov eax, edx
cmp word [ebp + edx + 2], 0
lea edx, [edx + 2]
jne 0x41ab10
mov edi, dword [ecx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41ab30
sar edx, 1
sar eax, 1
lea ecx, [edx + eax]
mov dword [esp + 0x3c], eax
add eax, edx
add eax, 0x1b
test eax, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ecx
jns 0x41ab5e
mov eax, 0xffffffff
jmp 0x41ab65
lea eax, [ecx*2 + 0x36]
push eax
call fcn.004082c0
add esp, 4
mov dword [esp + 2], 0xdc87dab5
mov dword [esp + 6], 0xd0bcdea2
mov dword [esp + 0xa], 0xd4afd2b0
mov dword [esp + 0xe], 0xe892d6f5
mov dword [esp + 0x12], 0xec9fea61
mov dword [esp + 0x16], 0xe091ee88
mov dword [esp + 0x1a], 0xe49ae292
mov dword [esp + 0x1e], 0xf899e69a
mov dword [esp + 0x22], 0xfca8fad9
mov dword [esp + 0x26], 0xf08bfe98
mov dword [esp + 0x2a], 0xf48af285
mov dword [esp + 0x2e], 0x890f68b
mov dword [esp + 0x32], 0xc670a7a
mov word [esp + 0x36], 0xe0d
xor ebx, ebx
nop
movzx ecx, byte [esp + ebx + 2]
lea edx, [ebx - 0x3fdc17af]
xor edx, ecx
mov ecx, edx
and ecx, 0x77
xor edx, 0xfee0bd77
lea ecx, [edx + ecx*2]
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + ebx + 2], cl
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ebx, [ebx + ecx*2]
cmp ebx, 0x36
jb 0x41abe0
movzx ecx, word [ebp]
mov ebx, eax
test cx, cx
je 0x41ac42
add ebp, 2
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x41ac30
mov word [ebx], 0
movzx ecx, word [esp + 2]
test cx, cx
je 0x41ac71
lea edx, [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41ac60
mov word [ebx], 0
movzx ecx, word [edi]
test cx, cx
mov dword [esp + 0x44], eax
je 0x41aca1
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41ac90
mov word [ebx], 0
mov ebx, dword [esi]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41acb0
mov ecx, dword [esp + 0x64]
mov ebp, dword [ecx]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41acd0
mov edx, dword [esp + 0x68]
mov edi, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x41acf0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0x13
test eax, eax
jns 0x41ad14
mov eax, 0xffffffff
jmp 0x41ad1d
add ecx, edx
lea eax, [ecx*2 + 0x26]
push eax
call fcn.004082c0
add esp, 4
movzx ecx, word [ebx]
mov esi, eax
test cx, cx
je 0x41ad51
add ebx, 2
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41ad40
mov word [esi], 0x2f
mov dword [esp + 2], 0x24e6221e
mov dword [esp + 6], 0x38d326ad
mov dword [esp + 0xa], 0x3cc53adc
mov dword [esp + 0xe], 0x30c63ece
mov dword [esp + 0x12], 0x34cd32ce
mov dword [esp + 0x16], 0xc80836c6
mov word [esp + 0x1a], 0xcac9
xor edx, edx
nop
mov ecx, edx
add cl, 0x69
xor cl, byte [esp + edx + 2]
add cl, 0xb8
mov byte [esp + edx + 2], cl
inc edx
cmp edx, 0x1a
jne 0x41ad90
add esi, 2
movzx ecx, word [ebp]
test cx, cx
mov ebx, dword [esp + 0x68]
je 0x41add2
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x41adc0
mov word [esi], 0
movzx edx, word [esp + 2]
test dx, dx
je 0x41ae01
lea ecx, [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], dx
add esi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41adf0
mov word [esi], 0
movzx ecx, word [edi]
test cx, cx
je 0x41ae31
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41ae20
mov word [esi], 0
mov dword [esp + 2], 0x2a
lea ecx, [esp + 2]
push 0
push 0
push 0xc00000
push ecx
mov edi, dword [esp + 0x54]
push edi
mov ebp, eax
push eax
push dword [esp + 0x74]
call fcn.0041eda0
add esp, 0x1c
mov byte [esp + 1], al
jmp dword [0x43ef00]