Function at 0x4236c0
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 + 0x20], 0
mov dword [esp], 0x8b08f1f2
mov eax, dword [esp]
mov ecx, eax
and ecx, 0xd
xor eax, 0xd
lea eax, [eax + ecx*2]
movzx eax, al
mov dword [esp], 0x8b08f1f2
mov ecx, dword [esp]
mov edx, ecx
and edx, 0xd
xor ecx, 0xd
lea ecx, [ecx + edx*2]
shl ecx, 8
movzx ecx, cx
or ecx, eax
mov dword [esp], 0x8b08f1f2
mov eax, dword [esp]
mov edx, eax
and edx, 0xd
xor eax, 0xd
lea eax, [eax + edx*2]
mov dword [esp], 0x8b08f1f2
mov edx, dword [esp]
mov esi, edx
and esi, 0xd
xor edx, 0xd
lea edx, [edx + esi*2]
shl edx, 0x18
movzx eax, al
shl eax, 0x10
or eax, ecx
or eax, edx
mov dword [esp], 0x8b08f1b9
mov ecx, dword [esp]
mov dword [esp], 0x8b08f1ba
mov ecx, dword [esp]
mov dword [esp], 0x8b08f1bb
mov ecx, dword [esp]
mov dword [esp], 0x8b08f1bc
mov ecx, dword [esp]
mov ecx, dword [0x44d628]
test ecx, ecx
je 0x4237b4
xor edx, edx
mov esi, dword [0x44d62c]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x10def2fc
je 0x423790
inc edx
cmp ecx, edx
jne 0x423780
jmp 0x4237b4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4237b4
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 5
push 4
push dword [0x44d630]
push ecx
call fcn.0043dbc0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x423933
push dword [esp + 0x20]
call fcn.0043bc30
add esp, 4
mov ebx, eax
mov ecx, dword [esp + 0x20]
mov dword [esp], 0x8b08f1f2
mov eax, dword [esp]
mov edx, eax
and edx, 0xd
xor eax, 0xd
lea eax, [eax + edx*2]
movzx eax, al
mov dword [esp], 0x8b08f1f2
mov edx, dword [esp]
mov esi, edx
and esi, 0xd
xor edx, 0xd
lea edx, [edx + esi*2]
shl edx, 8
movzx edx, dx
or edx, eax
mov dword [esp], 0x8b08f1f2
mov eax, dword [esp]
mov esi, eax
and esi, 0xd
xor eax, 0xd
lea eax, [eax + esi*2]
mov dword [esp], 0x8b08f1f2
mov esi, dword [esp]
mov edi, esi
and edi, 0xd
xor esi, 0xd
lea esi, [esi + edi*2]
movzx eax, al
shl eax, 0x10
or eax, edx
shl esi, 0x18
or eax, esi
mov dword [esp], 0x8b08f1b9
mov edx, dword [esp]
mov dword [esp], 0x8b08f1ba
mov edx, dword [esp]
mov dword [esp], 0x8b08f1bb
mov edx, dword [esp]
mov dword [esp], 0x8b08f1bc
mov edx, dword [esp]
mov edx, dword [0x44d628]
test edx, edx
je 0x423892
xor esi, esi
mov edi, dword [0x44d62c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x10def2fc
je 0x423b7e
inc esi
cmp edx, esi
jne 0x423880
mov esi, ebx
xor ebx, ebx
test eax, eax
js 0x423bb7
mov edx, esi
mov ebx, dword [esi]
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x1c], esi
xor edi, edi
nop
nop
nop
nop
lea esi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add edi, 0x104
mov edx, esi
test ecx, ecx
jne 0x4238b0
test edi, edi
jns 0x4238d0
mov eax, 0xffffffff
push eax
call fcn.00408fc0
add esp, 4
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
jmp 0x423902
mov edi, esi
add eax, ebx
lea esi, [edi + 2]
mov word [edi], 0xa
mov ebx, dword [eax]
test ebx, ebx
je 0x42393a
mov ecx, dword [eax + ebx + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x4238f0
add ecx, 2
mov edi, esi
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 0x423920
jmp 0x4238f2
xor ebx, ebx
jmp 0x423bc0
xor ebx, ebx
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x423ba8
mov word [esi], 0
movzx ecx, word [eax]
test cx, cx
je 0x42399c
xor ebx, ebx
mov eax, dword [esp + 0x10]
jmp 0x423972
mov ebx, dword [esp + 0x14]
add ebx, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x42399c
cmp eax, esi
jae 0x42399c
mov dword [esp + 0x14], ebx
movzx ebx, cx
cmp ebx, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp ebx, 0x80
jb 0x423960
mov edx, ecx
jmp 0x423960
lea eax, [ebx + 1]
mov dword [esp + 0x24], eax
push eax
call fcn.00408fc0
add esp, 4
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jle 0x423aa5
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x10], esi
jae 0x423aa5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x2c], eax
add dword [esp + 0x24], ecx
mov edx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [edx]
test bx, bx
je 0x423aa5
cmp bx, 0x7f
ja 0x423a10
mov byte [ecx], bl
mov esi, 1
jmp 0x423a90
mov eax, ecx
not eax
add eax, dword [esp + 0x24]
movzx esi, bx
cmp eax, 2
jb 0x423a50
cmp esi, 0x7ff
ja 0x423a50
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 0x423a90
mov dword [esp + 0x28], esi
xor esi, esi
cmp eax, 3
jb 0x423a90
mov esi, dword [esp + 0x28]
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 + 0x2c]
jae 0x423aa5
lea eax, [edx + 2]
cmp edx, edi
mov edx, eax
jb 0x4239f0
mov byte [ecx], 0
mov dword [esp], 0x3e3133d6
mov dword [esp + 4], 0x4051503d
mov dword [esp + 8], 0x53548f53
mov dword [esp + 0xc], 0xd556
xor eax, eax
mov ecx, 0xffffffff
nop
nop
mov edx, eax
and edx, 2
mov esi, ecx
and esi, 0xc952a9fd
or esi, edx
add edx, edx
sub edx, esi
mov esi, edx
mov edi, edx
and edi, 0xaa12dfb9
lea ebx, [edi + 2]
and edx, 2
imul ebx, edx
xor edx, 2
imul edx, edi
movzx edi, byte [esp + eax]
xor esi, 0xaa12dfbb
add edx, esi
lea esi, [ebx + edx]
add esi, 0xc952a9fd
mov ebx, esi
xor ebx, edi
mov edx, esi
or edx, edi
and esi, edi
xor edx, ebx
add edx, edx
lea esi, [ebx + esi*2]
mov edi, esi
xor edi, edx
not edx
and edx, esi
add edx, edx
sub edx, edi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x30]
mov esi, edx
not esi
and esi, 0x1e
and edx, 0xe1
sub edx, esi
inc dl
mov byte [esp + eax], dl
inc eax
dec ecx
cmp eax, 0x10
jne 0x423ad0
mov eax, esp
mov ecx, dword [ebp + 8]
push dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push esi
push eax
call fcn.00409b20
mov ebx, eax
push esi
call fcn.00408fd0
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
jmp 0x423bae
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov esi, ebx
je 0x423894
push 0
push ecx
push esi
push 5
push 4
push dword [0x44d630]
push edx
call fcn.0043dbc0
add esp, 0x1c
jmp 0x423894
xor ebx, ebx
mov esi, dword [esp + 0x1c]
push eax
call fcn.00408fd0
add esp, 4
push esi
call fcn.0043bcf0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret