Function at 0x42a6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0x34353a3b
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
mov esi, ecx
xor esi, 0x4a
mov edx, eax
and edx, 2
sub edx, esi
xor dl, byte [esp + ecx + 4]
add dl, 0x72
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 4
jne 0x42a6f0
mov eax, dword [esp + 4]
mov ecx, dword [0x4504d8]
test ecx, ecx
je 0x42a764
xor edx, edx
mov esi, dword [0x4504dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x9abdb589
je 0x42a740
inc edx
cmp ecx, edx
jne 0x42a730
jmp 0x42a764
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42a764
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 5
push 4
push dword [0x4504e0]
push ecx
call fcn.00440d90
add esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], 0xb7f60904
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 4]
mov ebx, esi
not ebx
mov edi, eax
and edi, 4
mov ebp, edx
xor ebp, 0x7b57fcea
lea ecx, [edi + ebp]
add edi, ebp
add edi, 0x43372f94
and ebx, 0x3b
lea ebp, [ecx*2 - 0x7991a0d8]
sub ecx, ebp
add ecx, 0x43372f93
and ecx, 0x4de52d3b
and edi, 0xb20a00c4
or edi, ecx
xor esi, 0x4de52d3b
or esi, ebx
mov ecx, esi
and ecx, edi
add ecx, ecx
sub edi, ecx
add edi, esi
mov ebx, edi
and ebx, 9
add ebx, ebx
xor edi, 0x76
sub ebx, edi
mov byte [esp + edx + 4], bl
inc edx
add eax, 2
cmp edx, 4
jne 0x42a780
xor ebx, ebx
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jne 0x42aa2d
push dword [esp + 0x18]
call fcn.0043dbb0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], 0x34353a3b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
xor esi, 0x4a
mov edx, ebx
and edx, 2
sub edx, esi
xor dl, byte [esp + eax + 4]
add dl, 0x72
mov byte [esp + eax + 4], dl
inc eax
add ebx, 2
cmp eax, 4
jne 0x42a820
mov eax, dword [esp + 4]
mov edx, dword [0x4504d8]
test edx, edx
je 0x42a88f
xor esi, esi
mov ebx, dword [0x4504dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x9abdb589
je 0x42a870
inc esi
cmp edx, esi
jne 0x42a860
jmp 0x42a88f
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x42a88f
push 0
push ecx
push edi
push 5
push 4
push dword [0x4504e0]
push edx
call fcn.00440d90
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42aa24
mov esi, dword [edi]
xor eax, eax
mov ecx, esi
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebp, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, ebp
test ecx, ecx
jne 0x42a8b0
test ebx, ebx
jns 0x42a8d0
mov eax, 0xffffffff
push eax
call fcn.0040c8b0
add esp, 4
mov ebp, eax
mov ecx, edi
jmp 0x42a8f0
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42a913
mov edx, dword [ecx + esi + 0x3c]
movzx ebx, word [edx]
test bx, bx
je 0x42a8e0
add edx, 2
nop
mov word [eax], bx
add eax, 2
movzx ebx, word [edx]
add edx, 2
test bx, bx
jne 0x42a900
jmp 0x42a8e0
xor ebx, ebx
cmp eax, ebp
je 0x42aa1b
mov word [eax], 0
movzx ecx, word [ebp]
test cx, cx
je 0x42a97b
mov eax, ebp
add eax, 2
xor ebx, ebx
jmp 0x42a94c
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42a97b
cmp cx, 0x7f
jbe 0x42a940
movzx edx, cx
cmp edx, 0x7ff
ja 0x42a970
add ebx, 2
jmp 0x42a941
cmp cx, 0xffff
je 0x42a941
add ebx, 3
jmp 0x42a941
mov dword [esp], edi
lea edi, [ebx + 1]
push edi
call fcn.0040c8b0
add esp, 4
mov esi, eax
mov dword [esp + 0x1c], ebp
push ebp
push edi
push eax
call fcn.0042a570
add esp, 0xc
mov dword [esp + 4], 0x545b45bc
mov dword [esp + 8], 0x5e4b4a53
mov dword [esp + 0xc], 0x494e9149
mov dword [esp + 0x10], 0xff4c
mov byte [esp + 0x14], 0
mov eax, 0xd2
mov ecx, 0x3d82272c
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0xce]
lea ebp, [eax - 0x1ec113ff]
mov edx, ecx
xor edx, ebp
and edx, edi
xor edx, ebp
add dl, 0xe1
mov byte [esp + eax - 0xce], dl
inc eax
dec ecx
cmp eax, 0xe3
jne 0x42a9d0
lea eax, [esp + 4]
mov ecx, dword [esp + 0x34]
push ebx
push esi
push eax
call fcn.0040d480
mov ebx, eax
push esi
call fcn.0040c8c0
add esp, 4
mov edi, dword [esp]
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.0040c8c0
add esp, 4
push edi
call fcn.0043dc40
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret