Function at 0xa7ece0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2e8
push ebx
push ebp
push esi
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x54]
push 0x2f
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00a7c070
mov dl, byte [eax]
mov byte [esp + 0x38], dl
mov cl, byte [eax]
add esp, 4
xor esi, esi
test cl, cl
je 0xa7ed2b
lea ecx, [esp + 0x34]
sub ecx, eax
mov dl, byte [eax + 1]
mov bl, byte [ecx + eax]
inc esi
inc eax
dec dl
xor dl, bl
mov byte [ecx + eax], dl
cmp byte [eax], 0
jne 0xa7ed17
push 0x30
mov byte [esp + esi + 0x38], 0
call fcn.00a7c070
mov cl, byte [eax]
mov byte [esp + 0x48], cl
mov cl, byte [eax]
add esp, 4
xor esi, esi
test cl, cl
je 0xa7ed64
lea ecx, [esp + 0x44]
sub ecx, eax
mov edi, edi
mov dl, byte [eax + 1]
mov bl, byte [ecx + eax]
inc esi
inc eax
dec dl
xor dl, bl
mov byte [ecx + eax], dl
cmp byte [eax], 0
jne 0xa7ed50
mov ebp, dword [esp + 0x2fc]
mov ebx, dword [ebp + 0x1c]
mov byte [esp + esi + 0x44], 0
mov esi, dword [ebp + 0x10]
sub esi, ebx
mov eax, dword [esi + ebp + 0x10]
add esi, ebp
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x1c], esi
mov dword [ebp + 0x20], eax
call dword [esi]
mov ebx, eax
test ebx, ebx
jne 0xa7eda1
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2e8
ret
push edi
lea edx, [esp + 0x48]
push edx
call dword [esi]
mov edi, eax
test edi, edi
jne 0xa7edbf
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2e8
ret
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x60], eax
je 0xa7edaf
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x8c], eax
je 0xa7edaf
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x90], eax
je 0xa7edaf
mov eax, dword [esi + 0x18]
test eax, eax
mov dword [esp + 0x58], eax
je 0xa7edaf
push esi
lea esi, [esp + 0x14]
call fcn.00a7e2f0
add esp, 4
test ax, ax
je 0xa7edaf
mov esi, dword [esp + 0x14]
push 0x2a
call fcn.00a7c070
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.00a7df40
mov dword [esi + 4], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x78]
add esp, 0xc
test eax, eax
je 0xa7edaf
mov esi, dword [esp + 0x2fc]
test esi, esi
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x7c]
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x30], ecx
jne 0xa7ee5c
push esi
call dword [esp + 0x6c]
test eax, eax
mov dword [esp + 0x2fc], eax
je 0xa7edaf
mov esi, eax
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 6]
lea edx, [ecx + ecx*4]
movzx ecx, word [eax + esi + 0x14]
add ecx, eax
lea ebx, [ecx + edx*8 + 0x18]
shr ebx, 0xc
inc ebx
shl ebx, 0xc
push ebx
push 0x40
call dword [esp + 0x94]
test eax, eax
mov dword [esp + 0x18], eax
je 0xa7edaf
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push 0x104
mov ecx, edx
and ecx, 3
lea eax, [esp + 0x1f8]
push eax
mov eax, dword [esp + 0x304]
push 0x104
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
push eax
call fcn.00a7ebe0
add esp, 0x1c
test ax, ax
je 0xa7edaf
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp]
add eax, edi
mov dword [eax + 0x80], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 0x84], edx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xd8], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xdc], edx
mov eax, ebp
mov esi, edi
call fcn.00a7c830
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0xf4]
push ecx
push edx
lea esi, [esp + 0x1c]
call fcn.00a7dfb0
add esp, 0xc
test eax, eax
mov dword [ebp + 0x24], eax
je 0xa7edaf
push 1
call fcn.00a7c070
mov edx, dword [ebp + 0x24]
mov ecx, esi
push ecx
push edx
call fcn.00a7df40
add esp, 0xc
test eax, eax
je 0xa7edaf
mov ecx, dword [esp + 0x2fc]
lea edx, [esp + 0xf0]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1f4]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ecx
call eax
add esp, 4
test eax, eax
jne 0xa7edaf
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push eax
call dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2e8
ret