Function at 0x4423e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x288
mov ebx, dword [0x457564]
mov ebp, dword [0x457560]
mov eax, ebp
or eax, ebx
jne 0x44248d
mov dword [esp + 0x58], 0x1faa19aa
mov dword [esp + 0x5c], 0xe34e1db8
mov dword [esp + 0x60], 0xe714e14c
mov dword [esp + 0x64], 0xeb46e540
mov dword [esp + 0x68], 0xefeee944
mov word [esp + 0x6c], 0
mov eax, 0xfa
mov ecx, 5
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0xa2]
mov esi, eax
or esi, ecx
not esi
add esi, eax
and esi, edx
or edx, eax
xor edx, esi
add dl, 0x1e
mov byte [esp + eax - 0xa2], dl
inc eax
dec ecx
cmp eax, 0x110
jne 0x442440
lea eax, [esp + 0x58]
push eax
call fcn.00442050
add esp, 4
mov ebp, eax
mov dword [0x457564], edx
mov dword [0x457560], eax
or eax, edx
je 0x442567
mov ebx, edx
lea eax, [esp + 0x158]
push 0x40
push eax
push ebx
push ebp
call fcn.00441e70
add esp, 0x10
test eax, eax
js 0x442567
mov eax, dword [esp + 0x194]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x198]
push 0xf0
push edx
push ecx
push eax
call fcn.00441e70
add esp, 0x10
xor edi, edi
test eax, eax
js 0x442569
cmp dword [esp + 0x20c], 0
je 0x442569
mov eax, dword [esp + 0x208]
mov esi, 0
test eax, eax
je 0x44256b
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x30]
push 0x28
push edx
push ecx
push eax
call fcn.00441e70
add esp, 0x10
test eax, eax
js 0x442567
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442530
mov eax, esi
push eax
call fcn.0040ce10
add esp, 4
mov edx, dword [esp + 0x4c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.00441e70
add esp, 0x10
test eax, eax
js 0x44257a
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x442583
mov eax, 0xffffffff
jmp 0x442585
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x288
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x4427d6
add eax, eax
push eax
call fcn.0040ce10
add esp, 4
mov esi, dword [esp + 0x48]
add esi, esi
mov ecx, dword [esp + 0x54]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.00441e70
add esp, 0x10
test eax, eax
js 0x4427c6
mov esi, dword [esp + 0x48]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x4425cf
lea eax, [esi*4]
push eax
call fcn.0040ce10
add esp, 4
mov edi, eax
mov eax, esi
and eax, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x50]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00441e70
add esp, 0x10
test eax, eax
mov dword [esp], edi
js 0x4427b5
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp esi, eax
jb 0x442622
mov esi, eax
test esi, esi
je 0x4427b5
lea eax, [esp + 0x58]
mov ecx, eax
not ecx
mov dword [esp + 0x24], ecx
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
jmp 0x442676
mov edx, 0xfb520141
mov edi, dword [esp]
cmp edx, dword [esp + 0x29c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
je 0x4427e7
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x4427b5
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
mov edx, ebp
and edx, eax
mov ecx, edx
shr ecx, 0x1f
add edx, edx
xor eax, ebp
add eax, edx
adc ecx, ebx
push 0x100
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
call fcn.00441e70
add esp, 0x10
test eax, eax
jns 0x4426ad
cmp eax, 0x8000000d
jne 0x442669
xor eax, eax
nop
cmp byte [esp + eax + 0x58], 0
lea eax, [eax + 1]
jne 0x4426b0
lea ecx, [esp + 0x57]
lea edi, [ecx + eax]
mov ebp, dword [esp + 0x20]
sub ebp, eax
mov dword [esp + 0x14], 0x720e0cf9
lea eax, [esp + 0x18]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
xor ecx, ecx
mov esi, eax
and esi, 0xa
mov edx, ecx
xor edx, 0xbd
add edx, esi
xor dl, byte [esp + ecx + 0x14]
add dl, 0x4f
mov byte [esp + ecx + 0x14], dl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x4426e0
lea esi, [esp + 0x58]
and ebp, esi
and edi, dword [esp + 0x24]
mov eax, edi
sub eax, ebp
je 0x44264c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
not ecx
inc ebp
mov edx, 0xfb520141
cmp edi, ebp
mov edi, dword [esp]
je 0x44278a
mov ebp, dword [esp + 0xc]
and ebp, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebx, byte [esi]
xor ebx, edx
mov edx, ebx
and edx, ecx
mov edi, ebx
not edi
and edi, eax
imul edi, edx
mov edx, ebx
and edx, eax
or ebx, eax
imul ebx, edx
add ebx, edi
movsx edx, byte [esi + 1]
add esi, 2
xor edx, ebx
mov edi, edx
and edi, ecx
mov ebx, edx
not ebx
and ebx, eax
imul ebx, edi
mov edi, edx
and edi, eax
or edx, eax
imul edx, edi
add edx, ebx
add ebp, 0xfffffffe
jne 0x442740
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp]
test byte [esp + 0xc], 1
je 0x442654
movsx esi, byte [esi]
xor edx, esi
and ecx, edx
mov esi, edx
not esi
and esi, eax
imul esi, ecx
mov ecx, edx
and ecx, eax
or edx, eax
imul edx, ecx
add edx, esi
jmp 0x442654
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040ce20
add esp, 4
jmp 0x4427ca
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040ce20
add esp, 4
push dword [esp + 8]
call fcn.0040ce20
add esp, 4
jmp 0x44256b
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x4427b9