Function at 0x7f3cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x20]
mov eax, dword [0xbd33e0]
mov ebx, edx
xor eax, esp
mov dword [esp + 8], eax
mov dword [esp], ecx
mov edi, dword [ecx]
call fcn.007d1540
test eax, eax
jne 0x7f4076
test ebx, ebx
je 0x7f4089
test esi, esi
je 0x7f3d2b
cmp dword [esi], 0
jne 0x7f3d84
mov eax, dword [esp]
mov edx, ebx
mov ecx, dword [eax]
call fcn.007e4800
test eax, eax
je 0x7f4076
movzx edx, byte [edi + 0x4e]
mov ebp, eax
mov ecx, edi
push 0
push eax
call fcn.007d3a60
add esp, 8
test eax, eax
je 0x7f3d7b
mov ecx, dword [esp]
mov edx, ebp
call 0x838a80
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00989fe9
mov ecx, edi
mov edx, ebp
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00780810
mov ecx, edi
mov edx, ebp
call fcn.00780810
mov ecx, dword [esp]
lea eax, [esp + 4]
mov edx, ebx
push eax
push esi
call fcn.00800700
add esp, 8
test eax, eax
js 0x7f4076
mov edx, dword [esp + 4]
mov ecx, edi
mov ebx, eax
call fcn.007e4800
test eax, eax
je 0x7f4076
mov ebp, eax
mov eax, dword [edi + 0x10]
mov ecx, ebx
shl ecx, 4
mov edx, ebp
mov esi, dword [eax + ecx]
mov ecx, edi
push esi
call fcn.00797640
add esp, 4
test eax, eax
je 0x7f3de6
mov ecx, dword [esp]
mov edx, eax
push 0
call fcn.00838ae0
add esp, 4
jmp 0x7f3d60
mov ecx, edi
mov edx, ebp
push esi
call fcn.007cab10
add esp, 4
mov ecx, edi
mov edx, ebp
mov edi, eax
call fcn.00780810
test edi, edi
je 0x7f3e25
mov esi, dword [esp]
xor edx, edx
mov ecx, esi
push ebx
call fcn.00800f40
add esp, 4
mov ecx, esi
mov edx, edi
push 0xffffffffffffffff
call fcn.0080ffa0
add esp, 4
jmp 0x7f4076
mov edx, fcn.007a6210
mov esi, fcn.007a6210
movzx ecx, byte [0xbbb523]
or edx, 2
xor esi, 2
mov eax, edx
add eax, esi
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7f4065
mov al, byte [0xbbb523]
mov ecx, edx
mov ah, 1
add ecx, esi
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb523], ah
jne 0x7f3e56
mov ecx, fcn.007a6210
mov edx, fcn.007a6210
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
setne ah
or ah, 4
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7f3eb8
mov eax, ecx
movzx esi, byte [0xbbb523]
add eax, edx
setne al
or al, 4
movzx eax, al
bt esi, eax
jae 0x7f3e9b
jmp 0x7f4065
add ecx, edx
movzx ecx, byte [0xbbb523]
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7f4040
mov eax, fcn.007a6210
mov edx, fcn.007a6210
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbbb4f0]
sete cl
xor ecx, 0x552342f1
add ecx, 0xa04
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbbb4f0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbbb4f4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbb4f4], eax
or esi, edx
not eax
mov edx, dword [0xbbb4f8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbb4f8], edx
or esi, eax
not edx
mov eax, dword [0xbbb4fc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbb4fc], eax
or esi, edx
not eax
mov edx, dword [0xbbb500]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbb500], edx
or eax, esi
not edx
mov edi, dword [0xbbb504]
imul edx, eax
mov esi, edx
shl esi, 5
xor edi, edx
shr edx, 0x1a
mov dword [0xbbb504], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbbb508]
mov esi, edi
shl esi, 6
xor edx, edi
shr edi, 0x19
mov dword [0xbbb508], edx
or edi, esi
not edx
mov ebx, dword [0xbbb50c]
imul edx, edi
mov esi, edx
shl esi, 7
xor ebx, edx
shr edx, 0x18
mov dword [0xbbb50c], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbbb510]
mov esi, ebx
shl esi, 8
xor edx, ebx
shr ebx, 0x17
mov dword [0xbbb510], edx
or ebx, esi
not edx
mov edi, dword [0xbbb514]
imul edx, ebx
mov esi, edx
shl esi, 9
xor edi, edx
shr edx, 0x16
mov dword [0xbbb514], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbbb518]
mov esi, edi
shl esi, 0xa
xor edx, edi
shr edi, 0x15
mov dword [0xbbb518], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbbb51c], edx
mov dl, 1
shl dl, cl
or byte [0xbbb523], dl
mov eax, fcn.007a6210
mov ecx, fcn.007a6210
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbb523], al
push 0xbbb4f0
push dword [esp + 4]
call fcn.0078de60
add esp, 8
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00989fe9
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00989fe9
mov ecx, dword [esp]
xor edx, edx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp 0x838a80
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ecx]
mov dword [esp], eax
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x838ad4
mov edi, ecx
mov ecx, dword [esp]
mov esi, edx
xor ebx, ebx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 4], ecx
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x838ac8
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00838ae0
add esp, 4
mov ebp, dword [ebp]
test ebp, ebp
jne 0x838aad
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 4]
inc ebx
add ecx, 0x10
cmp ebx, eax
jl 0x838a9f
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret