Function at 0x422152
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 0x422188
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 0x4221aa
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 0x4221c2
lea ecx, [ebx + 0xc]
push eax
call fcn.00422751
add eax, 4
lea ecx, [ebp - 4]
push eax
call fcn.004131e1
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4221e3
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 0x422209
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 0x4222fc
push 0
push 0x2c
push ecx
mov edi, esp
lea ecx, [ebx + 0xc]
push eax
call fcn.00422751
add eax, 4
mov ecx, edi
push eax
call fcn.00401da2
lea eax, [ebp - 0x20]
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 0x422242
add ecx, 0x10
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::incRef_void_]
mov eax, dword [ebp - 0x20]
mov edi, dword [edi]
test eax, eax
je 0x422254
lea ecx, [eax + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
test edi, edi
je 0x4222fc
test esi, esi
jne 0x422270
push 0x46c024
lea ecx, [ebp - 4]
call fcn.004131e1
mov esi, dword [ebp - 4]
cmp dword [edi + 0xc], 0
jne 0x422297
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x42228f
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.00422638
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4222a7
lea eax, [ebp - 4]
push eax
lea ecx, [ebx + 0x20]
jmp 0x422308
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0xc], eax
jbe 0x4222eb
mov ebx, dword [esi]
lea ecx, [edi + 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041dbc6
push eax
mov ecx, esi
call dword [ebx + 0x90]
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00401d8a
test bl, bl
jne 0x4222f4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0xc]
jae 0x4222e8
mov esi, dword [ebp + 0xc]
jmp 0x4222b1
mov ebx, dword [ebp - 0xc]
lea ecx, [ebx + 0x20]
lea eax, [ebp - 4]
push eax
jmp 0x422308
mov ebx, dword [ebp - 0xc]
lea eax, [ebp + 0xc]
jmp 0x4222a1
lea ecx, [ebx + 0x20]
test esi, esi
jne 0x4222ee
push 0x46c024
call fcn.004131e1
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x33], 0x67cbe57e
mov word [ebp - 0x2e], 0x1570
mov byte [ebp - 0x2c], 0xd5
mov word [ebp - 0x35], 0xf15f
mov word [ebp - 0x38], 0x76e
mov byte [ebp - 0x2f], 0xfe
mov byte [ebp - 0x36], 0xb4
call fcn.00422909
push eax
lea ecx, [ebp - 0x10]
call fcn.004131e1
lea ecx, [ebp - 0x1c]
call fcn.00401d8a
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 0xff5cb13b
mov word [ebp - 0x24], 0x6b93
call fcn.00422956
push eax
lea ecx, [ebp - 0x18]
call fcn.004131e1
lea ecx, [ebp - 0x1c]
call fcn.00401d8a
mov esi, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x42239b
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 0x4223c2
push eax
lea ecx, [ebx + 0xc]
call fcn.00422751
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov byte [ebx + 0x1a], al
and dword [ebp - 0x14], 0
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x34], 0x27c142b1
lea esi, [ebp - 0x38]
mov dword [ebp - 0x2f], 0x83187fde
mov dword [ebp - 0x38], 0xe93ff5a
mov byte [ebp - 0x30], 0x44
mov byte [ebp - 0x2b], 0x4b
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x72
mov bh, 0x28
pop ecx
mov byte [ebp - 0x1c], bl
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x28]
push dword [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.004131e1
lea ecx, [ebp - 0x28]
call fcn.00401d8a
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 0x1c], bl
jne 0x4223f8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004131e1
lea ecx, [ebp - 8]
call fcn.00401d8a
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00401da2
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x422478
push eax
lea ecx, [ebx + 0xc]
call fcn.00422751
test byte [eax + 0xc], 2
je 0x422478
push dword [ebp - 0x28]
lea ecx, [ebx + 0xc]
call fcn.00422751
mov eax, dword [eax]
mov dword [ebx + 0x1c], eax
lea ecx, [ebp - 0x14]
call fcn.00401d8a
lea ecx, [ebp - 0x18]
call fcn.00401d8a
test esi, esi
je 0x42249c
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 0x4224a9
lea ecx, [edi + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
lea ecx, [ebp - 4]
call fcn.00401d8a
lea ecx, [ebp + 8]
call fcn.00401d8a
lea ecx, [ebp + 0xc]
call fcn.00401d8a
pop edi
pop esi
pop ebx
leave
ret 8