Function at 0x41b290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], 0xbb2db94a
mov dword [esp + 0x24], 0xbf2dbd2e
mov dword [esp + 0x28], 0xa343a12c
mov dword [esp + 0x2c], 0xa743a54b
mov dword [esp + 0x30], 0xab4ca95a
mov dword [esp + 0x34], 0xaf4aad4d
mov dword [esp + 0x38], 0x53c7514d
mov dword [esp + 0x3c], 0x57c055be
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x5956
mov dword [esp + 0x42], 0
mov word [esp + 0x46], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x27
ja 0x41b35c
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx - 0x6aeea719]
lea edi, [ecx + 0xe7]
xor edi, esi
and esi, edx
and edi, edx
add ecx, edx
add ecx, 0x951158e7
lea edx, [edi + esi*2]
sub ecx, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
add cl, 0xaf
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x28
jb 0x41b310
lea edi, [esp + 0x70]
lea edx, [esp + 0x20]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x90]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov edi, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41b390
cmp eax, 0xffffffdd
jge 0x41b3a7
mov eax, 0xffffffff
jmp 0x41b3aa
add eax, 0x22
push eax
call fcn.00408de0
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41b3e1
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41b3d0
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x41b411
lea edx, [esp + 0x72]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41b400
mov word [eax], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x630d610d
mov dword [esp + 0x24], 0x674b65fe
mov dword [esp + 0x28], 0x6bf2690d
mov dword [esp + 0x2c], 0x6f0b6df8
mov dword [esp + 0x30], 0x930191fe
mov dword [esp + 0x34], 0x97f995fd
mov dword [esp + 0x38], 0x9bb199f6
mov dword [esp + 0x3c], 0x9fb59db7
mov dword [esp + 0x40], 0x83fc81aa
mov dword [esp + 0x44], 0x87158511
mov dword [esp + 0x48], 0x8b1889ed
mov dword [esp + 0x4c], 0x8fe18dcf
mov dword [esp + 0x50], 0xb326b1de
mov dword [esp + 0x54], 0xb72eb5d1
mov dword [esp + 0x58], 0xbbf3b92c
mov dword [esp + 0x5c], 0xbfe3bdd8
mov dword [esp + 0x60], 0xa3a2a18a
mov word [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x49
ja 0x41b51e
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x20]
mov edx, eax
and edx, 0xdff1970
xor eax, 0xdff1970
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0xf0
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x4a
jb 0x41b4e0
lea eax, [esp + 8]
push eax
push 0x41b850
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041be10
add esp, 0x10
mov ebx, eax
jmp dword [0x4426c4]