Function at 0x7efdd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [0xbcbae0]
mov ebx, edx
mov ebp, ecx
xor eax, esp
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov esi, dword [edx + 0xc]
call fcn.007f2500
test eax, eax
jne 0x7f04d4
mov ecx, ebp
mov edx, ebx
mov dword [esp + 0x24], esi
call fcn.007f2550
mov ecx, dword [ebx + 0xc]
mov esi, eax
call fcn.007efd90
mov ecx, dword [ebp]
mov edi, eax
lea edx, [eax + eax*4 + 1]
push 0
call fcn.0077efb0
add esp, 4
mov ecx, dword [ebp]
mov edx, ebx
mov ebx, eax
cmp byte [ecx + 0x51], 0
jne 0x7f04c0
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], esi
xor esi, esi
mov dword [esp + 8], ebp
lea ebp, [esp + 0x38]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x5c], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
cmove eax, esi
push ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
push ebx
push eax
push 3
call fcn.007f25d0
add esp, 0x10
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.007f07c0
add esp, 4
test edi, edi
mov edx, edi
jg 0x7efea9
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
jmp 0x7efebb
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
cmp dword [ebx + esi*4], esi
jne 0x7efebb
inc esi
cmp esi, edx
jl 0x7efeb1
cmp esi, edx
mov ecx, eax
mov dword [esp + 0xc], eax
mov dword [esp], edx
mov dword [esp + 0x20], eax
je 0x7eff27
mov edx, dword [esp]
mov ecx, ebp
call fcn.007eee80
mov edx, dword [esp]
mov dword [esp + 0xc], eax
test edx, edx
jg 0x7efee7
mov ebx, dword [esp + 0x10]
jmp 0x7eff23
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
xor esi, esi
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + esi*4]
mov edx, 0x4d
lea ebp, [esi + ecx]
mov ecx, dword [esp + 4]
add eax, edi
push 0
push eax
push ebp
call fcn.007c5800
mov edx, dword [esp + 0xc]
add esp, 0xc
inc esi
cmp esi, edx
jne 0x7efef1
mov ebp, dword [esp + 8]
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], 5
jne 0x7f0230
mov ebx, dword [esp + 0x1c]
mov ecx, ebp
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x14]
call fcn.007c8020
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.007efdc0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov dword [esp], 0
cmp ecx, dword [esp + 0x5c]
je 0x7eff83
mov ecx, ebp
call fcn.007f1720
mov ecx, edi
mov edx, 0x65
mov dword [esp], eax
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call fcn.007c5800
add esp, 0xc
mov ecx, dword [ebx + 0xc]
call fcn.007f1760
cmp dword [esi], 0
mov edi, dword [esp]
mov byte [esp + 0x1c], al
jle 0x7f01ec
mov ebx, fcn.0077f500
xor ebp, ebp
mov dword [esp + 0x18], esi
mov dword [esp], edi
imul ebx, ebx
and ebx, 3
mov dword [esp + 0x30], ebx
cmp byte [esp + 0x1c], 0x45
mov dword [esp + 0x24], ebp
jne 0x7f0100
xor eax, eax
cmp ebx, 3
movzx edx, byte [0xbb03b3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7f00b1
mov al, byte [0xbb03b3]
xor ecx, ecx
cmp ebx, 3
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [ecx + edx*2 + 2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb03b3], dl
jne 0x7effe8
xor ecx, ecx
cmp ebx, 3
movzx eax, al
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [ecx + edx*2 + 2]
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7f004a
xor eax, eax
cmp ebx, 3
movzx edx, byte [0xbb03b3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jae 0x7f002b
jmp 0x7f00b1
xor eax, eax
cmp ebx, 3
movzx edx, byte [0xbb03b3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7f0093
xor eax, eax
cmp ebx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x861
lea ecx, [eax + ecx*2 - 0x39822f66]
mov al, 1
xor dword [0xbb03ac], ecx
and cl, 7
shl al, cl
or byte [0xbb03b3], al
xor eax, eax
cmp ebx, 3
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [eax + ecx*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb03b3], al
mov ebx, dword [esp + 8]
mov ecx, ebx
call fcn.007f1720
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov edi, eax
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x30]
lea eax, [ebp + ebp*4]
mov edx, dword [esi + eax*4 + 4]
push edi
call fcn.007ebed0
add esp, 4
mov ecx, dword [esp + 4]
mov edx, 0x5a
push 0xffffffffffffffff
push 0xbb03ac
push 0
push 1
push edi
call fcn.007ebd50
add esp, 0x14
jmp 0x7f011b
lea eax, [ebp + ebp*4]
mov ecx, dword [esp + 8]
mov edx, dword [esi + eax*4 + 4]
lea eax, [esp + 0x34]
push eax
call fcn.007ee980
add esp, 4
mov edi, eax
cmp dword [esp], 0
je 0x7f0149
lea eax, [ebp + ebp*4]
mov ecx, dword [esi + eax*4 + 4]
call fcn.007f2f20
test eax, eax
je 0x7f0149
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, 0x65
push eax
push edi
push eax
call fcn.007c5800
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 8]
call fcn.007f0bc0
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x5c]
jne 0x7f0167
mov eax, dword [esi]
dec eax
cmp ebp, eax
jge 0x7f0199
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 4]
xor eax, eax
cmp ebp, edi
mov ecx, esi
setne al
lea edx, [eax + eax + 0x33]
push 0xfffffffffffffffe
push dword [esp + 0x18]
push edi
push dword [esp + 0x34]
push ebp
call fcn.007ebd50
add esp, 0x14
mov eax, dword [esp + 0x2c]
movsx eax, byte [eax]
jmp 0x7f01ce
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 4]
xor eax, eax
cmp ecx, edi
mov ebp, ecx
mov ecx, esi
setne al
lea edx, [eax + eax + 0x32]
push 0xfffffffffffffffe
push dword [esp + 0x18]
push edi
push dword [esp + 0x68]
push ebp
call fcn.007ebd50
add esp, 0x14
mov eax, dword [esp + 0x2c]
movsx eax, byte [eax]
or eax, 0x10
movzx edx, ax
mov ecx, esi
call fcn.00782720
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, dword [esp]
inc ebp
cmp ebp, dword [esi]
jl 0x7effb3
mov esi, dword [esp + 4]
test edi, edi
je 0x7f0213
mov ecx, esi
mov edx, 0x32
push dword [esp + 0x60]
push edi
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x5c]
mov ecx, esi
call fcn.007ebf10
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.007f04f0
mov ebp, dword [esp + 8]
mov edx, edi
mov ecx, ebp
call fcn.007f0bc0
jmp 0x7f049f
mov esi, dword [esp + 0x5c]
xor ecx, ecx
cmp esi, dword [esp + 0x60]
je 0x7f0252
mov ecx, ebp
mov esi, eax
call fcn.007efdc0
mov edx, dword [esp]
mov ebx, dword [esp + 0x10]
mov ecx, eax
mov eax, esi
mov esi, ecx
cmp dword [ebp + 0x24], 0
jne 0x7f04a7
mov ebx, dword [esp + 0x1c]
test edx, edx
mov dword [esp + 0x14], ecx
jle 0x7f029e
xor ebp, ebp
mov ecx, dword [ebx + 0xc]
mov edx, ebp
call fcn.007f16b0
mov ecx, eax
call fcn.007f2f20
test eax, eax
je 0x7f0298
mov eax, dword [esp + 0xc]
mov ecx, edi
mov edx, 0x32
lea eax, [ebp + eax]
push esi
push eax
call fcn.007c57e0
add esp, 8
inc ebp
cmp ebp, dword [esp]
jne 0x7f026a
cmp dword [esp + 0x18], 1
jne 0x7f02d7
mov esi, dword [esp + 0x38]
mov ecx, edi
mov edx, 0x1f
push dword [esp + 0xc]
push dword [esp + 0x60]
push esi
call fcn.007c5800
add esp, 0xc
mov ecx, edi
mov edx, 0xb
call fcn.007ebd30
mov ebp, dword [esp + 8]
mov dword [esp + 0x1c], eax
jmp 0x7f0342
mov ecx, edi
mov edi, dword [esp]
mov edx, 0x5a
push edi
push dword [esp + 0x30]
push 0
push edi
mov esi, dword [esp + 0x1c]
push esi
call fcn.007ebd50
add esp, 0x14
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 8]
cmp eax, dword [esp + 0x60]
jne 0x7f0322
mov ecx, dword [esp + 4]
mov edx, 0x1d
push edi
push esi
push eax
push ebx
call fcn.007826e0
add esp, 0x10
jmp 0x7f049f
mov ecx, dword [esp + 4]
mov edx, 0x1e
push edi
push esi
push 0
push ebx
call fcn.007826e0
add esp, 0x10
mov edi, dword [esp + 4]
mov esi, ebx
mov dword [esp + 0x1c], eax
cmp dword [esp], 1
mov edx, dword [esp + 0x14]
jne 0x7f036c
mov eax, dword [esp + 0x40]
test eax, eax
je 0x7f036c
mov edx, 0x33
mov ecx, edi
push dword [esp + 0x5c]
push eax
call fcn.007c57e0
mov edx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x60]
jne 0x7f0387
mov ecx, edi
mov edx, eax
call fcn.007ebf10
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
test edx, edx
je 0x7f0396
mov ecx, edi
call fcn.007f04f0
mov eax, dword [esp + 0x5c]
mov ecx, edi
mov edx, 0x25
push eax
mov dword [esp + 0x1c], esi
push esi
mov esi, eax
call fcn.007c57e0
add esp, 8
mov ecx, dword [esp]
mov dword [esp + 0x28], eax
cmp ecx, 2
jl 0x7f03c5
mov ecx, ebp
call fcn.007efdc0
mov ecx, dword [esp]
mov esi, eax
test ecx, ecx
jle 0x7f043e
mov ebx, dword [esp + 4]
xor edi, edi
mov dword [esp + 0x14], esi
mov ecx, ebp
call fcn.007f1720
mov ecx, dword [esp + 0x24]
mov edx, edi
mov ebp, eax
call fcn.007f16b0
mov ecx, dword [esp + 8]
mov edx, eax
call fcn.007c8020
mov esi, eax
mov ecx, ebx
mov edx, 0x59
push ebp
push edi
push dword [esp + 0x20]
call fcn.007c5800
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, ebx
mov edx, 0x34
lea eax, [edi + eax]
push 0xfffffffffffffffe
push esi
mov esi, dword [esp + 0x1c]
push ebp
push esi
push eax
call fcn.007ebd50
add esp, 0x14
mov ecx, dword [esp + 8]
mov edx, ebp
mov ebp, dword [esp + 8]
call fcn.007f0bc0
inc edi
cmp edi, dword [esp]
jne 0x7f03d3
mov ebx, dword [esp + 4]
mov edx, 0xb
mov ecx, ebx
push dword [esp + 0x60]
push 0
call fcn.007c57e0
add esp, 8
cmp dword [esp], 2
jl 0x7f0494
mov ecx, ebx
mov edx, esi
call fcn.007f04f0
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edx, 5
inc eax
push eax
push dword [esp + 0x1c]
call fcn.007c57e0
add esp, 8
mov ecx, ebx
mov edx, 0xb
push dword [esp + 0x5c]
push 0
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.007ebd40
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
cmp ecx, eax
je 0x7f04c0
mov edx, ecx
mov ecx, ebp
call fcn.007f0bc0
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp]
mov edx, ebx
call fcn.00774f10
mov ecx, dword [ebp]
mov edx, esi
call fcn.00774f10
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00980459
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret