Function at 0x42227c
Capabilities:
Encode data using xor

Disassembly:
cmp eax, dword [0x4be7b8]
jl 0x422297
cmp eax, dword [0x4be7b8]
jne 0x422294
cmp edx, dword [0x4be7bc]
jle 0x422297
xor eax, eax
ret
mov al, 1
add edx, edi
sub edx, 0x42513816
xchg edi, eax
and edi, 0x7c0e868e
mov edx, edi
sub eax, edx
xor edx, esp
or edi, ebp
and ecx, edx
shl eax, 0x14
shr esi, 3
mov ecx, ecx
test edx, ecx
jns 0x4222c9
cmp dword [0x4b7c9d], 0x875ca876
jns 0x4222d1
and edx, 0x18815a5d
mov esi, ebp
xchg ecx, edx
sub ebx, dword [0x4b7a31]
mov ecx, 0x54bb523c
neg esi
mov edi, dword [0x4b8367]
neg esi
ror edi, 0x1e
and edx, dword [0x4b709f]
and edx, 0x715effc6
inc eax
ror eax, 0xb
xor eax, dword [0x4b7315]
and eax, ebp
call fcn.0043bfbc
and edx, 0x8d0f12bf
mov esi, esi
dec ecx
jne 0x4222e0
mov ecx, 0x36b8acd9
call fcn.0041c102
and ebx, esp
mov edi, 0x476746d0
not eax
ror esi, 0xd
shr edi, 0x19
mov eax, ecx
neg esi
call fcn.0046aa70
add edi, ecx
or dword [0x4ba96b], eax
cmp esi, edi
jno 0x422347
rol esi, 0x11
mov ebx, 0xbae472c5
or edx, dword [0x4b772c]
not edi
sub esi, 0xe5b40869
shr ebx, 0xd
dec ecx
jne 0x42231b
not edx
ror ebx, 2
shr eax, 7
mov ebx, esp
dec eax
shl eax, 0x1c
dec eax
or eax, 0x1da9a870
mov edi, 0x51ff318
inc esi
call fcn.0042bf70
sub eax, 0x4500f9a7
add esi, esp
add edi, dword [0x4baf94]
sub edi, 0x72e3ea53
or dword [0x4baa80], ecx
dec eax
xor esi, dword [0x4baf2e]
ror edi, 0x10
dec edi
call fcn.0040bdd2
rol esi, 3
sub dword [0x4baad5], esi
sub edi, dword [0x4bad44]
call fcn.00443a42
rol eax, 0x17
sub eax, dword [0x4baf3b]
sub eax, dword [0x4bac07]
xchg esi, edx
or eax, dword [0x4bad80]
and dword [0x4ba97f], 0x3576225f
and dword [0x4baab3], 0x57d36f40
xchg esi, edx
ror eax, 0x17
call fcn.004733cc
add dword [0x4bab76], edx
ror esi, 3
call fcn.0041a31b
inc edi
rol edi, 0x10
inc eax
sub dword [0x4ba961], edi
add edi, 0x72e3ea53
sub esi, esp
add eax, 0x4500f9a7
dec esi
add edi, 0xac0f452f
and dword [0x4ba87b], ecx
sub edi, dword [0x4badc3]
rol ebx, 0x1d
add edi, 0x1e86a1a6
dec esi
xor edx, 0x2a83a023
dec eax
xor ecx, 0x5b0ca5d1
neg ecx
add edi, 0x5616622d
not esi
xor edi, 0xe903152c
call fcn.0048f704
call fcn.0048c6e7
xor edi, 0xe903152c
not esi
sub edi, 0x5616622d
neg ecx
xor ecx, 0x5b0ca5d1
inc eax
xor edx, 0x2a83a023
inc esi
sub edi, 0x1e86a1a6
ror ebx, 0x1d
sub edi, 0xb12f3807
dec ecx
xchg ecx, edx
neg ecx
sub ebx, 0xf8e60695
sub dword [0x4baa85], 0x24350de0
and dword [0x4ba813], 0x82684d04
xor eax, 0x83bf218b
add dword [0x4ba817], 0x2f380114
add edx, 0xfa0291c7
dec ebx
sub dword [0x4ba8d1], 0xb48e545e
call fcn.00494f95
xchg eax, esi
and dword [0x4baad5], edx
or ecx, dword [0x4bac0e]
xchg esi, eax
inc ebx
ror ebx, 0x14
xor edx, 0x57d77e47
sub ecx, dword [0x4bac67]
mov dword [0x4ba95c], edx
xor edx, 0x57d77e47
rol ebx, 0x14
dec ebx
xchg esi, eax
xchg eax, esi
call fcn.0049048e
xor dword [0x4baa00], 0xaf9326ee
inc ebx
sub edx, 0xfa0291c7
xor eax, 0x83bf218b
add ebx, 0xf8e60695
neg ecx
xchg ecx, edx
inc ecx
push edi
not ecx
sub dword [0x4ba8a2], esi
not esi
call fcn.0049fd9d
xor edi, dword [0x4bae56]
sub ecx, eax
ror ecx, 3
not esi
dec ecx
not ebx
and dword [0x4bab87], esi
add dword [0x4ba86c], esi
mov dword [0x4ba811], ebx
not ebx
inc ecx
not esi
rol ecx, 3
add ecx, eax
call fcn.0043a840
not esi
and dword [0x4bab69], edi
not ecx
mov ecx, 0xbdc5afe8
or dword [0x4ba9bf], edx
not esi
sub eax, dword [0x4baf6b]
xor ebx, 0x8e743d33
rol edi, 0x15
sub edx, 0xecbfc05b
or esi, dword [0x4bacfd]
xchg edi, eax
not esi
xchg ebx, edx
not edx
dec edx
xor ecx, 0xa5d13c79
xor ebx, dword [0x4baf12]
add edi, edx
neg esi
add eax, dword [0x4bae57]
xchg ebx, edx
neg edi
add dword [0x4ba8ac], esi
xor ecx, 0x1a09bbb1
add ebx, dword [0x4bae79]
xor ecx, 0x1a09bbb1
add dword [0x4baa2a], ebx
neg edi
xchg ebx, edx
neg esi
sub edi, edx
xor ecx, 0xa5d13c79
inc edx
not edx
xchg ebx, edx
not esi
xchg edi, eax
add edx, 0xecbfc05b
ror edi, 0x15
xor ebx, 0x8e743d33
not esi
sub ecx, 0x10860bd9
inc ebx
xor dword [0x4ba980], 0x9d64d362
call fcn.00408ed7
add dword [0x4baafb], 0xf7bd0b25
call fcn.0043dc72
sub ecx, dword [0x4baca0]
call fcn.00407566
xor esi, 0xb3c3844
xor ebx, 0xc761af9b
not edi
dec edx
call fcn.004302dc