Function at 0x42a300
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xd4d5cacb
mov edi, 0x219f7c4e
mov esi, 0xde6083b1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + edi - 0x219f7c3e]
mov ebx, edx
xor ebx, edi
or ebx, esi
mov eax, ebx
shr al, 1
and al, 1
mov ecx, ebx
not cl
mov ah, cl
and ah, 0x5d
mul ah
add al, al
sub dl, al
test bl, 2
sete al
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, edi
add al, 0x7a
mov byte [esp + edi - 0x219f7c3e], al
inc edi
dec esi
cmp edi, 0x219f7c52
jne 0x42a330
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44fbb4]
test ecx, ecx
je 0x42a3c4
xor edx, edx
mov esi, dword [0x44fbb8]
cmp dword [esi + edx*8], 0xc85f7986
je 0x42a3a0
inc edx
cmp ecx, edx
jne 0x42a390
jmp 0x42a3c4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42a3c4
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 5
push 4
push dword [0x44fbbc]
push ecx
call fcn.004403c0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42a480
push dword [esp + 0xc]
call fcn.0043da10
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 0x10], 0xd4d5cacb
mov ebp, 0x219f7c4e
mov esi, 0xde6083b1
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebp - 0x219f7c3e]
mov ebx, edx
xor ebx, ebp
or ebx, esi
mov eax, ebx
shr al, 1
and al, 1
mov ecx, ebx
not cl
mov ah, cl
and ah, 0x5d
mul ah
add al, al
sub dl, al
test bl, 2
sete al
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, ebp
add al, 0x7a
mov byte [esp + ebp - 0x219f7c3e], al
inc ebp
dec esi
cmp ebp, 0x219f7c52
jne 0x42a400
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44fbb4]
test ecx, ecx
je 0x42a487
xor edx, edx
mov esi, dword [0x44fbb8]
mov ebp, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42a48d
inc edx
cmp ecx, edx
jne 0x42a470
jmp 0x42a4af
xor ebx, ebx
jmp 0x42a75e
mov ebp, dword [esp + 8]
jmp 0x42a4af
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42a4af
push 0
push dword [esp + 4]
push ebp
push 5
push 4
push dword [0x44fbbc]
push ecx
call fcn.004403c0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42a755
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
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 0x42a4d0
test ebx, ebx
jns 0x42a4f0
mov eax, 0xffffffff
push eax
call fcn.0040cda0
add esp, 4
mov dword [esp], eax
mov ecx, ebp
jmp 0x42a510
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42a533
mov edx, dword [ecx + esi + 0x3c]
movzx edi, word [edx]
test di, di
je 0x42a500
add edx, 2
nop
mov word [eax], di
add eax, 2
movzx edi, word [edx]
add edx, 2
test di, di
jne 0x42a520
jmp 0x42a500
xor ebx, ebx
mov ecx, dword [esp]
cmp eax, ecx
je 0x42a74c
mov word [eax], 0
movzx edi, word [ecx]
test di, di
je 0x42a59b
mov eax, dword [esp]
add eax, 2
xor ebx, ebx
mov ecx, edi
jmp 0x42a56c
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42a59b
cmp cx, 0x7f
jbe 0x42a560
movzx edx, cx
cmp edx, 0x7ff
ja 0x42a590
add ebx, 2
jmp 0x42a561
cmp cx, 0xffff
je 0x42a561
add ebx, 3
jmp 0x42a561
lea eax, [ebx + 1]
push eax
call fcn.0040cda0
add esp, 4
mov ebp, eax
mov dword [esp + 4], eax
test di, di
je 0x42a6d7
mov ebp, dword [esp + 4]
test ebx, ebx
je 0x42a6d7
mov edx, dword [esp]
mov ecx, ebx
mov ebp, dword [esp + 4]
nop
nop
nop
nop
nop
movzx eax, di
lea edi, [edx + 2]
cmp ax, 0x7f
ja 0x42a5f0
lea esi, [ebp + 1]
mov byte [ebp], al
jmp 0x42a680
cmp eax, 0x7ff
ja 0x42a620
cmp ecx, 2
jb 0x42a620
mov edx, eax
shr edx, 6
add dl, 0xc0
mov byte [ebp], dl
lea esi, [ebp + 2]
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
jmp 0x42a680
mov esi, eax
and esi, 0xfc00
cmp esi, 0xd800
jne 0x42a69a
cmp ecx, 4
jb 0x42a69a
movzx esi, word [edx + 2]
shl eax, 0xa
lea edi, [eax + esi]
add edi, 0xfca02400
mov eax, edi
shr eax, 0x12
add 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
mov byte [ebp + 3], al
lea esi, [ebp + 4]
add edx, 4
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 0x42a6d7
test ecx, ecx
jne 0x42a5d0
jmp 0x42a6d7
movzx edx, si
cmp edx, 0xdc00
jne 0x42a6a9
mov edx, edi
jmp 0x42a688
cmp ecx, 3
jb 0x42a6d3
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 0x42a680
mov esi, ebp
jmp 0x42a680
mov byte [ebp], 0
mov dword [esp + 0x10], 0xb8a5b798
mov dword [esp + 0x14], 0xbeadaab9
mov dword [esp + 0x18], 0xa7a2e3af
mov word [esp + 0x1c], 0xdda0
mov dword [esp + 0x1e], 0
mov word [esp + 0x22], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xce
xor cl, byte [esp + eax + 0x10]
add cl, 0xfa
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x14
jne 0x42a710
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x38]
push ebx
mov esi, dword [esp + 8]
push esi
push eax
call fcn.0040d940
mov ebx, eax
push esi
call fcn.0040cdb0
add esp, 4
mov ebp, dword [esp + 8]
mov ecx, dword [esp]
push ecx
call fcn.0040cdb0
add esp, 4
push ebp
call fcn.0043da90
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret