Function at 0x422fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0x92919097
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, 0x900a7fc3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6ff5804d]
xor ecx, eax
mov dword [esp], ecx
mov ecx, dword [esp]
add ecx, 0x5bbc9ad3
mov edx, ecx
and edx, 0x58
xor ecx, 0xd8
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0x6ff5804d], cl
movzx ecx, byte [esp + eax + 0x6ff5804e]
lea edx, [eax + 1]
xor edx, ecx
mov dword [esp], edx
mov ecx, dword [esp]
add ecx, 0x5bbc9ad3
mov edx, ecx
and edx, 0x58
xor ecx, 0xd8
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0x6ff5804e], cl
add eax, 2
cmp eax, 0x900a7fcf
jne 0x423000
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44d514]
test ecx, ecx
je 0x4230b4
xor edx, edx
mov esi, dword [0x44d518]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x10def2fc
je 0x423090
inc edx
cmp ecx, edx
jne 0x423080
jmp 0x4230b4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4230b4
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 5
push 4
push dword [0x44d51c]
push ecx
call fcn.0043d9a0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x423182
push dword [esp + 0x28]
call fcn.0043bda0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], 0x92919097
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, 0x900a7fc3
nop
nop
movzx edx, byte [esp + eax + 0x6ff5804d]
xor edx, eax
mov dword [esp], edx
mov edx, dword [esp]
add edx, 0x5bbc9ad3
mov esi, edx
and esi, 0x58
xor edx, 0xd8
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x6ff5804d], dl
movzx edx, byte [esp + eax + 0x6ff5804e]
lea esi, [eax + 1]
xor esi, edx
mov dword [esp], esi
mov edx, dword [esp]
add edx, 0x5bbc9ad3
mov esi, edx
and esi, 0x58
xor edx, 0xd8
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x6ff5804e], dl
add eax, 2
cmp eax, 0x900a7fcf
jne 0x4230f0
mov eax, dword [esp + 0x10]
mov edx, dword [0x44d514]
test edx, edx
je 0x4231aa
mov ebx, edi
xor esi, esi
mov edi, dword [0x44d518]
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x10def2fc
je 0x423189
inc esi
cmp edx, esi
jne 0x423170
mov edi, ebx
jmp 0x4231aa
xor ebx, ebx
jmp 0x42350b
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, ebx
je 0x4231aa
push 0
push ecx
push edi
push 5
push 4
push dword [0x44d51c]
push edx
call fcn.0043d9a0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x423502
mov esi, dword [edi]
mov eax, esi
mov ebx, edi
mov ecx, edi
xor edi, edi
nop
nop
lea edx, [ecx + eax]
inc edi
mov eax, dword [ecx + eax]
mov ecx, edx
test eax, eax
jne 0x4231c0
mov eax, edi
and eax, 0xfffffefb
mov ecx, edi
and ecx, 0x104
or edi, 0x104
imul edi, ecx
xor ecx, 0x104
imul ecx, eax
add edi, ecx
mov dword [esp + 0x2c], ebx
jns 0x4231fd
mov edi, 0xffffffff
jmp 0x4231ff
add edi, edi
push edi
call fcn.00408d90
add esp, 4
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
jmp 0x423232
mov edi, ebx
add eax, esi
lea ebx, [edi + 2]
mov word [edi], 0xa
mov esi, dword [eax]
test esi, esi
je 0x423263
mov ecx, dword [eax + esi + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x423220
add ecx, 2
mov edi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423250
jmp 0x423222
xor edx, edx
mov eax, dword [esp + 4]
cmp ebx, eax
je 0x4234f3
mov word [ebx], 0
movzx ecx, word [eax]
test cx, cx
je 0x4232ce
xor edx, edx
mov eax, dword [esp + 4]
jmp 0x4232a4
mov ecx, dword [esp + 0x20]
add ecx, edx
mov edx, ecx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x4232ce
cmp eax, ebx
jae 0x4232ce
mov dword [esp + 0x20], edx
movzx esi, cx
cmp esi, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp esi, 0x80
jb 0x423290
mov edx, ecx
jmp 0x423290
lea eax, [edx + 1]
mov dword [esp + 8], eax
push eax
mov esi, edx
call fcn.00408d90
add esp, 4
mov ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
test esi, esi
jle 0x4233d5
mov ecx, dword [esp + 0x24]
cmp dword [esp + 4], ebx
jae 0x4233d5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0xc], eax
add dword [esp + 8], ecx
mov edx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [edx]
test bx, bx
je 0x4233d5
cmp bx, 0x7f
ja 0x423340
mov byte [ecx], bl
mov esi, 1
jmp 0x4233c0
mov eax, ecx
not eax
add eax, dword [esp + 8]
movzx esi, bx
cmp eax, 2
jb 0x423380
cmp esi, 0x7ff
ja 0x423380
mov eax, ebx
shr eax, 6
or al, 0xc0
mov byte [ecx], al
and bl, 0x3f
or bl, 0x80
mov byte [ecx + 1], bl
mov esi, 2
jmp 0x4233c0
mov dword [esp + 0x30], esi
xor esi, esi
cmp eax, 3
jb 0x4233c0
mov esi, dword [esp + 0x30]
mov eax, esi
shr eax, 0xc
or al, 0xe0
mov byte [ecx], al
mov eax, esi
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ecx + 1], al
and bl, 0x3f
or bl, 0x80
mov byte [ecx + 2], bl
mov esi, 3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, esi
cmp ecx, dword [esp + 0xc]
jae 0x4233d5
lea eax, [edx + 2]
cmp edx, edi
mov edx, eax
jb 0x423320
mov byte [ecx], 0
mov dword [esp + 0x10], 0x1e292b06
mov dword [esp + 0x14], 0x1829281d
mov dword [esp + 0x18], 0x3b344f2b
mov dword [esp + 0x1c], 0xa536
xor edi, edi
mov ecx, 0xffffffff
nop
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
movzx esi, byte [esp + edi + 0x10]
and edi, 5
mov edx, dword [esp + 0xc]
and edx, 2
mov ebx, edx
xor ebx, 2
imul ebx, edi
or edi, 2
imul edi, edx
mov ecx, dword [esp + 8]
or ecx, 8
mov edx, dword [esp + 0xc]
or edx, 0xca614cc7
and edx, ecx
add edx, ebx
add edx, edi
mov eax, edx
not eax
and eax, esi
mov ecx, eax
not ecx
mov edi, eax
and edi, 0xfffffff1
xor edi, 0xa210acf1
or ecx, 0x4da8420e
lea ebx, [eax + ecx]
inc ebx
and ebx, 0x4da842ff
or ebx, edi
mov ecx, esi
not ecx
and ecx, edx
xor edx, esi
xor ebx, ecx
not ecx
add edx, ecx
mov ecx, dword [esp + 8]
xor ebx, 0xa210acf1
sub edx, eax
lea esi, [edx + edx]
not esi
add esi, edx
and edx, ebx
xor esi, ebx
add esi, ebx
sub esi, edx
mov dword [esp], esi
mov edx, dword [esp]
lea esi, [edx + 0xc8]
mov eax, 0x37
sub eax, edx
and eax, 0x3a
and esi, 0xc5
sub esi, eax
and edx, 1
xor esi, 1
mov eax, edx
not eax
and eax, esi
lea eax, [eax + edx*2]
mov edi, dword [esp + 0xc]
mov byte [esp + edi + 0x10], al
inc edi
dec ecx
cmp edi, 0x10
jne 0x423400
lea eax, [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push esi
push eax
call fcn.00409950
mov ebx, eax
push esi
call fcn.00408da0
add esp, 4
mov eax, dword [esp + 4]
jmp 0x4234f5
xor ebx, ebx
push eax
call fcn.00408da0
add esp, 4
mov edi, dword [esp + 0x2c]
push edi
call fcn.0043be60
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret