Function at 0x421d35
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
and dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3e], 0x4bcabe4e
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x43], 0x2480e170
mov word [ebp - 0x39], 0x807e
mov byte [ebp - 0x3f], 0xcb
mov byte [ebp - 0x3a], 0xdb
mov byte [ebp - 0x44], 0xc1
call fcn.004228bc
push eax
lea ecx, [ebp - 0x14]
call fcn.00413128
lea ecx, [ebp - 0x10]
call fcn.00401cfa
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x32], 0xbc327b2
lea esi, [ebp - 0x34]
mov word [ebp - 0x34], 0x89d
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x66
mov bh, 0xfb
pop ecx
mov byte [ebp - 8], bl
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.00413128
lea ecx, [ebp - 0x10]
call fcn.00401cfa
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x421da9
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.00413128
lea ecx, [ebp - 4]
call fcn.00401cfa
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
test eax, eax
je 0x422079
xor esi, esi
mov ecx, dword [ebp + 8]
push esi
push 0xa
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ecx, dword [ebp + 8]
mov ebx, eax
push ebx
push esi
lea eax, [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
push 2
push 0x3d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00401d12
lea eax, [ebp - 8]
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 eax, dword [ebp - 8]
add esp, 0x10
cmp dword [eax + 0xc], 2
jne 0x422030
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esi
push esi
push ecx
lea ecx, [eax + 0x24]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call fcn.0041dc1d
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.lib.io.char.dll_public:_static_class_Ref_class_String____cdecl_StringUtil::trim_class_Ref_class_String__]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413128
lea ecx, [ebp - 0x18]
call fcn.00401cfa
push ecx
mov ecx, dword [ebp - 8]
mov eax, esp
push 1
push eax
lea ecx, [ecx + 0x24]
call fcn.0041dc1d
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.lib.io.char.dll_public:_static_class_Ref_class_String____cdecl_StringUtil::trim_class_Ref_class_String__]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00413128
lea ecx, [ebp - 0x1c]
call fcn.00401cfa
mov ecx, dword [ebp - 0x40]
push esi
mov eax, dword [ecx]
call dword [eax + 0xac]
cmp eax, 0x22
jne 0x421f77
push 0xffffffffffffffff
push esi
lea eax, [ebp - 4]
push 0x4481e4
push eax
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_char_const___unsigned_int__unsigned_int_]
mov edi, dword [ebp - 0x40]
add esp, 0x10
mov ecx, edi
mov esi, dword [edi]
call dword [esi + 0x60]
dec eax
mov ecx, edi
push eax
push 0x22
call dword [esi + 0x78]
mov ecx, dword [ebp - 0x40]
mov esi, eax
test esi, esi
jne 0x421f03
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push 1
push edx
call dword [eax + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00413128
lea ecx, [ebp - 0x20]
jmp 0x421f4b
mov edx, dword [ecx]
lea eax, [esi - 1]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
call dword [edx + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00413128
lea ecx, [ebp - 0x24]
call fcn.00401cfa
push ecx
mov ecx, esp
lea eax, [esi + 1]
push eax
push ecx
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.lib.io.char.dll_public:_static_class_Ref_class_String____cdecl_StringUtil::trim_class_Ref_class_String__]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00413128
lea ecx, [ebp - 0x28]
call fcn.00401cfa
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x90]
test al, al
je 0x421f6a
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 4]
call fcn.00401cfa
mov edi, dword [ebp - 0x2c]
xor esi, esi
push ecx
mov eax, esp
mov dword [eax], esi
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x421f9d
mov eax, dword [ecx + 4]
add ecx, 4
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.lib.io.char.dll_public:_static_bool___cdecl_StrConv::num_class_Ref_class_String___unsigned_int___class_Ref_class_String__]
add esp, 0xc
test al, al
je 0x421fae
or dword [ebp - 0x38], 2
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x421fcc
mov eax, dword [ecx + 4]
add ecx, 4
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x421fe4
mov eax, dword [ecx + 4]
add ecx, 4
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
lea esi, [edi + 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, esi
mov eax, dword [esi]
inc eax
push eax
call fcn.0042274f
mov ecx, dword [esi]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 8]
shl ecx, 4
add eax, 0xfffffff0
add ecx, eax
call fcn.004226d2
lea ecx, [ebp - 0x50]
call fcn.00401cfa
lea ecx, [ebp - 0x54]
call fcn.00401cfa
lea ecx, [ebp - 0x3c]
call fcn.00401cfa
lea ecx, [ebp - 0x40]
call fcn.00401cfa
xor esi, esi
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x34]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.00413128
lea ecx, [ebp - 0x34]
call fcn.00401cfa
mov eax, dword [ebp - 8]
test eax, eax
je 0x422061
lea ecx, [eax + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
lea ecx, [ebp - 0x10]
call fcn.00401cfa
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
test eax, eax
jne 0x421dfb
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x422090
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4220a7
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp + 8]
call fcn.00401cfa
pop edi
pop esi
pop ebx
leave
ret 8