Function at 0x7921a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4d0
mov eax, dword [0xbd33e0]
mov ebx, edx
mov esi, ecx
xor eax, esp
mov dword [esp + 0x4cc], eax
mov ebp, dword [ecx]
mov edi, dword [ebp + 0x70]
cmp dword [ebp + 0xb0], 0
jne 0x7921d4
mov dword [ebp + 0x110], 0
lea ecx, [esp + 0x10]
mov edx, esi
mov dword [esi + 0xc], 0
mov dword [esi + 0xe0], ebx
call fcn.007d3f40
mov eax, dword [ebp + 0xf4]
lea edx, [esp + 0xc]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esi + 0x7c], eax
mov eax, 0xffffffff
mov dword [ebp + 0xf4], esi
mov ecx, ebx
mov esi, edx
mov dword [esp], eax
call fcn.007d0aa0
mov ebp, eax
sub edi, eax
jns 0x79222e
mov esi, dword [esp + 4]
mov dword [esi + 0xc], 0x12
jmp 0x792507
mov edx, dword [esp + 0xc]
cmp edx, 0xa1
jl 0x792295
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x110]
test eax, eax
je 0x792258
mov esi, dword [esp + 4]
mov dword [esi + 0xc], 9
jmp 0x792507
mov eax, dword [esp + 0xc]
cmp eax, 0xb3
jne 0x79226b
add ebx, ebp
mov edx, esi
mov ecx, ebx
jmp 0x792213
cmp byte [ebx], 0
jne 0x7922d0
mov eax, dword [esp]
xor ebp, ebp
mov edx, 0
cmp eax, 1
je 0x792291
test eax, eax
jne 0x79228c
mov esi, dword [esp + 4]
jmp 0x792507
mov edx, 1
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
lea ecx, [esp + 0x10]
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc0], ebp
push ebp
push ebx
call fcn.007d4040
add esp, 8
mov ecx, dword [esp + 4]
add ebx, ebp
mov eax, dword [esp + 0xc]
mov edx, esi
cmp dword [ecx + 0xc], 0
mov esi, ecx
je 0x79220c
jmp 0x792507
cmp eax, 0xa3
je 0x792302
cmp eax, 0xa2
je 0x7922f5
cmp eax, 0xa1
jne 0x79230f
lea ecx, [ebx + 6]
call fcn.007d3f60
mov edx, eax
mov dword [esp + 0xc], eax
jmp 0x792295
mov edx, dword [esp]
lea ecx, [ebx + 4]
call fcn.007d3fb0
jmp 0x7922ed
mov edx, dword [esp]
lea ecx, [ebx + 6]
call fcn.007d4000
jmp 0x7922ed
mov edi, fcn.007f3550
xor eax, eax
movzx edx, byte [0xbb78cf]
mov esi, dword [esp + 4]
and edi, 1
inc edi
mov ecx, edi
xor ecx, fcn.007f3550
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 3
movzx eax, al
bt edx, eax
jb 0x7924f7
mov al, byte [0xbb78cf]
xor edx, edx
mov ecx, edi
xor edi, fcn.007f3550
sete dl
mov edi, ecx
mov ecx, edx
not ecx
lea ecx, [edx + ecx*2]
mov dl, 1
and cl, 3
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb78cf], dl
jne 0x79234a
mov ecx, fcn.007f3550
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov edi, ecx
xor edi, fcn.007f3550
sete dl
mov edi, edx
not edx
lea edx, [edi + edx*2]
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7923ce
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb78cf]
xor edx, fcn.007f3550
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2]
and al, 3
movzx eax, al
bt edi, eax
jae 0x7923a4
jmp 0x7924f7
xor eax, eax
xor ecx, fcn.007f3550
movzx edx, byte [0xbb78cf]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 3
movzx eax, al
bt edx, eax
jb 0x7924cd
mov ecx, fcn.007f3550
xor eax, eax
and ecx, 1
inc ecx
xor ecx, fcn.007f3550
sete al
mov ecx, eax
not ecx
and ecx, 0x13d
lea ecx, [eax + ecx*2 + 0x13532c80]
mov eax, dword [0xbb78b0]
xor eax, ecx
mov dword [0xbb78b0], eax
not eax
mov edx, dword [0xbb78b4]
imul eax, ecx
and cl, 3
lea edi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb78b4], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb78b8]
lea edi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb78b8], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb78bc]
lea edi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb78bc], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [str._qG]
mov edi, edx
shl edi, 4
xor eax, edx
shr edx, 0x1b
mov dword [str._qG], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb78c4]
mov edi, eax
shl edi, 5
xor edx, eax
shr eax, 0x1a
mov dword [0xbb78c4], edx
or eax, edi
not edx
imul edx, eax
xor dword [0xbb78c8], edx
mov dl, 1
shl dl, cl
or byte [0xbb78cf], dl
mov eax, fcn.007f3550
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007f3550
sete cl
mov eax, ecx
not eax
lea ecx, [ecx + eax*2]
mov al, 0xfe
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb78cf], al
push ebx
push ebp
push 0xbb78b0
push esi
call fcn.0078de60
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.007d4130
mov edi, dword [esp + 8]
cmp byte [edi + 0x51], 0
je 0x792528
mov dword [esi + 0xc], 7
mov ebp, 7
jmp 0x79253c
mov ebp, dword [esi + 0xc]
test ebp, ebp
je 0x7926a3
cmp ebp, 0x65
je 0x7926a3
cmp dword [esi + 4], 0
jne 0x7926a3
mov eax, fcn.007cf1d0
mov edi, 3
movzx edx, byte [0xbb78d7]
sub edi, eax
xor eax, eax
mov ecx, edi
xor ecx, fcn.007cf1d0
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x792686
mov al, byte [0xbb78d7]
mov dword [esp], ebp
mov ebp, edi
xor edx, edx
xor ebp, fcn.007cf1d0
sete dl
mov ecx, edx
xor ecx, 5
lea ecx, [ecx + edx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb78d7], dl
jne 0x79257f
mov edx, fcn.007cf1d0
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov edi, ecx
xor edi, fcn.007cf1d0
sete dl
mov edi, edx
xor edx, 5
lea edx, [edx + edi*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7925ff
mov ebp, dword [esp]
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb78d7]
xor edx, fcn.007cf1d0
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt edi, eax
jae 0x7925d9
jmp 0x792686
xor eax, eax
xor ecx, fcn.007cf1d0
movzx edx, byte [0xbb78d7]
mov ebp, dword [esp]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x79265a
mov eax, fcn.007cf1d0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007cf1d0
sete al
mov ecx, eax
xor ecx, 0x40812fad
lea ecx, [ecx + eax*2 + 0xa0]
mov al, 1
xor dword [0xbb78d0], ecx
and cl, 7
shl al, cl
or byte [0xbb78d7], al
mov eax, fcn.007cf1d0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007cf1d0
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb78d7], al
mov ecx, ebp
call fcn.00789c30
push eax
push 0xbb78d0
mov edi, dword [esp + 0x10]
push edi
call fcn.0078df10
add esp, 0xc
mov dword [esi + 4], eax
mov ebp, dword [esi + 4]
test ebp, ebp
jne 0x7926b1
xor ebp, ebp
jmp 0x792830
mov edi, fcn.007c9d60
xor eax, eax
movzx edx, byte [0xbb78e7]
imul edi, edi
and edi, 3
cmp edi, 2
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt edx, eax
jb 0x792800
mov al, byte [0xbb78e7]
xor ecx, ecx
cmp edi, 2
sete cl
mov edx, ecx
not edx
and edx, 3
lea ecx, [ecx + edx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb78e7], dl
jne 0x7926e1
mov ecx, fcn.007c9d60
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
mov edi, edx
not edi
and edi, 3
lea edx, [edx + edi*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x792752
xor eax, eax
cmp ecx, 2
movzx edi, byte [0xbb78e7]
sete al
mov edx, eax
xor edx, 3
lea eax, [eax + edx*2]
bt edi, eax
jae 0x792731
jmp 0x792800
xor eax, eax
cmp ecx, 2
movzx edx, byte [0xbb78e7]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt edx, eax
jb 0x7927d6
mov ecx, fcn.007c9d60
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete al
mov ecx, eax
not ecx
and ecx, 0x48b
lea ecx, [eax + ecx*2 - 0x50a054a0]
mov eax, dword [0xbb78d8]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb78d8], eax
not eax
imul edx, eax
mov eax, dword [0xbb78dc]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb78dc], eax
or edi, edx
not eax
mov dl, 1
imul eax, edi
shl dl, cl
xor dword [0xbb78e0], eax
or byte [0xbb78e7], dl
mov ecx, fcn.007c9d60
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete al
mov ecx, eax
not ecx
and ecx, 3
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb78e7], al
mov eax, dword [esp + 0x4e4]
mov dword [eax], ebp
push dword [esi + 0xe0]
push ebp
push 0xbb78d8
push dword [esi + 0xc]
call fcn.00783470
add esp, 0x10
mov edi, dword [esp + 8]
mov ebp, 1
mov dword [esi + 4], 0
mov dword [esi + 0xe0], ebx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x792855
cmp dword [esi + 0x24], 0
jle 0x792855
cmp byte [esi + 0x12], 0
jne 0x792855
call fcn.007ad720
mov dword [esi + 8], 0
cmp byte [esi + 0x12], 0
jne 0x792873
mov edx, dword [esi + 0x6c]
mov ecx, edi
call fcn.00780810
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
push dword [esi + 0xfc]
call fcn.00780f60
add esp, 4
mov al, byte [esi + 0xc8]
test al, al
jne 0x79289e
mov edx, dword [esi + 0xe4]
mov ecx, edi
call fcn.00780750
mov al, byte [esi + 0xc8]
cmp al, 1
ja 0x7928af
mov edx, dword [esi + 0xec]
mov ecx, edi
call fcn.00780700
mov edx, dword [esi + 0x10c]
test edx, edx
je 0x7928c0
mov ecx, edi
call fcn.007cbce0
mov edx, dword [esi + 0xd8]
mov ecx, edi
call fcn.00780810
mov edx, dword [esi + 0x70]
test edx, edx
je 0x7928f2
mov eax, dword [edx]
mov ecx, edi
mov dword [esi + 0x70], eax
call fcn.007994a0
jmp 0x7928cd
mov eax, dword [edx + 0x4c]
mov ecx, edi
mov dword [esi + 0x100], eax
call fcn.00780750
mov edx, dword [esi + 0x100]
test edx, edx
jne 0x7928e2
mov eax, dword [esi + 0x7c]
mov dword [edi + 0xf4], eax
mov dword [esi + 0x7c], 0
mov ecx, dword [esp + 0x4cc]
xor ecx, esp
call fcn.00989fe9
mov eax, ebp
add esp, 0x4d0
pop esi
pop edi
pop ebx
pop ebp
ret