Function at 0x4203b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x5f5e5d5c
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x420417
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
lea edx, [eax + 0x48]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xae9a1a48
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0xeb
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4203e0
mov eax, dword [esp + 4]
mov ecx, dword [0x44ab8c]
test ecx, ecx
je 0x420464
xor edx, edx
mov esi, dword [0x44ab90]
nop
nop
nop
cmp dword [esi + edx*8], 0xcecd21fd
je 0x420440
inc edx
cmp ecx, edx
jne 0x420430
jmp 0x420464
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x420464
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 5
push 4
push dword [0x44ab94]
push ecx
call fcn.0043cc20
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x420500
push dword [esp + 0x14]
call fcn.0043ad60
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x5f5e5d5c
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x4204d7
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
lea esi, [eax + 0x48]
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
add eax, 0xae9a1a48
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0xeb
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4204a0
mov eax, dword [esp + 4]
mov edx, dword [0x44ab8c]
test edx, edx
je 0x420529
xor esi, esi
mov edi, dword [0x44ab90]
nop
nop
nop
cmp dword [edi + esi*8], 0xcecd21fd
je 0x420507
inc esi
cmp edx, esi
jne 0x4204f0
jmp 0x420529
xor ebx, ebx
jmp 0x4207c9
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x420529
push 0
push ecx
push dword [esp + 0x14]
push 5
push 4
push dword [0x44ab94]
push edx
call fcn.0043cc20
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x4207bd
mov edx, dword [esp + 0xc]
mov ebp, dword [edx]
xor eax, eax
mov ecx, ebp
nop
nop
nop
lea esi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, esi
test ecx, ecx
jne 0x420540
test ebx, ebx
jns 0x420560
mov eax, 0xffffffff
push eax
call fcn.00409a00
add esp, 4
mov edi, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
jmp 0x420592
mov esi, edi
add eax, ebp
lea edi, [esi + 2]
mov word [esi], 0xa
mov ebp, dword [eax]
test ebp, ebp
je 0x4205c3
mov ecx, dword [eax + ebp + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x420580
add ecx, 2
mov esi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], dx
add esi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4205b0
jmp 0x420582
xor ebx, ebx
mov eax, dword [esp + 8]
cmp edi, eax
je 0x4207b4
mov word [edi], 0
movzx ecx, word [eax]
test cx, cx
je 0x420624
xor ebx, ebx
mov eax, dword [esp + 8]
jmp 0x4205fe
add ebx, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x420624
cmp eax, edi
jae 0x420624
movzx ebp, cx
cmp ebp, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp ebp, 0x80
jb 0x4205f0
mov edx, ecx
jmp 0x4205f0
lea eax, [ebx + 1]
mov dword [esp + 0x18], eax
push eax
call fcn.00409a00
add esp, 4
mov edx, eax
mov dword [esp + 0x10], eax
test ebx, ebx
jle 0x420725
mov edx, dword [esp + 0x10]
cmp dword [esp + 8], edi
jae 0x420725
mov edx, dword [esp + 0x10]
lea eax, [edx + ebx]
mov dword [esp + 0x30], eax
add dword [esp + 0x18], edx
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [edi]
test cx, cx
je 0x420725
cmp cx, 0x7f
ja 0x420690
mov byte [edx], cl
mov ebp, 1
jmp 0x420710
mov eax, edx
not eax
add eax, dword [esp + 0x18]
movzx ebp, cx
cmp eax, 2
jb 0x4206d0
cmp ebp, 0x7ff
ja 0x4206d0
mov eax, ecx
shr eax, 6
add al, 0xc0
mov byte [edx], al
and cl, 0x3f
or cl, 0x80
mov byte [edx + 1], cl
mov ebp, 2
jmp 0x420710
mov dword [esp + 0x2c], ebp
xor ebp, ebp
cmp eax, 3
jb 0x420710
mov ebp, dword [esp + 0x2c]
mov eax, ebp
shr eax, 0xc
or al, 0xe0
mov byte [edx], al
mov eax, ebp
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [edx + 1], al
and cl, 0x3f
or cl, 0x80
mov byte [edx + 2], cl
mov ebp, 3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, ebp
cmp edx, dword [esp + 0x30]
jae 0x420725
lea eax, [edi + 2]
cmp edi, esi
mov edi, eax
jb 0x420670
mov byte [edx], 0
mov dword [esp + 0x1c], 0xf50804eb
mov dword [esp + 0x20], 0xef181bec
mov dword [esp + 0x24], 0x181dd01e
mov dword [esp + 0x28], 0x8e13
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x420791
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x1c]
add eax, 0xb90cf80c
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x69
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x1c], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x420760
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x48]
push ebx
mov esi, dword [esp + 0x14]
push esi
push eax
call fcn.0040a400
mov ebx, eax
push esi
call fcn.00409a10
add esp, 4
mov eax, dword [esp + 8]
push eax
call fcn.00409a10
add esp, 4
push dword [esp + 0xc]
call fcn.0043ae00
add esp, 4
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret