Function at 0xa0fa00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa99e7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x834
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x20], ecx
xor edx, edx
mov dword [ebp - 0x18], 0
xor edi, edi
mov dword [ebp - 0x28], edx
xor ebx, ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 4], ebx
mov ecx, eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
call fcn.00a0f880
mov eax, dword [0xac4ff4]
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push esi
call eax
mov edx, eax
mov dword [ebp - 0x3c], edx
test edx, edx
jne 0xa0fa83
lea esi, [edi + 1]
jmp 0xa0fbcb
cmp byte [ebp + 0xc], 0
mov eax, 0x80803000
mov ecx, dword [0xac4ffc]
mov esi, 0x80000000
push 0
cmove eax, esi
push eax
push 0
push 0
push dword [ebp - 0x20]
push edx
call ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0xa0fab8
lea esi, [eax + 2]
jmp 0xa0fbc2
mov eax, dword [0xac4fe0]
lea edx, [ebp - 0x18]
push edx
push 0x800
lea edx, [ebp - 0x83c]
push edx
push ecx
call eax
test eax, eax
je 0xa0fb52
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x14], ecx
test eax, eax
je 0xa0fb45
xor esi, esi
test eax, eax
je 0xa0fb1c
nop dword [eax]
lea eax, [ebp - 0x83c]
add eax, esi
cmp edi, ebx
je 0xa0fb06
mov al, byte [eax]
mov byte [edi], al
inc edi
mov dword [ebp - 0x30], edi
jmp 0xa0fb16
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.00992a50
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0xa0faf0
mov eax, dword [0xac4fe0]
lea ecx, [ebp - 0x18]
push ecx
push 0x800
lea ecx, [ebp - 0x83c]
push ecx
push dword [ebp - 0x20]
call eax
test eax, eax
jne 0xa0fad4
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], esi
jmp 0xa0fb56
mov esi, dword [ebp - 0x34]
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], esi
jmp 0xa0fb59
xor esi, esi
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0xa0fb6f
xor edx, edx
mov dword [ebp - 0x24], 5
cmp ecx, eax
cmovne edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], 0x1000d19
xor ecx, ecx
lea eax, [ecx + 0x6e]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 2
jb 0xa0fb78
lea eax, [ebp - 0x14]
mov byte [ebp - 0x11], 0
push eax
push dword [ebp + 0x10]
call fcn.00a72080
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0xa0fbb6
push eax
sub edi, esi
push edi
push 1
push esi
call fcn.00a79e88
push dword [ebp - 0x38]
call fcn.00a75908
add esp, 0x14
push dword [ebp - 0x20]
call dword [fcn.00ac4fdc]
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x3c]
call dword [fcn.00ac4fdc]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0xa0fbf8
sub ebx, ecx
mov eax, ecx
cmp ebx, 0x1000
jb 0xa0fbee
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xa0fc0b
push ebx
push ecx
call fcn.00a6c232
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00a714d0
int3