Function at 0x7721d9f9
Capabilities:
Encode data using xor

Disassembly:
add esp, 8
xor dword [esp], esi
mov dword [esp - 0x29], edi
jmp 0x7721d1b0
mov dword [esp], esi
add esp, 4
add esi, 8
mov esi, dword [esi]
shl edi, 0xb
xor dword [esp - 0x5d], edi
shl edi, 0x15
xor edi, 0x6dbd72fe
mov edi, dword [ebp + edi - 0x6dbd72f2]
lea eax, [esi]
lea esp, [esp - 0x1b]
mov dword [esp + 0x17], 0x5b9bae41
lea esp, [esp + 0x17]
mov dword [esp], eax
call fcn.7720cd1f
mov eax, eax
and eax, 0x3ff
mov dword [edi + 0x28], eax
cmp eax, 7
jb 0x7721da40
mov dword [edi + 0x80], 1
mov dword [edi + 0x64], 1
mov dword [edi + 0x68], 0xf
mov dword [edi + 0x6c], 0xff
mov dword [edi + 0x70], 0xff
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0xb8], 0xffffffff
push edi
call fcn.7721e8c5
mov dword [edi + 0x78], eax
push edi
call fcn.7721e8da
mov dword [edi + 0x7c], eax
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
mov eax, 7
mov edx, 5
cmp esi, dword [ebx + 0x800]
jae 0x7721d2cc
lea esp, [esp - 4]
mov dword [esp], 0
xor eax, ecx
and eax, dword [esp]
jmp 0x7721d2ab
or eax, dword [esp]
add esp, 4
mov edx, 4
cmp esi, dword [ebx + 0x400]
jae 0x7721d2cc
mov eax, 0
mov edx, 0
mov dword [edi + 0x58], eax
push edx
pop dword [edi + 0x54]
jae 0x7721d4df
cmp esi, dword [ebx + 0x360]
mov edx, 0
jb 0x7721d4df
cmp esi, dword [ebx + 0x380]
jae 0x7721d4df
js 0x7721d2fa
cmp esi, edi
or dword [edi + 0x58], 3
mov eax, esi
sub eax, dword [ebx + 0x360]
shr eax, 2
cdq
shr ecx, 9
xor dword [esp - 0x49], ecx
shr ecx, 0x17
add ecx, 0x747c6fec
push 0x5d
call fcn.7721d335
shl byte [ebx - 0xe1a660], cl
int3
mov ecx, 0xffffffff
inc ecx
cmp dword [ebx], esi
lea ebx, [ebx + 4]
jb 0x7721d4e4
je 0x7721d5e7
dec cl
mov edx, dword [ebx - 8]
push edx
call fcn.7720cd1f
mov eax, eax
and eax, 0x3ff
cmp eax, 3
jne 0x7721d5e7
push ecx
xor ecx, ecx
add edx, 4
cmp edx, esi
je 0x7721d59c
lea esp, [esp - 0x6c]
mov dword [esp + 0x68], edx
push esp
and al, 0x68
lea esp, [esp + 0x68]
call fcn.7720cd1f
mov eax, eax
je 0x7721d537
xor edx, 0
shr eax, 0x13
and eax, 7
cmp eax, 0
jne 0x7721d514
jmp 0x7721d54b
add edx, 4
push edx
call fcn.7720cd1f
mov eax, eax
push edx
sub edx, edx
je 0x7721d562
jb 0x7721d524
inc eax
mov edx, esp
or dword [edx - 0x10], eax
pop edx
cmp dword [esp - 0x31], eax
shr eax, 0x13
and eax, 7
jne 0x7721d57a
sub ebx, 0
sub dword [esp - 0x25], eax
cmp eax, 0
je 0x7721d596
cmp edx, esi
je 0x7721d59c
jmp 0x7721d546
inc ecx
jmp 0x7721d517
mov eax, 1
shl eax, cl
or eax, 0x200
mov dword [edi + 0x70], eax
mov eax, edx
xor dword [esp], ecx
push ecx
add ecx, 0x5e8b8238
mov ecx, esp
sub dword [ecx - 0x26], ebx
pop ecx
ja 0x7721d5c5
xor ecx, 0
xor ecx, dword [esp]
push edi
sub edi, 0x8c73006f
mov edi, esp
mov dword [edi - 0x54], esi
pop edi
xor dword [esp], ecx
push ebx
add ebx, edx
mov ebx, esp
mov dword [ebx - 0x48], esi
pop ebx
mov dword [esp], ecx
add esp, 4
mov dword [esp - 0x2b], edx
mov byte [edi + 0x2c], cl
push esi
call fcn.7720cd1f
mov eax, eax
shr eax, 0x13
and eax, 7
cmp eax, 0
je 0x7721d611
cmp eax, 3
ja 0x7721d611
mov dword [edi + 0x54], eax
push esi
call 0x7721d618
add byte [ebx + 0x68d08c4], 0x8d
and al, 0xfc
mov dword [esp], eax
call fcn.7720cd1f
mov esi, eax
shr esi, 0xa
and esi, 0x1ff
shl esi, 2
add esi, dword [ebp + 0x10]
lea esi, [esi + 0xc00]
mov esi, dword [esi]
xor eax, eax
push eax
sub eax, 0xbdd3ae0a
mov eax, esp
mov dword [eax - 0x19], ebx
pop eax
cld
mov eax, 0x3c
mul dword [edi + 0x80]
push esi
add esi, 0x7457df57
mov esi, esp
cmp dword [esi - 0x2a], eax
pop esi
jmp 0x7721d680
lea eax, [eax - 0x3c]
mov edx, eax
xor eax, eax
push esi
call fcn.7720c618
inc esi
cmp al, 0xff
je 0x7721d6ba
shl eax, 2
jae 0x7721d6a1
xor edi, 0
lea eax, [eax + 0x738e4f5c]
push eax
call fcn.7720cd1f
call eax
jmp 0x7721d652
jmp 0x7721d6bd
cmp dword [edi + 0x80], 1
jne 0x7721d6dd
cmp dword [edi + 0x88], 0
jne 0x7721d6dd
dec dword [edi + 0x80]
jmp 0x7721d6ee
cmp dword [edi + 0x68], 8
je 0x7721d77b
js 0x7721d6fc
cmp esi, ebx
jmp 0x7721d711
cmp dword [edi + 0x80], 0
je 0x7721d77b
test dword [edi + 0x8c], 1
je 0x7721d77b
mov edx, dword [edi + 0x28]
mov esi, 0x738e2a98
push esi
call fcn.7720cd1f
or ecx, 0xffffffff
not ecx
or ecx, eax
dec ecx
js 0x7721d77b
add esi, 4
push esi
call fcn.7720cd1f
cmp eax, edx
jne 0x7721d746
jmp 0x7721d777
or dword [edi + 0x74], 4
mov edx, dword [edi + 0x28]
mov esi, 0x738e2ae4
push esi
call fcn.7720cd1f
mov ecx, eax
dec ecx
js 0x7721d7a7
add esi, 4
push esi
call fcn.7720cd1f
cmp eax, edx
jne 0x7721d78b
or dword [edi + 0x60], 2
mov edx, dword [edi + 0x28]
mov esi, 0x738e2b84
push esi
call fcn.7720cd1f
mov ecx, eax
dec ecx
js 0x7721d7ec
push esi
call 0x7721d7c9
or al, 0x55
push ebp
push 0x5b
pop ebx
clc
add esp, 8
add esi, 4
lea esp, [esp - 0x11]
mov dword [esp + 0xd], esi
lea esp, [esp + 0xd]
call fcn.7720cd1f
cmp eax, edx
jne 0x7721d7b7
or dword [edi + 0x60], 4
mov eax, dword [edi + 0x28]
push 0
push edx
not edx
mov edx, esp
call 0x7721d80d
dec ebx
sub byte [ecx - 0x1a], al
daa
aam 0x7d
jb 0x7721d7c7
inc eax
jns 0x7721d7c5
pop ds
insb byte es:[edi], dx
xor eax, 0xe8583bca
add eax, 0xb1000000
xchg esi, eax
pop ss
add al, 0xed
add esp, 8
add dword [esp - 0x27], ebx
xor dword [edx + 4], ecx
pop edx
sub ecx, ecx
add ecx, 0x738e2c48
xchg dword [esp], ecx
pop esi
lea esi, [esi + 8]
lea esp, [esp - 0x3c]
xchg dword [esp + 0x38], esi
mov esi, dword [esp + 0x38]
lea esp, [esp + 0x38]
xchg esi, edx
or edx, 0xffffffff
not edx
add edx, 0x76bafc7a
or edi, edi
mov dword [esp - 0x11], edi
xchg esi, edx
add esi, 0xf0f5a52b
xchg dword [esp], esi
mov dword [esp], eax
push esi
call fcn.7720cd1f
cmp dword [esp], eax
pop eax
ja 0x7721d82e
push eax
lea eax, [esi + 4]
push esi
call fcn.7720cd1f
mov esi, eax
and eax, 0x4f16a1f7
and eax, 0xffffffff
jo 0x7721d88f
xor edi, 0
jmp 0x7721d8a5
or eax, 0xffffffff
sub esp, 0x16
and eax, dword [esp + 0x16]
add esp, 0x1a
cmp esi, 4
jb 0x7721d93a
cmp esi, 6
ja 0x7721d93a
mov ecx, dword [edi + 0x80]
or ecx, ecx
je 0x7721d99f
xor ebx, ebx
mov edx, esi
cmp dword [edi + ebx + 0x84], 3
je 0x7721d99f
jmp 0x7721d8f9
test dword [edi + ebx + 0x8c], 0x10
jne 0x7721d99f
cmp dword [edi + ebx + 0x84], 2
je 0x7721d929
test dword [edi + ebx + 0x8c], 0x20
je 0x7721d92e
mov edx, 2
add ebx, 0x3c
dec ecx
jne 0x7721d8d9
mov esi, edx
cmp esi, 0
jne 0x7721d99f
cmp dword [edi + 0x28], 0x181
jne 0x7721d99f
mov ecx, 2
xor ebx, ebx
mov esi, 9
cmp dword [edi + ebx + 0x84], 5
je 0x7721d99f
cmp dword [edi + ebx + 0x84], 7
je 0x7721d99f
cmp dword [edi + ebx + 0x84], 6
je 0x7721d99f
add ebx, 0x3c
dec ecx
jne 0x7721d95c
push 0
mov esi, dword [esp]
lea esp, [esp + 4]
or esi, 0
lea esp, [esp - 4]
mov dword [esp], 0x30ff1248
and dword [esp], esi
push edx
lea edx, [ecx + ebx*4 + 0x39f1afde]
mov edx, esp
sub dword [edx - 0x30], edi
pop edx
or dword [esp], esi
pop dword [edi + 0x58]
mov esi, 0x738e2c90
lea esi, [esi + 8]
lea esp, [esp - 4]
xchg dword [esp], eax
mov eax, dword [esp]
lea esp, [esp - 4]
xchg dword [esp], esi
xor esi, ebx
and esi, 0
push edi
inc edi
mov edi, esp
add esi, dword [edi + 4]
add dword [esp - 0x67], ebx
add eax, 0
mov edi, dword [edi]
push eax
call 0x7721d9f9
rol dword [ebx - 0x3b7cf73c], 8
lea esp, [esp - 4]
call fcn.7720cd1f
mov ebx, eax
mov eax, dword [esp]
lea esp, [esp + 4]
cmp ax, bx
ja 0x7721d9c6
shr ebx, 0x10
cmp ax, bx
jb 0x7721d9c6
push eax
lea eax, [esi + 4]
push eax
call fcn.7720cd1f
mov esi, eax
pop eax
mov dword [edi + 0x5c], esi
xor eax, eax
jne 0x7721daaf
or eax, 0xffffffff
pop edi
pop esi
pop ecx
dec edx
shr edx, 9
push 0x1ac494b5
call 0x7721da5b
dec edx
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx - 0x153ef73c]
pop ss
add edx, dword [esp]
add esp, 4
pop ebx
leave
jmp 0x7721da7b
sub eax, 0
ret 0xc
test byte [edi], dl
mov word [eax], es
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov dword [edi + edx + 0xb8], 0xffffffff
push dword [esp]
and dword [esp + 4], 0x810004c2
push ecx
lea ecx, [edx + ecx + 0x43401bfa]
mov ecx, esp
mov dword [ecx - 0x6a], esi
pop ecx
jmp 0x7721dae4
ret 4
jmp 0x7721dacb