Function at 0x412a21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edi
test ecx, ecx
je 0x412a57
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 0x412a79
push ecx
mov eax, esp
push 0xffffffffffffffff
push 0
push 0x437380
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 0x412a91
push eax
lea ecx, [ebx + 0xc]
call fcn.00412e8d
add eax, 4
lea ecx, [ebp - 8]
push eax
call fcn.0040f349
mov edi, dword [ebp - 8]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x412ab2
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 0x412ad8
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 0x412bcb
push 0
push 0x2c
push ecx
mov esi, esp
lea ecx, [ebx + 0xc]
push eax
call fcn.00412e8d
add eax, 4
mov ecx, esi
push eax
call fcn.0040f539
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_]
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
test esi, esi
je 0x412b17
lea ecx, [esi + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::incRef_void_]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x412b27
lea ecx, [eax + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
test esi, esi
je 0x412bcb
test edi, edi
jne 0x412b40
push 0x43c8b0
lea ecx, [ebp - 8]
call fcn.0040f349
cmp dword [esi + 0xc], 0
jne 0x412b5a
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.0040f539
lea ecx, [esi + 0x30]
call fcn.0040f618
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x412b6a
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0x1c]
jmp 0x412bdd
xor eax, eax
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
cmp dword [esi + 0xc], eax
jbe 0x412bb9
mov ebx, dword [edi]
lea ecx, [esi + 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f676
push eax
mov ecx, edi
call dword [ebx + 0x90]
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.0040f38b
test bl, bl
jne 0x412bb4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [esi + 0xc]
jae 0x412baf
mov edi, dword [ebp + 0xc]
jmp 0x412b78
mov al, byte [ebp - 1]
jmp 0x412bb6
mov al, 1
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1c]
test al, al
jne 0x412bc6
lea eax, [ebp - 8]
push eax
jmp 0x412bdd
lea eax, [ebp + 0xc]
jmp 0x412bc3
cmp dword [ebp + 0xc], 0
lea ecx, [ebx + 0x1c]
jne 0x412bc6
test edi, edi
jne 0x412bc0
push 0x43c8b0
call fcn.0040f349
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x3b], 0xbe1d
mov dword [ebp - 0x38], 0xc5e360cb
mov byte [ebp - 0x3c], 0x64
mov dword [ebp - 0x33], 0xdb1376f4
mov byte [ebp - 0x39], 0x25
mov byte [ebp - 0x34], 0x6d
call fcn.004131a2
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f349
lea ecx, [ebp - 0x1c]
call fcn.0040f38b
and dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0x2c], 0x78e2
lea edi, [ebp - 0x2c]
mov word [ebp - 0x29], 0x2a84
mov byte [ebp - 0x2a], 0x15
mov byte [ebp - 0x27], 0xb2
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x74
mov bh, 0x96
pop ecx
mov byte [ebp - 0x1c], bl
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x24]
push dword [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040f349
lea ecx, [ebp - 0x24]
call fcn.0040f38b
add bh, bl
inc edi
mov bl, byte [edi]
xor bl, bh
mov byte [ebp - 0x1c], bl
jne 0x412c4f
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f349
lea ecx, [ebp - 0xc]
call fcn.0040f38b
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.0040f539
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x412cc5
push eax
lea ecx, [ebx + 0xc]
call fcn.00412e8d
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov byte [ebx + 0x1a], al
lea ecx, [ebp - 0x14]
call fcn.0040f38b
lea ecx, [ebp - 0x18]
call fcn.0040f38b
test esi, esi
je 0x412ce2
lea ecx, [esi + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
lea ecx, [ebp - 8]
call fcn.0040f38b
lea ecx, [ebp + 8]
call fcn.0040f38b
lea ecx, [ebp + 0xc]
call fcn.0040f38b
pop edi
pop esi
pop ebx
leave
ret 8