Function at 0x418b62
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 - 0x44], 0x399af948
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x3c], 0xd041
mov dword [ebp - 0x40], 0x29c75caf
mov word [ebp - 0x39], 0xf7f7
mov byte [ebp - 0x3a], 0x52
call fcn.00417805
push eax
lea ecx, [ebp - 0x14]
call fcn.004052fc
lea ecx, [ebp - 0x10]
call fcn.00405291
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov word [ebp - 0x30], 0xf4f4
lea esi, [ebp - 0x34]
mov word [ebp - 0x33], 0xcb23
mov byte [ebp - 0x34], 0x82
mov byte [ebp - 0x31], 0x4e
call dword [sym.imp.system.dll_public:_static_class_Ref_class_String____cdecl_String::create_void_]
mov bl, 0x66
mov bh, 0xe4
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.004052fc
lea ecx, [ebp - 0x10]
call fcn.00405291
add bh, bl
inc esi
mov bl, byte [esi]
xor bl, bh
mov byte [ebp - 8], bl
jne 0x418bdb
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.004052fc
lea ecx, [ebp - 4]
call fcn.00405291
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
test eax, eax
je 0x418eab
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.0040533a
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 0x418e62
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.004052a9
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.004052fc
lea ecx, [ebp - 0x18]
call fcn.00405291
push ecx
mov ecx, dword [ebp - 8]
mov eax, esp
push 1
push eax
lea ecx, [ecx + 0x24]
call fcn.004052a9
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.004052fc
lea ecx, [ebp - 0x1c]
call fcn.00405291
mov ecx, dword [ebp - 0x40]
push esi
mov eax, dword [ecx]
call dword [eax + 0xac]
cmp eax, 0x22
jne 0x418da9
push 0xffffffffffffffff
push esi
lea eax, [ebp - 4]
push 0x4309fb
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 0x418d35
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push 1
push edx
call dword [eax + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004052fc
lea ecx, [ebp - 0x20]
jmp 0x418d7d
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.004052fc
lea ecx, [ebp - 0x24]
call fcn.00405291
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.004052fc
lea ecx, [ebp - 0x28]
call fcn.00405291
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x90]
test al, al
je 0x418d9c
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 4]
call fcn.00405291
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 0x418dcf
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 0x418de0
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 0x418dfe
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 0x418e16
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.004195c5
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.00419548
lea ecx, [ebp - 0x50]
call fcn.00405291
lea ecx, [ebp - 0x54]
call fcn.00405291
lea ecx, [ebp - 0x3c]
call fcn.00405291
lea ecx, [ebp - 0x40]
call fcn.00405291
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.004052fc
lea ecx, [ebp - 0x34]
call fcn.00405291
mov eax, dword [ebp - 8]
test eax, eax
je 0x418e93
lea ecx, [eax + 0x10]
call dword [sym.imp.system.dll_public_virtual:_void___thiscall_Object::decRef_void_]
lea ecx, [ebp - 0x10]
call fcn.00405291
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
test eax, eax
jne 0x418c2d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x418ec2
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 0x418ed9
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.00405291
pop edi
pop esi
pop ebx
leave
ret 8