Function at 0x41baa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], 0x650e634d
mov dword [esp + 0x1c], 0x690767f5
mov dword [esp + 0x20], 0x6d6c6b04
xor eax, eax
nop
mov ecx, eax
and ecx, 2
mov edx, eax
xor dl, 0xf2
mov dh, al
and dh, 0xd
sub dl, dh
movzx edx, dl
add ecx, eax
add ecx, edx
xor cl, byte [esp + eax + 0x18]
add cl, 0x70
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0xc
jne 0x41bad0
mov dword [esp + 0x48], 0xee79ec73
mov dword [esp + 0x4c], 0xe271e07b
mov dword [esp + 0x50], 0xe6bae4a9
mov dword [esp + 0x54], 0x1a8518b8
mov dword [esp + 0x58], 0x1e7e1c84
mov dword [esp + 0x5c], 0x128d107e
mov dword [esp + 0x60], 0x168a148b
mov dword [esp + 0x64], 0xa9d0884
mov dword [esp + 0x68], 0xe0d0c41
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x48]
lea esi, [eax + 0x73]
mov ecx, 0x8c
sub ecx, eax
xor ecx, esi
and ecx, edx
xor ecx, esi
add cl, 0x68
mov byte [esp + eax + 0x48], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x24
jb 0x41bb50
movzx ecx, word [esp + 0x48]
lea eax, [esp + 0x15c]
test cx, cx
je 0x41bbb1
lea edx, [esp + 0x4a]
nop
nop
nop
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 0x41bba0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x41bbe1
lea edx, [ebx + 2]
nop
nop
nop
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 0x41bbd0
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x41bc11
lea edx, [esp + 0x1a]
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 0x41bc00
mov word [eax], 0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 0x7c6163df
mov byte [esp + 0x4c], 0xd9
lea eax, [esp + 0x48]
xor ecx, ecx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ecx
movzx edi, byte [eax]
mov dword [esp + 8], edi
mov ecx, dword [esp + 4]
and ecx, 0xfaf36a6
mov edx, esi
xor edx, 0xf82864ac
sub edx, ecx
lea ebx, [edx + 1]
and ebx, edi
mov ecx, ebx
and ecx, 0xfffffffd
mov edi, ebx
and edi, 2
or ebx, 2
imul ebx, edi
xor edi, 2
imul edi, ecx
add ebx, edi
mov ecx, dword [esp + 8]
add ecx, edx
inc ecx
mov edx, ebx
xor edx, ecx
not ebx
and ebx, ecx
mov ecx, dword [esp + 4]
add ebx, ebx
sub ebx, edx
add bl, 0x98
mov byte [eax], bl
inc eax
dec esi
add ecx, 0xfffffffe
cmp esi, 0xfffffffb
jne 0x41bc40
movzx eax, byte [esp + 0x48]
test al, al
je 0x41bccd
lea ecx, [esp + 0x49]
mov edx, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x41bcc0
jmp 0x41bcd1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov byte [edx], 0
lea eax, [esp + 0x154]
lea ecx, [esp + 0x158]
lea edx, [esp + 0x38]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.0040ae30
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x4447c0]
mov ecx, 0xf76a4fa5
xor ecx, dword [str._bj_b]
add eax, ecx
inc eax
jmp eax