Function at 0x9a3d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa93225
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov byte [ebp - 0x12], cl
mov dword [ebp - 0x18], 0
xor edx, edx
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0xc]
sub edx, edi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x9a3f3d
mov esi, dword [ebp + 0x28]
xor eax, eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
nop
test cl, cl
je 0x9a3ee1
mov ebx, dword [edi + eax + 0x14]
lea esi, [edi + eax]
mov edx, dword [esi + 0x10]
mov eax, esi
mov dword [ebp - 0x24], edx
cmp ebx, 0x10
jb 0x9a3dce
mov eax, dword [esi]
cmp dword [ebp + 0x28], 0x10
lea ecx, [ebp + 0x14]
push edx
cmovae ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
push eax
push 0
call fcn.009fa650
add esp, 0xc
test eax, eax
je 0x9a3e89
mov dword [ebp - 0x29], 0x5f4054
xor eax, eax
mov byte [ebp - 0x25], 1
nop dword [eax]
lea ecx, [eax + 0x6e]
xor byte [ebp + eax - 0x29], cl
inc eax
cmp eax, 3
jb 0x9a3e00
lea ecx, [ebp - 0x29]
mov byte [ebp - 0x25], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9a3e17
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x24]
sub eax, edx
cmp eax, ecx
jb 0x9a3f8a
cmp ebx, 0x10
jb 0x9a3e39
mov esi, dword [esi]
push edx
push esi
push ecx
lea eax, [ebp - 0x29]
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.009fca20
or dword [ebp - 0x18], 3
lea eax, [ebp - 0x44]
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp + 0x14]
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x44]
cmp ebx, 0x10
mov edx, dword [ebp + 0x24]
cmovae eax, esi
cmp dword [ebp + 0x28], 0x10
push eax
cmovae ecx, dword [ebp + 0x14]
push 0
call fcn.009fa650
mov edi, dword [ebp + 8]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x9a3e8f
mov byte [ebp - 0x11], 0
jmp 0x9a3e93
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 1
je 0x9a3ed3
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
cmp ebx, 0x10
jb 0x9a3ed3
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x9a3ec6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9a3f8f
push ecx
push esi
call fcn.00a6c232
mov edi, dword [ebp + 8]
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x9a3f39
mov esi, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x14]
jmp 0x9a3f0c
mov edx, dword [eax + edi + 0x10]
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x9a3eef
mov eax, dword [eax]
push edx
mov edx, dword [ebp + 0x24]
lea ecx, [ebp + 0x14]
cmp esi, 0x10
push eax
cmovae ecx, ebx
push 0
call fcn.009fa650
add esp, 0xc
cmp eax, 0xffffffff
jne 0x9a3f39
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x1c]
sub ecx, edi
add dword [ebp - 0x20], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jae 0x9a3f3d
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp - 0x12]
jmp 0x9a3db0
mov bl, 1
jmp 0x9a3f3f
xor bl, bl
lea ecx, [ebp + 8]
call fcn.009f7300
mov ecx, dword [ebp + 0x28]
cmp ecx, 0x10
jb 0x9a3f77
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9a3f6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9a3f8f
push ecx
push edx
call fcn.00a6c232
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00992040
call fcn.00a714d0
int3