Function at 0x4227f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5421df
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], ecx
mov eax, dword [0x674ab4]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x422862
push 0xc
call fcn.00474152
add esp, 4
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x422854
mov ecx, eax
call fcn.0043a720
jmp 0x422856
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x674ab4], eax
push 0x8a
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, eax
call fcn.0043a750
mov dword [ebp - 4], 1
call fcn.00402160
cmp dword [ebp - 0x108], 0x10
lea ecx, [ebp - 0x11c]
cmovae ecx, dword [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422898
mov edi, dword [ebp + 0xc]
sub ecx, edx
xor edx, edx
xor esi, esi
test edi, edi
jle 0x4228d7
nop dword [eax]
cmp dword [ebp - 0x108], 0x10
lea eax, [ebp - 0x11c]
cmovae eax, dword [ebp - 0x11c]
mov al, byte [eax + edx]
inc edx
xor byte [ebx + esi], al
xor eax, eax
cmp edx, ecx
cmovge edx, eax
inc esi
cmp esi, edi
jl 0x4228b0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov ecx, 0x36
mov byte [ebp - 4], 2
mov esi, str.sbkFLTKhLB0caBts6nkeclhrRxTHFDBbCW4q4iNdihPo7tUJCwm5S2zomtmGucw0Ff8RwknGxrgDZ06NL0YrBFSIRyZWWFC9rdCgJmzvWlkDy2idJuif5S0hOFxG7Mn9ANFklaydH3yTKZNYdQ4hQc2YtWe2QmTBQTScbpeMhOfEzeYa8iHqVoH2M1XKNIWscwpJlctJKEU2BVriMBytPqIOE
mov dword [ebp - 0xf0], 0xf
lea edi, [ebp - 0xec]
mov dword [ebp - 0xf4], 0
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x104], 0
movsw word es:[edi], word [esi]
cmp byte [ebp - 0xec], 0
jne 0x422935
xor ecx, ecx
jmp 0x422949
lea ecx, [ebp - 0xec]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422940
sub ecx, edx
push ecx
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x104]
call fcn.00407f10
push 1
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 3
call fcn.00407c70
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x422a0f
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x4229a1
mov eax, dword [esi]
jmp 0x4229a3
mov eax, esi
mov byte [eax], 0
cmp dword [ebp - 0xf0], 0x10
jae 0x4229cd
mov eax, dword [ebp - 0xf4]
add eax, 1
je 0x4229df
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004ef880
add esp, 0xc
jmp 0x4229df
mov eax, dword [ebp - 0x104]
mov dword [esi], eax
mov dword [ebp - 0x104], 0
mov eax, dword [ebp - 0xf4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xf0]
mov dword [esi + 0x14], eax
mov eax, 0xf
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
jmp 0x422a15
mov eax, dword [ebp - 0xf0]
add esi, 0x18
mov byte [ebp - 4], 2
mov dword [ebp - 0x13c], esi
cmp eax, 0x10
jb 0x422a3a
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.00408010
lea ecx, [ebp - 0x190]
call fcn.00475340
push 1
push 0
push ebx
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
call fcn.00477da0
lea eax, [ebp - 0x104]
push 0x8b
push eax
call fcn.00407930
mov ecx, eax
call fcn.0043a750
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x422a7d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x190]
call fcn.00476150
mov ecx, dword [ebp - 0xf0]
mov esi, eax
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x422aad
inc ecx
push ecx
push dword [ebp - 0x104]
lea ecx, [ebp - 0x104]
call fcn.00408010
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
test esi, esi
jne 0x422ae2
test ebx, ebx
je 0x422adb
push 1
push ebx
call fcn.00474185
add esp, 8
xor esi, esi
jmp 0x422c21
call fcn.0047d19e
lea eax, [ebp - 0x134]
push 0x8c
push eax
call fcn.00407930
mov ecx, eax
call fcn.0043a750
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x422b0b
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00476150
mov ecx, dword [ebp - 0x120]
mov esi, eax
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x422b37
inc ecx
push ecx
push dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
call fcn.00408010
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.0047def4
test esi, esi
je 0x422c1c
lea eax, [ebp - 0x104]
push 0x8d
push eax
call fcn.00407930
mov ecx, eax
call fcn.0043a750
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x422b83
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00476150
mov ecx, dword [ebp - 0xf0]
mov esi, eax
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x422baf
inc ecx
push ecx
push dword [ebp - 0x104]
lea ecx, [ebp - 0x104]
call fcn.00408010
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
test esi, esi
je 0x422c1c
mov esi, dword [esi + 0x18]
test esi, esi
je 0x422c1c
call fcn.0047ae8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov esi, eax
test esi, esi
je 0x422c1c
call fcn.00402160
mov eax, dword [esi + 0x20]
add eax, 8
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004da605
mov ecx, dword [ebp - 0x144]
add esp, 8
add ecx, 0x30
push eax
call fcn.00403fe0
lea ecx, [ebp - 0x134]
call fcn.004024b0
mov esi, 1
mov eax, dword [ebp - 0x15c]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x678110
je 0x422c41
push eax
call fcn.004741e6
add esp, 4
lea ecx, [ebp - 0x190]
call fcn.004757e0
lea ecx, [ebp - 0x140]
call fcn.00405a70
mov ecx, dword [ebp - 0x108]
cmp ecx, 0x10
jb 0x422c75
inc ecx
push ecx
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
call fcn.00408010
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret 8