Function at 0xa32700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov edi, dword [ebp + 8]
mov dword [esp + 0x188], 0x282b2a25
mov byte [esp + 0x18c], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
shr edx, 1
and edx, 1
movzx ecx, byte [esp + eax + 0x188]
mov ebx, eax
and ebx, 5
mov esi, eax
or esi, 0xfffffffd
inc esi
imul esi, ebx
mov ebx, eax
or ebx, 2
imul ebx, edx
add ebx, ebx
sub esi, ebx
lea edx, [eax + esi]
add edx, 0x3773c848
xor edx, ecx
mov ecx, edx
not ecx
and ecx, 1
xor edx, 0xfe
lea ecx, [edx + ecx*2]
add cl, 0x6c
mov byte [esp + eax + 0x188], cl
inc eax
cmp eax, 5
jne 0xa32730
mov eax, dword [esp + 0x188]
mov ecx, dword [0xa40374]
test ecx, ecx
je 0xa327da
xor edx, edx
mov esi, dword [0xa40378]
nop
nop
nop
cmp dword [esi + edx*8], 0x89c57e52
je 0xa327b0
inc edx
cmp ecx, edx
jne 0xa327a0
jmp 0xa327da
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0xa327da
lea eax, [esp + 0x10]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0xa4037c]
push ecx
call fcn.00a30f10
add esp, 0x28
test eax, eax
js 0xa32aa6
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 0x188], 0x282b2a25
mov byte [esp + 0x18c], 0
xor ecx, ecx
nop
mov esi, ecx
shr esi, 1
and esi, 1
movzx edx, byte [esp + ecx + 0x188]
mov ebx, ecx
and ebx, 5
mov eax, ecx
or eax, 0xfffffffd
inc eax
imul eax, ebx
mov ebx, ecx
or ebx, 2
imul ebx, esi
add ebx, ebx
sub eax, ebx
add eax, ecx
add eax, 0x3773c848
xor eax, edx
mov edx, eax
not edx
and edx, 1
xor eax, 0xfe
lea eax, [eax + edx*2]
add al, 0x6c
mov byte [esp + ecx + 0x188], al
inc ecx
cmp ecx, 5
jne 0xa32800
mov esi, dword [esp + 0x188]
mov ecx, dword [0xa40374]
test ecx, ecx
je 0xa3288c
xor eax, eax
mov edx, dword [0xa40378]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + eax*8], 0xc3cdc4a6
je 0xa32880
inc eax
cmp ecx, eax
jne 0xa32870
jmp 0xa3288c
mov eax, dword [edx + eax*8 + 4]
cmp eax, esi
jne 0xa32ab2
mov dword [esp], esi
mov eax, dword [esp + 0x190]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0xc], eax
mov dword [esp + 0x68], 0x282b2a25
mov byte [esp + 0x6c], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
shr eax, 1
and eax, 1
movzx edx, byte [esp + ecx + 0x68]
mov esi, ecx
and esi, 5
mov ebx, ecx
or ebx, 0xfffffffd
inc ebx
imul ebx, esi
mov esi, ecx
or esi, 2
imul esi, eax
add esi, esi
sub ebx, esi
lea eax, [ecx + ebx]
add eax, 0x3773c848
xor eax, edx
mov edx, eax
not edx
and edx, 1
xor eax, 0xfe
lea eax, [eax + edx*2]
add al, 0x6c
mov byte [esp + ecx + 0x68], al
inc ecx
cmp ecx, 5
jne 0xa328c0
mov ecx, dword [0xa40374]
test ecx, ecx
mov esi, dword [esp]
je 0xa3295d
mov edx, dword [esp + 0x68]
xor eax, eax
mov ebx, dword [0xa40378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + eax*8], 0xb62b8d10
je 0xa32940
inc eax
cmp ecx, eax
jne 0xa32930
jmp 0xa3295d
mov eax, dword [ebx + eax*8 + 4]
cmp eax, edx
je 0xa3295d
push dword [esp + 4]
push 1
push dword [0xa4037c]
push eax
call fcn.00a30f10
add esp, 0x10
test esi, esi
js 0xa32aa6
lea eax, [esp + 0x188]
push 0x20
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.00a324e0
add esp, 0x10
test eax, eax
js 0xa32aa6
lea eax, [esp + 0x10]
push 0x20
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00a324e0
add esp, 0x10
test eax, eax
js 0xa32aa6
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0xa32a1c
movzx eax, cx
movzx ecx, dx
mov edx, ecx
not edx
and edx, eax
add edx, edx
xor ecx, eax
cmp edx, ecx
je 0xa32ae5
push esi
call fcn.00a2e210
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 8]
mov esi, eax
xor esi, dword [esp]
or esi, edx
je 0xa32aa6
push 0x68
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00a324e0
add esp, 0x10
test eax, eax
js 0xa32aa6
movzx eax, word [esp + 0xc2]
push eax
call fcn.00a2e1b0
add esp, 4
mov esi, eax
movzx eax, word [esp + 0xc2]
push eax
push esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
call fcn.00a324e0
add esp, 0x10
test eax, eax
js 0xa329f8
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0xa32a80
or ecx, 0x20
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0xa32a90
or edx, 0x20
test cx, cx
je 0xa329e0
add eax, 2
cmp cx, dx
je 0xa32a70
jmp 0xa329e0
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x14]
push 5
push dword [0xa4037c]
push eax
call fcn.00a30f10
add esp, 0x20
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
jmp 0xa3288f
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.00a2e210
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0xa32aaa