Function at 0x4224e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525737
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 2
cmp byte [ebp + 8], 2
jne 0x422772
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 8]
call fcn.00487d50
mov edx, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edx
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], connect
sub ecx, 1
je 0x422573
sub ecx, 1
je 0x422568
mov dword [ebp - 0x34], connect
sub eax, 1
je 0x422573
sub eax, 1
je 0x422568
mov dword [ebp - 0x34], 1
jmp 0x42257b
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
jmp 0x42257b
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00487880
test al, al
je 0x422772
lea ecx, [ebp - 0x50]
mov edi, 0xf
call fcn.00487990
mov byte [ebp - 0x2e], 0x6d
mov esi, eax
mov byte [ebp - 0x2d], 0x69
mov byte [ebp - 0x2c], 0x7f
mov byte [ebp - 0x2b], 0x60
mov byte [ebp - 0x2a], 0x59
mov byte [ebp - 0x29], 0x63
mov byte [ebp - 0x28], 0x62
mov byte [ebp - 0x27], 0x62
mov byte [ebp - 0x26], 0x60
mov byte [ebp - 0x25], 0x1d
mov al, byte [ebp - 0x2e]
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov cl, byte [ebp + eax - 0x2e]
mov edx, 0x43f150da
mov byte [ebp - 0xd], cl
mov ecx, eax
and ecx, 0xf
mov eax, 0x1e1d1407
cmp ecx, 0xf
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov dl, al
mov eax, dword [ebp - 0x18]
and dl, 0xf
lea ecx, [eax + 7]
xor dl, cl
xor dl, byte [ebp - 0xd]
mov byte [ebp + eax - 0x2e], dl
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0xa
jb 0x4225d1
lea eax, [ebp - 0x2e]
mov ecx, esi
push eax
call fcn.0048eef0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
or edi, 2
mov dword [ebp - 0x54], 0
mov ecx, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x14], edi
call fcn.004a0760
cmp dword [ebp + 0x2c], 0x10
lea ecx, [ebp + 0x18]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x68]
cmovae ecx, dword [ebp + 0x18]
cmp dword [ebp - 0x54], 0x10
mov esi, dword [ebp - 0x58]
cmovae edx, eax
mov dword [ebp - 0x18], eax
cmp esi, dword [ebp + 0x28]
jne 0x4226cc
sub esi, 4
jb 0x422694
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x422699
add edx, 4
add ecx, 4
sub esi, 4
jae 0x422683
cmp esi, 0xfffffffc
je 0x4226c6
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4226cc
cmp esi, 0xfffffffd
je 0x4226c6
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4226cc
cmp esi, 0xfffffffe
je 0x4226c6
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4226cc
cmp esi, 0xffffffff
je 0x4226c6
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x4226cc
mov byte [ebp - 0xd], 1
jmp 0x4226d0
mov byte [ebp - 0xd], 0
and edi, 0xfffffffd
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x422710
mov edx, dword [ebp - 0x18]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x422706
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4227f8
push ecx
push edx
call fcn.004e62c1
add esp, 8
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
jne 0x4227b9
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
sub eax, 1
je 0x422747
sub eax, 1
je 0x422741
inc dword [ebp - 0x44]
jmp 0x42275b
add dword [ebp - 0x48], 0x10
jmp 0x42275b
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.0048bb60
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00487880
test al, al
jne 0x42258f
mov esi, dword [ebp - 0x20]
mov byte [esi], 0
xorps xmm0, xmm0
xor edx, edx
movq qword [esi + 8], xmm0
mov ecx, esi
call fcn.004a0870
or edi, 1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
call fcn.0048bd40
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.0040b870
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.004881c0
or edi, 1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
call fcn.0048bd40
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.0040b870
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.005017c0
int3