Function at 0x7f9e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov al, byte [esp + 0x64]
mov ebx, ecx
mov edi, edx
mov byte [esp + 2], al
mov al, byte [esp + 0x60]
mov byte [esp + 3], al
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [0xbd33e0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
mov esi, dword [edx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov dword [esp + 4], eax
call fcn.007fb610
mov ecx, ebx
mov ebp, eax
call fcn.007fb640
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x18], ebx
jne 0x7fa01a
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
mov esi, dword [edi + 4]
mov ecx, dword [esp + 4]
call fcn.007fb610
cmp ebp, eax
je 0x7fa02d
mov edx, fcn.007fa730
movzx ecx, byte [0xbb7c37]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7fa009
mov al, byte [0xbb7c37]
cmp edx, 1
mov ah, 1
seta cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb7c37], ah
jne 0x7f9ed4
mov ecx, fcn.007fa730
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
or dl, 6
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f9f2e
cmp ecx, 1
movzx edx, byte [0xbb7c37]
seta al
or al, 6
movzx eax, al
bt edx, eax
jae 0x7f9f12
jmp 0x7fa009
cmp ecx, 1
movzx edx, byte [0xbb7c37]
seta al
or al, 6
movzx eax, al
bt edx, eax
jb 0x7f9fe8
mov eax, fcn.007fa730
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb7c20]
seta cl
or ecx, 0xaca2e23e
add ecx, 0xb80
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb7c20], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb7c24]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb7c24], eax
or edi, edx
not eax
mov edx, dword [0xbb7c28]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb7c28], edx
or edi, eax
not edx
mov eax, dword [0xbb7c2c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb7c2c], eax
or edi, edx
not eax
mov dl, 1
imul eax, edi
shl dl, cl
xor dword [0xbb7c30], eax
or byte [0xbb7c37], dl
mov eax, fcn.007fa730
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbb7c37], al
push 0xbb7c20
push dword [esp + 0x1c]
call fcn.0078de60
add esp, 8
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00989fe9
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x10], ebp
mov al, 0x38
mov cl, byte [esp + 3]
cmp cl, 0x37
je 0x7fa03e
mov eax, ecx
mov bl, byte [esp + 2]
mov edi, dword [esp + 0x14]
shr esi, 9
cmp al, 0x39
mov bh, 0x36
je 0x7fa051
mov bh, al
and esi, 1
mov edx, edi
or bl, 0x20
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.007fcec0
mov dword [esp + 0x28], eax
mov ecx, esi
mov esi, dword [esp + 4]
mov edx, esi
call fcn.007fcec0
mov dword [esp + 0x24], eax
mov edx, edi
xor edi, edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
add eax, 0xfffffffe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov ecx, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
push edi
call fcn.007fced0
add esp, 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x3c]
mov ecx, ebp
mov edx, esi
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x2c]
push edi
call fcn.007fced0
add esp, 0x10
mov edx, dword [esp + 0x38]
mov ecx, ebp
mov byte [esp + 2], bl
movzx esi, bl
movzx ebp, bh
push dword [esp + 0x2c]
push esi
push dword [esp + 0x24]
push eax
push dword [esp + 0x40]
push ebp
mov esi, ecx
push dword [esp + 0x4c]
call fcn.007fa280
add esp, 0x1c
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.007fc440
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.007fc440
cmp edi, dword [esp + 0x20]
je 0x7fa1d2
cmp bh, 0x34
je 0x7fa16a
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
cmp bh, 0x35
jne 0x7fa19b
mov ecx, dword [esp + 0xc]
mov edx, 0x14
push dword [esp + 8]
push esi
call fcn.007d10d0
mov edx, ebp
add esp, 8
movzx ebx, byte [esp + 2]
mov esi, dword [esp + 4]
mov bh, 0x35
inc edi
or bl, 8
jmp 0x7fa093
mov ecx, dword [esp + 0xc]
mov edx, 0x12
push dword [esp + 8]
push dword [esp + 0x20]
call fcn.007d10d0
add esp, 8
movzx ebx, byte [esp + 2]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 4]
mov bh, 0x34
inc edi
or bl, 8
jmp 0x7fa093
mov ecx, dword [esp + 0xc]
mov edx, 0x3a
push dword [esp + 8]
push 0
call fcn.007d10d0
add esp, 8
cmp edi, dword [esp + 0x10]
movzx eax, byte [esp + 3]
je 0x7fa1bf
mov al, bh
movzx ebx, byte [esp + 2]
mov esi, dword [esp + 4]
inc edi
mov bh, al
mov edx, ebp
jmp 0x7fa093
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00989fe9
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007fbd70