Function at 0x4220b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], esi
test ecx, ecx
je 0x4220ec
push ecx
mov eax, esp
push str..language
push eax
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x42210e
push ecx
mov eax, esp
push 0xffffffffffffffff
push 0
push 0x44d098
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_char_const___unsigned_int__unsigned_int_]
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x422126
lea ecx, [ebx + 0xc]
push eax
call fcn.004226b7
add eax, 4
lea ecx, [ebp - 4]
push eax
call fcn.00413128
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x422147
push ecx
mov eax, esp
push str..available_languages
push eax
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x42216d
push ecx
mov eax, esp
push 0xffffffffffffffff
push 0
push str.available_languages
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_char_const___unsigned_int__unsigned_int_]
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x422260
push 0
push 0x2c
push ecx
mov edi, esp
lea ecx, [ebx + 0xc]
push eax
call fcn.004226b7
add eax, 4
mov ecx, edi
push eax
call fcn.00401d12
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.lib.io.char.dll_public:_static_class_Ref_class_TVector_class_Ref_class_String______cdecl_StringUtil::split_class_Ref_class_String___unsigned_int__unsigned_int_]
mov edi, eax
add esp, 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x4221a6
add ecx, 0x10
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::incRef_void_]
mov eax, dword [ebp - 0x1c]
mov edi, dword [edi]
test eax, eax
je 0x4221b8
lea ecx, [eax + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
test edi, edi
je 0x422260
test esi, esi
jne 0x4221d4
push 0x46c024
lea ecx, [ebp - 4]
call fcn.00413128
mov esi, dword [ebp - 4]
cmp dword [edi + 0xc], 0
jne 0x4221fb
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x4221f3
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x30]
call fcn.0042259e
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x42220b
lea eax, [ebp - 4]
push eax
lea ecx, [ebx + 0x20]
jmp 0x42226c
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [edi + 0xc], eax
jbe 0x42224f
mov ebx, dword [esi]
lea ecx, [edi + 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041dc1d
push eax
mov ecx, esi
call dword [ebx + 0x90]
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.00401cfa
test bl, bl
jne 0x422258
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [edi + 0xc]
jae 0x42224c
mov esi, dword [ebp + 0xc]
jmp 0x422215
mov ebx, dword [ebp - 0xc]
lea ecx, [ebx + 0x20]
lea eax, [ebp - 4]
push eax
jmp 0x42226c
mov ebx, dword [ebp - 0xc]
lea eax, [ebp + 0xc]
jmp 0x422205
lea ecx, [ebx + 0x20]
test esi, esi
jne 0x422252
push 0x46c024
call fcn.00413128
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x32], 0x4bcabe4e
mov dword [ebp - 0x37], 0x2480e170
mov word [ebp - 0x2d], 0x807e
mov byte [ebp - 0x33], 0xcb
mov byte [ebp - 0x2e], 0xdb
mov byte [ebp - 0x38], 0xc1
call fcn.004228bc
push eax
lea ecx, [ebp - 0x18]
call fcn.00413128
lea ecx, [ebp - 0x14]
call fcn.00401cfa
and dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], 0x37840973
lea esi, [ebp - 0x28]
mov word [ebp - 0x24], 0x23db
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x74
mov bh, 7
pop ecx
mov byte [ebp - 0x14], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x20]
push dword [ebp - 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.00413128
lea ecx, [ebp - 0x20]
call fcn.00401cfa
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0x14], bl
jne 0x4222d7
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413128
lea ecx, [ebp - 8]
call fcn.00401cfa
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x422336
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x42235d
push eax
lea ecx, [ebx + 0xc]
call fcn.004226b7
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov byte [ebx + 0x1a], al
and dword [ebp - 0xc], 0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x20]
mov word [ebp - 0x2f], 0xa920
mov dword [ebp - 0x36], 0xa81b70c5
mov word [ebp - 0x2c], 0xf5f5
mov word [ebp - 0x31], 0x929d
mov word [ebp - 0x38], 0x21a0
mov byte [ebp - 0x32], 0x2b
mov byte [ebp - 0x2d], 0x4e
call fcn.00422909
push eax
lea ecx, [ebp - 0xc]
call fcn.00413128
lea ecx, [ebp - 0x20]
call fcn.00401cfa
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.00401d12
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x4223de
push eax
lea ecx, [ebx + 0xc]
call fcn.004226b7
test byte [eax + 0xc], 2
je 0x4223de
push dword [ebp - 0x20]
lea ecx, [ebx + 0xc]
call fcn.004226b7
mov eax, dword [eax]
mov dword [ebx + 0x1c], eax
lea ecx, [ebp - 0xc]
call fcn.00401cfa
lea ecx, [ebp - 0x10]
call fcn.00401cfa
test esi, esi
je 0x422402
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
je 0x42240f
lea ecx, [edi + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
lea ecx, [ebp - 4]
call fcn.00401cfa
lea ecx, [ebp + 8]
call fcn.00401cfa
lea ecx, [ebp + 0xc]
call fcn.00401cfa
pop edi
pop esi
pop ebx
leave
ret 8