Function at 0xa44710
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x278
mov ebx, dword [0xa283ac]
mov ebp, dword [0xa283a8]
mov eax, ebp
or eax, ebx
jne 0xa447c1
mov dword [esp + 0x48], 0x931e9166
mov dword [esp + 0x4c], 0xaf5aad50
mov dword [esp + 0x50], 0xab9ca95c
mov dword [esp + 0x54], 0xa752a558
mov dword [esp + 0x58], 0xa3a2a154
lea eax, [esp + 0x48]
mov ecx, 0x3a1cc1a3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [eax]
mov edx, ecx
or edx, esi
lea edi, [ecx - 0x3a1cc100]
and edi, esi
not edx
or edx, edi
lea esi, [edx + 0x33]
not edx
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x3a1cc18f
jne 0xa44770
lea eax, [esp + 0x48]
push eax
call fcn.00a44300
add esp, 4
mov ebp, eax
mov dword [0xa283ac], edx
mov dword [0xa283a8], eax
or eax, edx
je 0xa4489b
mov ebx, edx
lea eax, [esp + 0x148]
push 0x40
push eax
push ebx
push ebp
call fcn.00a440e0
add esp, 0x10
test eax, eax
js 0xa4489b
mov eax, dword [esp + 0x184]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x188]
push 0xf0
push edx
push ecx
push eax
call fcn.00a440e0
add esp, 0x10
xor edi, edi
test eax, eax
js 0xa4489d
cmp dword [esp + 0x1fc], 0
je 0xa4489d
mov eax, dword [esp + 0x1f8]
mov esi, 0
test eax, eax
je 0xa4489f
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x20]
push 0x28
push edx
push ecx
push eax
call fcn.00a440e0
add esp, 0x10
test eax, eax
js 0xa4489b
mov ecx, dword [esp + 0x34]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0xa44864
mov eax, esi
push eax
call 0xa0e480
add esp, 4
mov edx, dword [esp + 0x3c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.00a440e0
add esp, 0x10
test eax, eax
js 0xa448ae
mov eax, dword [esp + 0x34]
test eax, eax
jns 0xa448b7
mov eax, 0xffffffff
jmp 0xa448b9
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x278
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0xa44aa7
add eax, eax
push eax
call 0xa0e480
add esp, 4
mov esi, dword [esp + 0x38]
add esi, esi
mov ecx, dword [esp + 0x44]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00a440e0
add esp, 0x10
test eax, eax
js 0xa44a97
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0xa44903
lea eax, [esi*4]
push eax
call 0xa0e480
add esp, 4
mov edi, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00a440e0
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0xa44a85
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0xa44957
mov esi, eax
test esi, esi
je 0xa44a85
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0xa4499a
mov ebx, 0x36c0b43e
cmp ebx, dword [esp + 0x28c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
je 0xa44ab8
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0xa44a85
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
call fcn.00a440e0
add esp, 0x10
test eax, eax
jns 0xa449c7
cmp eax, 0x8000000d
jne 0xa4498d
mov ecx, 0xffffffff
xor edx, edx
nop
nop
mov eax, edx
cmp byte [esp + ecx + 0x49], 0
lea ecx, [ecx + 1]
lea edx, [edx + 1]
jne 0xa449d0
mov dword [esp], 0x82828013
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x60
xor bl, byte [esp + edx]
add bl, 0x20
mov byte [esp + edx], bl
inc edx
cmp edx, 4
jne 0xa449f0
test ecx, ecx
je 0xa4496f
mov edx, dword [esp]
mov ebp, 0x36c0b43e
lea esi, [esp + 0x48]
cmp ecx, 4
jb 0xa44a5f
mov ebx, eax
and ebx, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add ebx, 0xfffffffc
jne 0xa44a30
mov edi, dword [esp + 4]
mov ebx, ebp
test cl, 3
je 0xa44974
and eax, 3
xor ecx, ecx
nop
movsx ebx, byte [esi + ecx]
xor ebx, ebp
imul ebx, edx
inc ecx
mov ebp, ebx
cmp eax, ecx
jne 0xa44a70
jmp 0xa44974
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.00a0e490
add esp, 4
jmp 0xa44a9b
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.00a0e490
add esp, 4
push dword [esp + 0xc]
call fcn.00a0e490
add esp, 4
jmp 0xa4489f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0xa44a89