Function at 0x4072e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x44e414]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x88], ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x90], esi
push edi
test edx, edx
je 0x4076d7
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x73], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x72], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x71], al
mov eax, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0x55050201
mov byte [ebp - 0x74], 0xb1
mov byte [ebp - 0x70], cl
and eax, 0x80000003
jns 0x407350
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4076ec
lea ebx, [edx - 1]
xor ecx, ecx
movzx edi, bl
mov dl, bl
mov byte [ebp - 0x81], dl
add edi, 1
je 0x4073d8
cmp edi, 0x20
jb 0x4073d8
mov eax, edi
xorps xmm1, xmm1
and eax, 0xffffffe0
xorps xmm2, xmm2
nop dword [eax + eax]
movups xmm0, xmmword [esi + ecx]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
add ecx, 0x20
pxor xmm2, xmm0
cmp ecx, eax
jl 0x407380
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd eax, xmm1
xor dl, al
mov byte [ebp - 0x81], dl
cmp ecx, edi
jge 0x4073ee
nop dword [eax]
xor dl, byte [esi + ecx]
inc ecx
cmp ecx, edi
jl 0x4073e0
mov byte [ebp - 0x81], dl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80], 0
xor edx, edx
mov cx, word [ebp - 0x80]
mov byte [ebp - 0x6f], bl
mov ebx, 0xff
mov word [ebp - 0x6e], 0
mov byte [ebp - 0x6c], 0
movzx eax, byte [ebp + edx - 0x73]
add cx, ax
mov word [ebp - 0x80], cx
cmp cx, bx
jbe 0x40742e
mov eax, dword [ebp - 0x80]
inc eax
movzx eax, al
mov dword [ebp - 0x80], eax
mov cx, ax
inc edx
movzx eax, cx
cmp edx, 5
jl 0x407410
add dword [ebp - 0x80], 0xb1
cmp word [ebp - 0x80], bx
jbe 0x40744f
add eax, 0xb2
movzx eax, ax
mov dword [ebp - 0x80], eax
mov al, byte [ebp - 0x80]
not al
mov byte [ebp - 0x6b], al
xor eax, eax
push 0x64
push eax
mov word [ebp - 0x6a], ax
lea eax, [ebp - 0x68]
push eax
call fcn.0043a378
movups xmm0, xmmword [ebp - 0x7c]
mov ebx, dword [ebp - 0x88]
lea eax, [ebp - 0x68]
add esp, 0xc
push 5
push eax
mov eax, dword [ebp - 0x6c]
sub esp, 0x14
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, ebx
call fcn.00407c40
test eax, eax
je 0x4079c2
mov al, 1
mov byte [ebp - 0x78], 2
mov byte [ebp - 0x76], al
xorps xmm0, xmm0
movzx eax, al
push eax
lea eax, [ebp - 0x68]
movq qword [ebp - 0x73], xmm0
movups xmm0, xmmword [ebp - 0x7c]
push eax
sub esp, 0x14
mov byte [ebp - 0x6b], 0
mov eax, dword [ebp - 0x6c]
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, ebx
call fcn.00407c40
test eax, eax
je 0x4074dd
cmp byte [ebp - 0x68], 0x79
jne 0x4076d7
lea eax, [edi + 7]
mov byte [ebp - 0x78], 1
cdq
xor edi, edi
and edx, 7
mov byte [ebp - 0x74], 0xc4
mov byte [ebp - 0x76], 8
lea ecx, [edx + eax]
sar ecx, 3
mov dword [ebp - 0x8c], ecx
lea eax, [ecx - 1]
mov dword [ebp - 0x94], eax
test eax, eax
jle 0x4075c6
nop
cmp ecx, 1
je 0x4075c6
mov eax, dword [esi + edi*8]
mov ebx, 0xc4
mov ecx, dword [esi + edi*8 + 4]
mov esi, 0xff
mov dword [ebp - 0x73], eax
xor eax, eax
cmp byte [ebp - 0x77], 1
mov dword [ebp - 0x6f], ecx
cmove ebx, eax
mov dword [ebp - 0x80], eax
xor edx, edx
nop
movzx ecx, byte [ebp + edx - 0x73]
add ax, cx
mov word [ebp - 0x80], ax
cmp ax, si
jbe 0x40755b
mov eax, dword [ebp - 0x80]
inc eax
movzx eax, al
mov dword [ebp - 0x80], eax
inc edx
cmp edx, 8
jl 0x407540
mov ecx, dword [ebp - 0x80]
add ecx, ebx
mov esi, dword [ebp - 0x90]
movups xmm0, xmmword [ebp - 0x7c]
movzx edx, cx
push 8
lea eax, [edx + 1]
movzx ebx, al
movzx eax, cl
mov ecx, 0xff
cmp dx, cx
cmovbe ebx, eax
lea eax, [ebp - 0x68]
push eax
sub esp, 0x14
not bl
mov ecx, esp
mov byte [ebp - 0x6b], bl
mov eax, dword [ebp - 0x6c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x88]
call fcn.00407c40
test eax, eax
je 0x4079c2
mov ecx, dword [ebp - 0x8c]
inc edi
cmp edi, dword [ebp - 0x94]
jl 0x407510
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x73], xmm0
and eax, 0x80000007
jns 0x4075df
dec eax
or eax, 0xfffffff8
add eax, 1
mov ebx, 8
mov edi, ebx
cmovne edi, eax
cmp edi, 4
jg 0x4077b2
dec ecx
mov byte [ebp - 0x76], 5
push edi
lea eax, [esi + ecx*8]
push eax
lea eax, [ebp - 0x73]
push eax
call fcn.0043a372
add esp, 0xc
cmp edi, 4
jge 0x407628
mov eax, 4
sub eax, edi
push eax
lea eax, [ebp - 0x73]
add eax, edi
push 0xff
push eax
call fcn.0043a378
add esp, 0xc
mov al, byte [ebp - 0x81]
movzx ebx, byte [ebp - 0x74]
movzx esi, byte [ebp - 0x76]
mov byte [ebp - 0x6f], al
xor eax, eax
cmp byte [ebp - 0x77], 1
mov cx, ax
mov dword [ebp - 0x80], eax
cmove ebx, eax
xor edx, edx
mov dword [ebp - 0x8c], ebx
test esi, esi
je 0x407689
mov ebx, 0xff
nop dword [eax]
movzx eax, byte [ebp + edx - 0x73]
add cx, ax
mov word [ebp - 0x80], cx
cmp cx, bx
jbe 0x40767e
mov eax, dword [ebp - 0x80]
inc eax
movzx eax, al
mov dword [ebp - 0x80], eax
mov cx, ax
inc edx
cmp edx, esi
jl 0x407660
mov ebx, dword [ebp - 0x8c]
movups xmm0, xmmword [ebp - 0x7c]
movzx ebx, bl
mov edi, 0xff
add bx, cx
movzx ecx, bx
cmp cx, di
push esi
lea eax, [ecx + 1]
movzx edx, al
movzx eax, bl
mov ebx, dword [ebp - 0x88]
cmovbe edx, eax
lea eax, [ebp - 0x68]
not dl
push eax
sub esp, 0x14
mov byte [ebp - 0x6b], dl
mov eax, dword [ebp - 0x6c]
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, ebx
call fcn.00407c40
test eax, eax
jne 0x407932
mov al, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004395e6
mov esp, ebp
pop ebp
ret 0x10
mov eax, edx
xor ecx, ecx
cdq
and edx, 3
lea ebx, [edx + eax]
mov eax, dword [ebp + 0xc]
and bl, 0xfc
add bl, 3
mov dl, bl
mov byte [ebp - 0x81], dl
test eax, eax
jle 0x40778e
cmp eax, 0x20
jb 0x407780
and eax, 0xffffffe0
xorps xmm1, xmm1
xorps xmm2, xmm2
nop
movups xmm0, xmmword [esi + ecx]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
add ecx, 0x20
pxor xmm2, xmm0
cmp ecx, eax
jl 0x407720
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd eax, xmm1
xor dl, al
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x81], dl
cmp ecx, eax
jge 0x40778e
nop
xor dl, byte [esi + ecx]
inc ecx
cmp ecx, eax
jl 0x407780
mov byte [ebp - 0x81], dl
mov edi, dword [ebp + 0xc]
movzx eax, bl
cmp edi, eax
jg 0x4073f1
sub eax, edi
inc eax
nop
not dl
sub eax, 1
jne 0x4077a0
mov byte [ebp - 0x81], dl
jmp 0x4073f1
cmp edi, ebx
jg 0x40792c
dec ecx
mov byte [ebp - 0x76], bl
push edi
lea eax, [esi + ecx*8]
push eax
lea eax, [ebp - 0x73]
push eax
call fcn.0043a372
add esp, 0xc
cmp edi, ebx
jge 0x4077e9
sub ebx, edi
lea eax, [ebp - 0x73]
push ebx
add eax, edi
push 0xff
push eax
call fcn.0043a378
add esp, 0xc
movzx ebx, byte [ebp - 0x74]
xor eax, eax
cmp byte [ebp - 0x77], 1
mov cx, ax
movzx esi, byte [ebp - 0x76]
cmove ebx, eax
mov dword [ebp - 0x80], eax
xor edx, edx
mov dword [ebp - 0x8c], ebx
test esi, esi
je 0x40783a
mov ebx, 0xff
movzx eax, byte [ebp + edx - 0x73]
add cx, ax
mov word [ebp - 0x80], cx
cmp cx, bx
jbe 0x40782f
mov eax, dword [ebp - 0x80]
inc eax
movzx eax, al
mov dword [ebp - 0x80], eax
mov cx, ax
inc edx
cmp edx, esi
jl 0x407811
mov ebx, dword [ebp - 0x8c]
movups xmm0, xmmword [ebp - 0x7c]
movzx ebx, bl
mov edi, 0xff
add bx, cx
movzx ecx, bx
cmp cx, di
push esi
lea eax, [ecx + 1]
movzx edx, al
movzx eax, bl
cmovbe edx, eax
lea eax, [ebp - 0x68]
push eax
sub esp, 0x14
not dl
mov ecx, esp
mov byte [ebp - 0x6b], dl
mov eax, dword [ebp - 0x6c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x88]
call fcn.00407c40
test eax, eax
je 0x4076d7
mov al, byte [ebp - 0x81]
mov cl, 1
movzx ebx, byte [ebp - 0x74]
mov byte [ebp - 0x73], al
xor eax, eax
cmp byte [ebp - 0x77], cl
mov byte [ebp - 0x76], cl
cmove ebx, eax
movzx esi, cl
mov dword [ebp - 0x72], eax
xor edx, edx
mov word [ebp - 0x6e], ax
mov cx, ax
mov byte [ebp - 0x6c], al
mov dword [ebp - 0x80], eax
nop word [eax + eax]
movzx eax, byte [ebp + edx - 0x73]
add cx, ax
mov word [ebp - 0x80], cx
cmp cx, di
jbe 0x4078de
mov eax, dword [ebp - 0x80]
inc eax
movzx eax, al
mov dword [ebp - 0x80], eax
mov cx, ax
inc edx
cmp edx, esi
jl 0x4078c0
movups xmm0, xmmword [ebp - 0x7c]
movzx ebx, bl
add bx, cx
movzx ecx, bx
push esi
lea eax, [ecx + 1]
movzx edx, al
movzx eax, bl
mov ebx, edi
cmp cx, bx
cmovbe edx, eax
lea eax, [ebp - 0x68]
push eax
sub esp, 0x14
not dl
mov ecx, esp
mov byte [ebp - 0x6b], dl
mov eax, dword [ebp - 0x6c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x88]
call fcn.00407c40
test eax, eax
je 0x4076d7
mov ebx, dword [ebp - 0x88]
mov al, 1
mov byte [ebp - 0x74], 0xb1
movzx esi, al
xorps xmm0, xmm0
mov byte [ebp - 0x76], al
mov ecx, ebx
push esi
lea eax, [ebp - 0x68]
movq qword [ebp - 0x73], xmm0
push eax
sub esp, 0x14
mov word [ebp - 0x78], 0x202
movups xmm0, xmmword [ebp - 0x7c]
mov eax, esp
mov byte [ebp - 0x6b], 0
mov edi, dword [ebp - 0x6c]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], edi
call fcn.00407c40
test eax, eax
je 0x4076d7
cmp byte [ebp - 0x68], 0x79
jne 0x4076d7
movups xmm0, xmmword [ebp - 0x7c]
push esi
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
sub esp, 0x14
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], edi
call fcn.00407c40
test eax, eax
je 0x4076d7
cmp byte [ebp - 0x68], 0x79
jne 0x4076d7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004395e6
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov al, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004395e6
mov esp, ebp
pop ebp
ret 0x10