Function at 0x7f25d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [ecx + 0x28]
mov ebx, dword [esp + 0x54]
mov ebp, edx
mov edi, ecx
lea eax, [esi + 1]
mov dword [ecx + 0x28], eax
call fcn.007ebd10
test ebx, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jne 0x7f25fd
xor ebx, ebx
jmp 0x7f2646
test byte [ebp + 5], 8
je 0x7f2646
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], edi
mov ebp, 0
mov ebx, dword [eax + 0x1c]
mov edi, dword [ebx]
test edi, edi
jle 0x7f2630
xor ebp, ebp
lea eax, [ebp + ebp*4]
mov ecx, dword [ebx + eax*4 + 4]
call fcn.007f2f20
test eax, eax
jne 0x7f2630
inc ebp
cmp ebp, edi
jl 0x7f261a
mov ebx, dword [esp + 0x54]
cmp ebp, edi
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
mov eax, 0
cmove ebx, eax
cmp dword [edi + 0x24], 0
jne 0x7f2e37
mov ecx, ebp
call fcn.007f3180
test eax, eax
je 0x7f2e37
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, dword [edi]
mov eax, dword [eax + 0x18]
mov ebx, dword [edx]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.007825f0
movsx ebx, ax
mov ecx, edi
mov edx, ebx
call fcn.007f31f0
mov eax, dword [esp]
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov edx, ebx
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.007ec020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add esp, 0xc
cmp ecx, 1
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
jne 0x7f2969
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jns 0x7f297b
mov edx, fcn.0082c750
movzx ecx, byte [0xbb0413]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7f2907
mov al, byte [0xbb0413]
cmp edx, 1
mov ah, 1
seta cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0413], ah
jne 0x7f26fd
mov ecx, fcn.0082c750
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f275d
cmp ecx, 1
movzx edx, byte [0xbb0413]
seta al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x7f273f
jmp 0x7f2907
cmp ecx, 1
movzx ecx, byte [0xbb0413]
seta al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7f28e4
mov eax, fcn.0082c750
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb03e0]
seta cl
xor ecx, 0xd8315b83
add ecx, 0x870
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb03e0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb03e4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb03e4], eax
or esi, edx
not eax
mov edx, dword [0xbb03e8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb03e8], edx
or esi, eax
not edx
mov eax, dword [0xbb03ec]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb03ec], eax
or esi, edx
not eax
mov edx, dword [0xbb03f0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb03f0], edx
or eax, esi
not edx
mov edi, dword [0xbb03f4]
imul edx, eax
mov esi, edx
shl esi, 5
xor edi, edx
shr edx, 0x1a
mov dword [0xbb03f4], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb03f8]
mov esi, edi
shl esi, 6
xor edx, edi
shr edi, 0x19
mov dword [0xbb03f8], edx
or edi, esi
not edx
mov ebx, dword [0xbb03fc]
imul edx, edi
mov esi, edx
shl esi, 7
xor ebx, edx
shr edx, 0x18
mov dword [0xbb03fc], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb0400]
mov esi, ebx
shl esi, 8
xor edx, ebx
shr ebx, 0x17
mov dword [0xbb0400], edx
or ebx, esi
not edx
mov edi, dword [0xbb0404]
imul edx, ebx
mov esi, edx
shl esi, 9
xor edi, edx
shr edx, 0x16
mov dword [0xbb0404], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb0408]
mov esi, edi
shl esi, 0xa
xor edx, edi
shr edi, 0x15
mov dword [0xbb0408], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbb040c], edx
mov dl, 1
shl dl, cl
or byte [0xbb0413], dl
mov eax, fcn.0082c750
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb0413], al
mov ecx, dword [esp + 0x24]
mov edx, 0x11
call fcn.007ebd30
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [esp + 4], eax
mov ecx, esi
mov edx, edi
push 0x60
mov ebx, dword [esp + 4]
push ebx
push dword [esp + 0x34]
call fcn.007ebf70
add esp, 0xc
push dword [ebx]
push 0xbb03e0
push 0
push esi
call fcn.007f2440
add esp, 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov esi, edi
call fcn.007ebd40
mov eax, dword [esp + 0x58]
mov dword [esp], 1
jmp 0x7f2ee7
test ecx, ecx
jg 0x7f297b
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], 0
jmp 0x7f29f2
xor edi, edi
mov eax, 1
mov ecx, dword [ebp + 0xc]
mov edx, edi
mov esi, eax
call fcn.007f16b0
mov ecx, dword [esp + 0x14]
mov ebp, eax
lea eax, [edi + edi*4]
mov eax, dword [ecx + eax*4 + 4]
mov ecx, dword [esp]
movsx edx, word [eax + 0x20]
call fcn.007edc80
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
movsx edx, al
mov ebx, eax
call fcn.007f17e0
movsx edx, al
mov ecx, dword [esp + 4]
xor eax, eax
add edx, 0xffffffbf
cmp bl, 0x42
setg al
cmp edx, 2
cmovb eax, esi
inc edi
cmp edi, ecx
jge 0x7f29d8
test eax, eax
jne 0x7f2982
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov dl, 1
test eax, eax
mov dword [esp + 0x30], edx
je 0x7f2e37
mov eax, dword [esp]
mov eax, dword [eax + 8]
test eax, eax
je 0x7f2e37
mov edx, 0xffffffff
mov dword [esp + 0x10], 0xffffffff
shl edx, cl
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
shld edx, edx, cl
test cl, 0x20
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
cmovne edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, 0
not dword [esp + 0x10]
cmovne esi, edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 8]
not dword [esp + 0x18]
mov dword [esp], eax
movzx eax, word [eax + 0x34]
cmp ecx, eax
jg 0x7f2e29
cmp ax, 0x3e
ja 0x7f2e29
mov edx, dword [esp]
mov edx, dword [edx + 0x24]
test edx, edx
jne 0x7f2e29
mov edx, dword [esp + 0x50]
test dl, 4
je 0x7f2a9a
mov edx, dword [esp]
movzx edx, word [edx + 0x32]
cmp ecx, edx
jl 0x7f2e29
cmp ecx, eax
jge 0x7f2a9a
mov eax, dword [esp]
cmp byte [eax + 0x36], 0
je 0x7f2e29
xor edi, edi
cmp byte [esp + 0x30], 0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], 0
je 0x7f2b98
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x28], 0
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov dword [esp + 0x34], edi
call fcn.007f16b0
lea ecx, [ebx + ebx*4]
mov dword [esp + 0x38], ebx
mov edx, eax
mov edi, dword [esi + ecx*4 + 4]
mov ecx, dword [esp + 0xc]
push edi
call fcn.007c7fe0
mov ecx, dword [esp + 8]
add esp, 4
mov edx, dword [esp]
movzx edi, word [edi + 0x20]
mov ebp, eax
xor ebx, ebx
mov esi, dword [edx + 4]
cmp word [esi + ebx*2], di
jne 0x7f2b1c
test ebp, ebp
je 0x7f2b21
mov eax, dword [esp]
mov ecx, dword [ebp]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + ebx*4]
call fcn.00777e20
mov ecx, dword [esp + 4]
test eax, eax
je 0x7f2b21
inc ebx
cmp ebx, ecx
jl 0x7f2af9
cmp ebx, ecx
jne 0x7f2b2f
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
jmp 0x7f2b98
xor eax, eax
mov ecx, ebx
mov edx, 1
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x1c]
shld eax, edx, cl
mov edx, 1
shl edx, cl
test bl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
mov ecx, eax
mov esi, edx
and ecx, dword [esp + 0x28]
and esi, edi
or esi, ecx
je 0x7f2b6c
mov ecx, dword [esp + 4]
jmp 0x7f2b98
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x38]
test ecx, ecx
je 0x7f2b7b
mov dword [ecx + ebp*4], ebx
mov ecx, dword [esp + 4]
inc ebp
or edi, edx
or dword [esp + 0x28], eax
mov esi, dword [esp + 0x14]
mov ebx, ebp
cmp ebp, ecx
mov ebp, dword [esp + 0x1c]
jl 0x7f2abf
mov eax, dword [esp + 0x28]
xor edi, dword [esp + 0x18]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x20]
xor eax, dword [esp + 0x10]
or edi, eax
mov edi, dword [esp + 0xc]
jne 0x7f2e29
mov eax, fcn.007dea80
mov edx, 3
movzx ecx, byte [0xbb0443]
mov edi, dword [esp]
sub edx, eax
mov eax, edx
xor eax, fcn.007dea80
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f2d8e
mov al, byte [0xbb0443]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007dea80
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0443], ah
jne 0x7f2beb
mov edx, fcn.007dea80
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, fcn.007dea80
sete dl
or dl, 2
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f2c54
mov eax, ecx
movzx edx, byte [0xbb0443]
xor eax, fcn.007dea80
sete al
or al, 2
movzx eax, al
bt edx, eax
jae 0x7f2c34
jmp 0x7f2d8e
xor ecx, fcn.007dea80
movzx ecx, byte [0xbb0443]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f2d69
mov eax, fcn.007dea80
mov edx, 3
xor ecx, ecx
sub edx, eax
mov eax, dword [0xbb0420]
xor edx, fcn.007dea80
sete cl
or ecx, 0xc3ddfc7a
add ecx, 8
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb0420], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb0424]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0424], eax
or esi, edx
not eax
mov edx, dword [0xbb0428]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0428], edx
or esi, eax
not edx
mov eax, dword [0xbb042c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb042c], eax
or esi, edx
not eax
mov edx, dword [0xbb0430]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb0430], edx
or eax, esi
not edx
mov ebx, dword [0xbb0434]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb0434], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb0438]
mov esi, ebx
shl esi, 6
xor edx, ebx
shr ebx, 0x19
mov dword [0xbb0438], edx
or ebx, esi
not edx
imul edx, ebx
xor dword [0xbb043c], edx
mov dl, 1
shl dl, cl
or byte [0xbb0443], dl
mov eax, fcn.007dea80
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007dea80
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbb0443], al
mov ebx, dword [esp + 0x24]
mov edx, 0x11
mov ecx, ebx
call fcn.007ebd30
mov dword [esp + 0x14], eax
push dword [edi]
push 0xbb0420
push 0
mov esi, edi
mov edi, dword [esp + 0x18]
push edi
call fcn.007f2440
add esp, 0x10
mov ecx, ebx
mov edx, 0x60
push dword [esp + 0x2c]
push dword [esi + 0x2c]
push dword [esp + 0x10]
call fcn.007c5800
add esp, 0xc
mov ecx, edi
mov edx, esi
call fcn.007ec100
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
movzx eax, byte [eax]
test ecx, ecx
mov dword [esp], eax
je 0x7f2e0d
mov eax, dword [edi + 0x2c]
inc eax
cmp dword [esp + 4], 1
mov dword [edi + 0x2c], eax
mov dword [ecx], eax
jne 0x7f2e0d
mov edx, dword [esp + 8]
mov ecx, ebx
push eax
call fcn.007f3230
add esp, 4
mov edx, dword [esp + 0x14]
add dword [esp], 3
mov ecx, ebx
call fcn.007ebd40
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 8]
jmp 0x7f2ee7
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x7f2a4a
mov eax, dword [esp + 0x50]
test al, 1
je 0x7f2e6c
test byte [ebp + 5], 8
jne 0x7f2e6c
mov ecx, ebp
call fcn.007f3290
test eax, eax
mov dword [esp], 5
jne 0x7f2e60
mov eax, dword [esp + 0x58]
jmp 0x7f2ee7
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
mov eax, dword [esp + 0x58]
jl 0x7f2ee7
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x84]
test al, 4
mov dword [esp + 4], ecx
je 0x7f2e8a
mov dword [edi + 0x84], 0
jmp 0x7f2e8e
test ebx, ebx
jne 0x7f2e9c
mov ebx, esi
mov ecx, edi
mov edx, ebp
push esi
call fcn.007f32b0
jmp 0x7f2ecd
mov dword [esp + 8], esi
mov esi, dword [edi + 0x2c]
mov ecx, edi
mov edx, ebp
lea eax, [esi + 1]
mov dword [edi + 0x2c], eax
mov dword [ebx], eax
mov eax, dword [esp + 8]
mov ebx, eax
push eax
call fcn.007f32b0
add esp, 4
inc esi
je 0x7f2ed0
mov ecx, dword [esp + 0x24]
mov edx, ebx
push esi
call fcn.007f3230
add esp, 4
mov eax, dword [esp + 4]
mov esi, ebx
mov dword [esp], 2
mov dword [edi + 0x84], eax
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp]
test eax, eax
je 0x7f2f14
lea eax, [ebx - 3]
cmp eax, 2
jb 0x7f2f14
mov ecx, dword [ebp + 0xc]
call fcn.007efd90
mov edx, dword [esp + 0x58]
test eax, eax
jle 0x7f2f14
xor ecx, ecx
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, eax
jne 0x7f2f0c
mov dword [edi], esi
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret