Function at 0x42b9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x70605
mov dword [esp + 0x10], 0
mov eax, 1
mov ecx, 0xfe
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0xd5
mov edx, eax
and edx, 0xa
or edx, esi
xor dl, byte [esp + eax + 0xb]
xor dl, 0xd5
add dl, 0xfb
mov byte [esp + eax + 0xb], dl
inc eax
dec ecx
cmp eax, 9
jne 0x42ba10
mov eax, dword [esp + 0xc]
mov ecx, dword [0x451fbc]
test ecx, ecx
je 0x42ba84
xor edx, edx
mov esi, dword [0x451fc0]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42ba60
inc edx
cmp ecx, edx
jne 0x42ba50
jmp 0x42ba84
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42ba84
lea eax, [esp + 8]
push eax
push 0
push 0
push 5
push 4
push dword [0x451fc4]
push ecx
call fcn.004426e0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42bb10
push dword [esp + 8]
call fcn.0043f830
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], 0x70605
mov dword [esp + 0x10], 0
mov eax, 1
mov edx, 0xfe
nop
nop
nop
nop
nop
mov esi, edx
and esi, 0xd5
mov ebx, eax
and ebx, 0xa
or ebx, esi
xor bl, byte [esp + eax + 0xb]
xor bl, 0xd5
add bl, 0xfb
mov byte [esp + eax + 0xb], bl
inc eax
dec edx
cmp eax, 9
jne 0x42bac0
mov eax, dword [esp + 0xc]
mov edx, dword [0x451fbc]
test edx, edx
je 0x42bb36
xor esi, esi
mov edi, dword [0x451fc0]
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42bb17
inc esi
cmp edx, esi
jne 0x42bb00
jmp 0x42bb36
xor ebx, ebx
jmp 0x42be28
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42bb36
push 0
push ecx
push ebp
push 5
push 4
push dword [0x451fc4]
push edx
call fcn.004426e0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42be1f
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
lea edi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, edi
test ecx, ecx
jne 0x42bb50
test ebx, ebx
jns 0x42bb70
mov eax, 0xffffffff
push eax
call fcn.0040cd60
add esp, 4
mov dword [esp], eax
mov ecx, ebp
jmp 0x42bb90
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42bbb3
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42bb80
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42bba0
jmp 0x42bb80
xor ebx, ebx
mov ecx, dword [esp]
cmp eax, ecx
je 0x42be16
mov word [eax], 0
movzx edi, word [ecx]
test di, di
je 0x42bc1b
mov eax, dword [esp]
add eax, 2
xor ebx, ebx
mov ecx, edi
jmp 0x42bbec
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42bc1b
cmp cx, 0x7f
jbe 0x42bbe0
movzx edx, cx
cmp edx, 0x7ff
ja 0x42bc10
add ebx, 2
jmp 0x42bbe1
cmp cx, 0xffff
je 0x42bbe1
add ebx, 3
jmp 0x42bbe1
mov dword [esp + 0x20], ebp
lea eax, [ebx + 1]
push eax
call fcn.0040cd60
add esp, 4
mov ebp, eax
mov dword [esp + 4], eax
test di, di
je 0x42bd57
mov ebp, dword [esp + 4]
test ebx, ebx
je 0x42bd57
mov edx, dword [esp]
mov ecx, ebx
mov ebp, dword [esp + 4]
nop
movzx eax, di
lea edi, [edx + 2]
cmp ax, 0x7f
ja 0x42bc70
lea esi, [ebp + 1]
mov byte [ebp], al
jmp 0x42bd00
cmp eax, 0x7ff
ja 0x42bca0
cmp ecx, 2
jb 0x42bca0
mov edx, eax
shr edx, 6
add dl, 0xc0
mov byte [ebp], dl
and al, 0x3f
or al, 0x80
lea esi, [ebp + 2]
mov byte [ebp + 1], al
jmp 0x42bd00
mov esi, eax
and esi, 0xfc00
cmp esi, 0xd800
jne 0x42bd1a
cmp ecx, 4
jb 0x42bd1a
movzx esi, word [edx + 2]
add edx, 4
shl eax, 0xa
lea edi, [eax + esi]
add edi, 0xfca02400
mov eax, edi
shr eax, 0x12
or al, 0xf0
mov byte [ebp], al
mov eax, edi
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
mov eax, edi
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 2], al
mov eax, esi
and al, 0x3f
or al, 0x80
lea esi, [ebp + 4]
mov byte [ebp + 3], al
mov edi, edx
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, ebp
sub ecx, esi
mov edx, edi
mov ebp, esi
movzx edi, word [edx]
test di, di
je 0x42bd57
test ecx, ecx
jne 0x42bc50
jmp 0x42bd57
movzx edx, si
cmp edx, 0xdc00
jne 0x42bd29
mov edx, edi
jmp 0x42bd08
cmp ecx, 3
jb 0x42bd53
mov edx, eax
shr edx, 0xc
or dl, 0xe0
mov byte [ebp], dl
mov edx, eax
shr edx, 6
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 1], dl
and al, 0x3f
or al, 0x80
lea esi, [ebp + 3]
mov byte [ebp + 2], al
jmp 0x42bd00
mov esi, ebp
jmp 0x42bd00
mov byte [ebp], 0
mov dword [esp + 0xc], 0x746b654c
mov dword [esp + 0x10], 0x4e5b5a73
mov dword [esp + 0x14], 0x595e9159
mov word [esp + 0x18], 0xaf5c
mov dword [esp + 0x1a], 0
mov byte [esp + 0x1e], 0
mov eax, 0x228281db
mov ecx, 0x1d7d7e24
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x228281cf]
lea edx, [esi + esi]
not edx
add edx, esi
or esi, eax
or edx, ecx
and edx, esi
mov esi, edx
not esi
or esi, 0x537376b8
add esi, edx
mov edi, edx
xor edi, 0x537376b8
lea esi, [edi + esi*2]
add esi, 2
add edx, edx
and edx, 2
mov edi, esi
and edi, edx
or edx, 1
xor edx, esi
lea edx, [edx + edi*2]
mov byte [esp + eax - 0x228281cf], dl
inc eax
dec ecx
cmp eax, 0x228281ee
jne 0x42bda0
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x38]
push ebx
mov esi, dword [esp + 8]
push esi
push eax
call fcn.0040d960
mov ebx, eax
push esi
call fcn.0040cd70
add esp, 4
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp]
push ecx
call fcn.0040cd70
add esp, 4
push ebp
call fcn.0043f8b0
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret