Function at 0x7926b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
mov eax, dword [0x94bd40]
xor eax, esp
mov dword [esp + 0x1a4], eax
mov eax, dword [ebp + 0x10]
mov edx, 1
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x44], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x60], eax
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [esi + 0x10]
sub edi, edx
sub eax, ecx
mov dword [esp + 0x28], esi
cmp eax, edx
mov dword [esp + 0x1c], 3
mov eax, edi
mov dword [esp + 0x38], 0x1f
cmovbe eax, ecx
mov edi, dword [esp + 0x44]
cmp dword [esi + 0x18], 0
cmovne eax, ecx
mov ecx, 5
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc4]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x4c], eax
mov eax, 1
shl eax, cl
mov ecx, 0x18
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x5c], eax
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x5c]
imul eax, dword [edi], 0x9e3779b1
mov edi, dword [esp + 0x5c]
sub ecx, dword [edi + 0x24]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x80], eax
shr eax, cl
mov dword [esp + 0x68], eax
shr eax, 3
and eax, 0x1fffffe0
lea ecx, [eax + edx]
mov dword [esp + 0x64], ecx
lea eax, [esi + eax*4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], eax
cmp dword [ecx + 0xdc], 0
jne 0x792a68
mov eax, dword [esp + 0x48]
mov esi, dword [ecx + 0x1c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
sub eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edx
cmp eax, 0x180
jbe 0x79298f
lea eax, [esi + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
cmp esi, dword [esp + 0x20]
jae 0x7928e1
mov edi, dword [esp + 0x24]
mov esi, 0x18
sub esi, dword [esp + 0x50]
mov dword [esp + 0x30], esi
nop
imul edx, dword [edi + edx + 8], 0x9e3779b1
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x84], eax
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x34]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x10]
shr eax, 3
mov dword [esp + 0x24], ecx
and eax, 0x1fffffe0
mov ecx, dword [esp + 0x48]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x24]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x40]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
cmp edi, dword [esp + 0x20]
jb 0x792850
mov eax, dword [ecx + 0x5c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x24]
lea edx, [edi + 1]
mov esi, dword [esp + 0x18]
add esi, 0xffffffe0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 0x24], esi
cmp eax, edx
jbe 0x792904
xor edx, edx
jmp 0x79290b
sub edx, dword [esp + 0x40]
sub edx, esi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, esi
mov dword [esp + 0x80], edx
cmp esi, edx
jae 0x79298b
mov eax, 0x18
mov edi, esi
sub eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
imul edx, dword [edi + eax], 0x9e3779b1
mov eax, edi
and eax, 7
inc edi
xor edx, dword [ecx + 0x50]
mov ecx, dword [esp + 0x30]
shr edx, cl
mov ecx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x2c], edx
cmp edi, dword [esp + 0x80]
jb 0x792931
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
jmp 0x79298f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp esi, eax
jae 0x792a34
mov edi, dword [esp + 0x24]
mov esi, 0x18
sub esi, dword [esp + 0x20]
mov dword [esp + 0x20], esi
nop dword [eax]
imul edx, dword [edi + edx + 8], 0x9e3779b1
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x84], eax
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x34]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x30]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x90]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x80]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
cmp edi, eax
jb 0x7929b0
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov ecx, 0x18
sub ecx, dword [esp + 0x50]
mov dword [esi + 0x1c], eax
imul edx, dword [edi + 8], 0x9e3779b1
mov eax, dword [esp + 0x18]
xor edx, dword [esp + 0x4c]
shr edx, cl
and eax, 7
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov edx, ecx
mov dword [esp + 0x4c], ecx
jmp 0x792a8d
mov edx, dword [esp + 0x4c]
mov ecx, 0x18
mov esi, dword [esp + 0x28]
xor edx, dword [esp + 0x80]
sub ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
shr edx, cl
mov dword [esp + 0x4c], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x48]
mov eax, edx
add dword [esi + 0x58], edx
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x14], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x10], 0
mov al, byte [eax]
mov byte [esp + 0x3f], al
movzx eax, al
mov dword [esp + 0x38], eax
movsx eax, dl
mov edx, dword [esp + 0x34]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x792af0
mov edx, dword [esp + 0x84]
mov cl, byte [esp + 0x3f]
shl edx, 0x10
and cl, 0x1f
or edx, dword [esp + 0x80]
ror edx, cl
xor ecx, ecx
mov dword [esp + 0x24], ecx
test edx, edx
je 0x792b97
mov edi, dword [esp + 0x54]
xor esi, esi
test edi, edi
je 0x792b87
test edx, edx
jne 0x792b45
bsf eax, ecx
add eax, 0x20
jmp 0x792b48
bsf eax, edx
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
and eax, 0x1f
mov eax, dword [ecx + eax*4]
je 0x792b67
cmp eax, dword [esp + 0x58]
jb 0x792b87
mov dword [esp + esi*4 + 0xa8], eax
inc esi
dec edi
mov eax, dword [esp + 0x24]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
mov dword [esp + 0x24], ecx
ja 0x792b35
jb 0x792b87
test edx, edx
jne 0x792b35
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, 0x1f
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, edx
mov edx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x4c]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x792ca7
mov ecx, dword [esp + 0x14]
mov esi, 3
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x80], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x792c96
mov esi, dword [esp + 0x2c]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x792c44
mov eax, dword [edx]
xor eax, dword [edi]
je 0x792c21
mov esi, dword [esp + 0x2c]
bsf eax, eax
shr eax, 3
jmp 0x792c6a
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x792c44
nop dword [eax + eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x792d54
add eax, 4
add edx, 4
cmp eax, esi
jb 0x792c30
mov esi, dword [esp + 0x2c]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x792c5d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x792c5d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x792c68
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x792c68
inc eax
sub eax, edi
cmp eax, dword [esp + 0x1c]
jbe 0x792c8e
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
add ecx, 3
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [edx], ecx
cmp eax, esi
je 0x792ca7
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x792be0
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
sub eax, ecx
sub dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x80], ecx
xor ecx, ecx
mov dword [esp + 0x64], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x90], eax
inc ecx
cmp ecx, 2
jl 0x792d01
mov edx, dword [esp + 0x94]
mov ecx, esi
shl edx, 0x10
and ecx, 0x1f
or edx, dword [esp + 0x90]
ror edx, cl
xor esi, esi
test edx, edx
je 0x792e8a
xor edi, edi
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x792db0
test edx, edx
jne 0x792d65
bsf eax, esi
add eax, 0x20
jmp 0x792d68
mov esi, dword [esp + 0x2c]
bsf ecx, ecx
shr ecx, 3
add eax, ecx
jmp 0x792c68
bsf eax, edx
add eax, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
and eax, 0x1f
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x10]
je 0x792d9a
mov edi, dword [esp + 0x5c]
cmp eax, dword [edi + 0xc]
mov edi, dword [esp + 0x10]
jb 0x792db0
mov dword [esp + edi*4 + 0xa8], eax
inc edi
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], ecx
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x792d40
jb 0x792db0
test edx, edx
jne 0x792d40
test edi, edi
mov edi, dword [esp + 0x44]
je 0x792e8a
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0xa8]
mov esi, dword [esp + 0x80]
add esi, eax
mov dword [esp + 0x68], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x792e5d
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, dword [esp + 0x38]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.00782bc0
add esp, 0xc
mov dword [esp + 0x70], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x38]
jne 0x792e2c
mov esi, dword [esp + 0x2c]
add eax, 4
push esi
push dword [esp + 0x80]
add eax, edi
push eax
call fcn.00782bc0
add esp, 0xc
add eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x792e61
mov eax, dword [esp + 0x18]
mov ecx, edx
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [esi], eax
lea eax, [edx + edi]
cmp eax, dword [esp + 0x2c]
je 0x792e74
jmp 0x792e61
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x10]
jb 0x792dc0
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.007bcf1e
mov esp, ebp
pop ebp
ret