Function at 0xa1c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x2c], 0
mov edi, esi
jmp 0xa1c3d
mov esi, eax
mov eax, ebx
movzx eax, byte [ebx]
mov edi, esi
mov byte [esi], al
inc esi
inc ebx
mov dword [esp + 0x20], edi
mov eax, ebx
test al, 3
je 0xa1c50
mov eax, ebx
movzx eax, byte [ebx]
jmp 0xa1c70
mov eax, ebx
mov eax, dword [ebx]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0xa1cae
cmp al, 0x25
je 0xa1d04
test al, al
mov edi, dword [esp + 0x20]
je 0xa42cb
cmp dword [ebp + 8], 0
je 0xa1c39
mov ecx, esi
sub ecx, edi
cmp ecx, 0x1ff
jl 0xa1c39
add dword [esp + 0x2c], ecx
push ecx
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0xa1c30
jmp 0xa42ee
mov ecx, dword [esp + 0x20]
sub ecx, esi
add ecx, 0x200
jmp 0xa1cea
mov dword [esi], eax
add esi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
not edx
and edx, 0x80808080
mov edi, eax
xor edi, 0x25252525
add edi, 0xfefefeff
add ecx, 0xfffffffc
test edi, edx
jne 0xa1c70
lea edi, [eax - 0x1010101]
test edx, edi
jne 0xa1c78
cmp dword [ebp + 8], 0
je 0xa1cc0
cmp ecx, 4
jge 0xa1cc0
jmp 0xa1c70
mov ecx, ebx
add ecx, 2
xor ebx, ebx
jmp 0xa1d15
movzx eax, byte [ecx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja 0xa1d91
jmp dword [edx*4 + 0xec564]
dec ecx
mov edi, dword [esp + 0x20]
mov dword [esp + 8], ebx
cmp al, 0x2a
jne 0xa1db2
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0xa1ddb
mov edx, eax
add dl, 0xd0
xor ebx, ebx
cmp dl, 9
ja 0xa1ddb
xor ebx, ebx
movzx eax, al
lea edx, [ebx + ebx*4]
lea ebx, [eax + edx*2]
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0xa1dc0
mov dword [esp + 4], 0xffffffff
cmp al, 0x2e
mov dword [esp + 0x3c], ebx
jne 0xa1e67
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0xa1e0d
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0xa1e67
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0xa1e67
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffff5
mov edi, ebx
and edi, 0xa
or ebx, 0xa
imul ebx, edi
xor edi, 0xa
imul edi, edx
add ebx, edi
movzx eax, al
add ebx, eax
add ebx, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0xa1e30
mov dword [esp + 4], ebx
mov edi, dword [esp + 0x20]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja 0xa1e7a
jmp dword [eax*4 + 0xec664]
movzx edx, byte [ecx]
mov dword [esp + 0x4c], ecx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja 0xa280e
jmp dword [eax*4 + 0xec72c]
mov byte [esp + 0x263], dl
mov dword [esp + 0x1c], 1
mov byte [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x263]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
xor ecx, ecx
mov dword [esp + 0x3c], 0
jmp 0xa374f
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
jg 0xa3759
mov ecx, ebx
movsx eax, byte [esp + 0x44]
movsx edi, byte [esp + 0x34]
mov edx, dword [esp + 0x10]
mov dword [esp + 4], ecx
add edx, ecx
add edx, eax
add edx, edi
mov edi, dword [esp + 0x3c]
cmp edi, edx
jg 0xa377b
mov edi, edx
sub edi, edx
mov dword [esp + 0x3c], edi
sub dword [esp + 4], ebx
mov ecx, dword [esp + 8]
test cl, 1
mov edi, dword [esp + 0x20]
jne 0xa37bb
test cl, 0x10
jne 0xa37a1
mov dword [esp + 8], 0
jmp 0xa37bb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 4]
cmp ecx, edx
jg 0xa37af
mov ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 0x3c], 0
mov edx, dword [esp]
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 4]
je 0xa3c6c
test byte [esp + 8], 1
jne 0xa38e5
cmp dword [esp + 0x3c], 0
jle 0xa38e5
mov ecx, dword [esp + 0x3c]
jmp 0xa37fe
mov ecx, dword [esp + 0x3c]
sub ecx, ebx
test ecx, ecx
jle 0xa38dc
mov eax, edi
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0xa380f
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0xa3817
mov ebx, ecx
mov dword [esp + 0x3c], ecx
test ebx, ebx
mov dword [esp + 0x20], edi
je 0xa3860
mov eax, esi
and eax, 3
je 0xa3860
mov eax, esi
not eax
and eax, 3
mov dword [esp + 0x18], ebx
lea edi, [ebx - 1]
cmp eax, edi
jb 0xa383e
mov eax, edi
mov ebx, eax
inc eax
push eax
push 0x20
push esi
call fcn.000ad780
add esp, 0xc
sub edi, ebx
add esi, ebx
inc esi
mov ebx, dword [esp + 0x18]
cmp edi, 4
jl 0xa388d
jmp 0xa3870
mov edi, ebx
cmp edi, 4
jl 0xa388d
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi], 0x20202020
add esi, 4
mov eax, edi
not eax
and eax, 4
and edi, 0x7ffffffb
sub edi, eax
cmp edi, 3
jg 0xa3870
test edi, edi
je 0xa389f
push edi
push 0x20
push esi
call fcn.000ad780
add esp, 0xc
add esi, edi
mov edi, dword [esp + 0x20]
cmp dword [ebp + 8], 0
je 0xa37f0
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0xa37f0
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0xa42ee
mov esi, eax
mov edi, eax
jmp 0xa37f0
mov dword [esp + 0x3c], ecx
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x45]
mov dword [esp + 0x14], ecx
jmp 0xa38f5
movzx eax, byte [esp + 0x44]
test al, al
je 0xa3a1d
movsx edx, al
mov ebx, edi
sub ebx, esi
add ebx, 0x200
cmp ebx, edx
jl 0xa3910
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0xa3918
mov ebx, edx
sub al, bl
mov byte [esp + 0x44], al
test ebx, ebx
je 0xa39bb
mov eax, ebx
and eax, 3
je 0xa3a10
mov dword [esp + 0x20], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 0x14]
lea ecx, [edi + 1]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edi]
mov byte [esi + edx], cl
inc edx
cmp eax, edx
jne 0xa3940
add esi, edx
mov eax, ebx
sub eax, edx
mov edi, dword [esp + 0x20]
cmp ebx, 4
jb 0xa39bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0xa3970
cmp dword [ebp + 8], 0
je 0xa38f0
mov eax, esi
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0xa38f0
mov ecx, eax
mov edx, dword [esp + 0x2c]
and ecx, edx
xor edx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x2c], edx
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0xa42ee
mov esi, eax
mov edi, eax
jmp 0xa38f0
mov eax, ebx
cmp ebx, 4
jae 0xa3970
jmp 0xa39bb
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x18], ecx
xor edi, edi
test byte [esp + 8], 0x40
je 0xa3a4d
and eax, 0xffffff
add eax, dword [esp + 4]
mov edi, dword [esp + 0x18]
lea ecx, [edi + 1]
xor edx, edx
div ecx
sub edi, edx
cmp dword [esp + 4], 0
jle 0xa429a
mov ebx, dword [esp + 4]
mov edx, dword [esp]
jmp 0xa3a80
mov ebx, dword [esp + 4]
sub ebx, dword [esp + 0xc]
test ebx, ebx
jle 0xa3c63
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ebx
cmp ebx, eax
jl 0xa3b00
mov dword [esp + 0xc], eax
cmp dword [ebp + 8], 0
je 0xa3b06
test byte [esp + 8], 0x40
jne 0xa3b15
cmp dword [esp + 0xc], 0
je 0xa3b20
mov eax, esi
and eax, 3
je 0xa3b20
mov ecx, esi
not ecx
and ecx, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0xa3acc
mov ecx, ebx
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push esi
call fcn.000ad780
add esp, 0xc
mov eax, dword [esp + 0x30]
add esi, eax
inc esi
sub ebx, eax
mov edx, dword [esp]
cmp ebx, 4
jge 0xa3b29
jmp 0xa3b63
cmp dword [ebp + 8], 0
jne 0xa3aa3
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
test byte [esp + 8], 0x40
je 0xa3aaa
mov ebx, dword [esp + 0xc]
jmp 0xa3b63
mov ebx, dword [esp + 0xc]
cmp ebx, 4
jl 0xa3b63
mov eax, ebx
cmp ebx, 7
jl 0xa3b35
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x30], eax
add eax, 4
push eax
push 0x30
push esi
call fcn.000ad780
add esp, 0xc
mov eax, dword [esp + 0x30]
add esi, eax
add esi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp]
test ebx, ebx
je 0xa3bb0
test bl, 1
jne 0xa3b80
mov eax, ebx
cmp ebx, 1
jne 0xa3c0e
jmp 0xa3bb0
mov al, 0x30
test byte [esp + 8], 0x40
je 0xa3b9d
cmp edi, dword [esp + 0x18]
jne 0xa3b9c
movzx eax, byte [0xef001]
xor al, 0xe0
xor edi, edi
jmp 0xa3b9d
inc edi
mov byte [esi], al
inc esi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0xa3c0e
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0xa3a70
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0xa3a70
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0xa42ee
mov esi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp]
jmp 0xa3a70
mov edx, dword [esp]
mov byte [esi + 1], cl
add esi, 2
add eax, 0xfffffffe
je 0xa3bb0
mov cl, 0x30
test byte [esp + 8], 0x40
je 0xa3c31
cmp edi, dword [esp + 0x18]
jne 0xa3c30
movzx edx, byte [0xef001]
xor dl, 0xe0
xor edi, edi
jmp 0xa3c33
inc edi
mov dl, 0x30
mov byte [esi], dl
test byte [esp + 8], 0x40
je 0xa3c00
cmp edi, dword [esp + 0x18]
mov edx, dword [esp]
jne 0xa3c60
movzx ecx, byte [0xef001]
xor cl, 0xe0
xor edi, edi
jmp 0xa3c03
inc edi
jmp 0xa3c03
movzx eax, byte [esp + 0x44]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x45]
mov dword [esp + 0x14], ecx
jmp 0xa3c8c
mov esi, eax
mov edi, eax
mov edx, dword [esp]
movzx eax, byte [esp + 0x44]
test al, al
je 0xa3d8d
movsx edx, al
mov ebx, edi
sub ebx, esi
add ebx, 0x200
cmp ebx, edx
jl 0xa3ca7
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0xa3caf
mov ebx, edx
sub al, bl
mov byte [esp + 0x44], al
test ebx, ebx
je 0xa3d4b
mov eax, ebx
and eax, 3
je 0xa3d80
mov dword [esp + 0x20], edi
xor edx, edx
nop
nop
mov edi, dword [esp + 0x14]
lea ecx, [edi + 1]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edi]
mov byte [esi + edx], cl
inc edx
cmp eax, edx
jne 0xa3cd0
add esi, edx
mov eax, ebx
sub eax, edx
mov edi, dword [esp + 0x20]
cmp ebx, 4
jb 0xa3d4b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0xa3d00
cmp dword [ebp + 8], 0
je 0xa3c84
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0xa3c84
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0xa3c80
jmp 0xa42ee
mov eax, ebx
cmp ebx, 4
jae 0xa3d00
jmp 0xa3d4b
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0xa3fe5
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov edi, dword [esp + 0x20]
jne 0xa3eed
lea eax, [esp + 0x35]
mov dword [esp + 0x14], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0xa417d
movsx edx, cl
mov eax, edi
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0xa3ddf
mov eax, edx
cmp dword [ebp + 8], 0
jne 0xa3de7
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0xa3e8b
mov ecx, eax
and ecx, 3
je 0xa3ed0
mov dword [esp + 0x20], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 0x14]
lea ebx, [edi + 1]
mov dword [esp + 0x14], ebx
movzx ebx, byte [edi]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0xa3e10
add esi, edx
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x20]
cmp eax, 4
jb 0xa3e8b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0xa3e40
cmp dword [ebp + 8], 0
je 0xa3dc0
mov eax, esi
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x200
jl 0xa3dc0
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0xa42ee
mov esi, eax
mov edi, eax
jmp 0xa3dc0
mov ecx, eax
cmp eax, 4
jae 0xa3e40
jmp 0xa3e8b
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp]
je 0xa3dad
mov eax, edi
sub eax, esi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0xa3efe
mov edx, eax
cmp dword [ebp + 8], 0
jne 0xa3f06
mov edx, ecx
test edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp], edx
je 0xa3f50
mov eax, esi
and eax, 3
je 0xa3f50
mov dword [esp + 0x20], edi
mov edi, esi
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0xa3f2c
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.000ad780
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
mov edi, dword [esp + 0x20]
cmp ebx, 4
jl 0xa3f7c
jmp 0xa3f60
mov ebx, edx
cmp ebx, 4
jl 0xa3f7c
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esi], 0x30303030
mov eax, ebx
and eax, 0xfffffffb
add eax, eax
xor ebx, 4
sub eax, ebx
add esi, 4
mov ebx, eax
cmp eax, 3
jg 0xa3f60
test ebx, ebx
je 0xa3f8e
push ebx
push 0x30
push esi
call fcn.000ad780
add esp, 0xc
add esi, ebx
cmp dword [ebp + 8], 0
je 0xa3ee0
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0xa3ee0
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0xa42ee
mov esi, eax
mov edi, eax
jmp 0xa3ee0
mov esi, eax
mov dword [esp + 0x20], eax
mov edx, edi
mov edi, ebx
mov ecx, dword [esp]
sub ecx, edi
je 0xa3d9d
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, 0x200
mov edi, ecx
cmp ecx, eax
jl 0xa3ff8
mov edi, eax
cmp dword [ebp + 8], 0
jne 0xa4000
mov edi, ecx
cmp edi, 4
mov dword [esp], ecx
jl 0xa4060
lea ebx, [edi - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0xa4064
mov dword [esp + 0x18], ebx
shl eax, 2
mov ebx, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + edx]
mov dword [esi + edx], ecx
add edx, 4
cmp eax, edx
jne 0xa4030
add esi, edx
mov ecx, edi
sub ecx, edx
add ebx, edx
mov eax, ecx
mov edx, ebx
mov ebx, dword [esp + 0x18]
cmp ebx, 0x1c
jae 0xa4070
jmp 0xa40b1
mov eax, edi
jmp 0xa40b1
mov ecx, edi
cmp ebx, 0x1c
jb 0xa40b1
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
lea eax, [ecx - 0x20]
add edx, 0x20
add esi, 0x20
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0xa4070
test eax, eax
je 0xa4131
mov ecx, eax
and ecx, 7
je 0xa4170
mov dword [esp + 0x18], edi
mov edi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0xa40d0
add esi, edx
mov ecx, eax
sub ecx, edx
add edi, edx
mov edx, edi
mov edi, dword [esp + 0x18]
cmp eax, 8
jb 0xa4131
nop
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [esi + 7], al
add esi, 8
add ecx, 0xfffffff8
jne 0xa40f0
cmp dword [ebp + 8], 0
je 0xa3fda
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0xa3fda
mov ebx, edi
mov edi, edx
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0xa3fd0
jmp 0xa42ee
mov ecx, eax
cmp eax, 8
jae 0xa40f0
jmp 0xa4131
test byte [esp + 8], 1
je 0xa4191
cmp dword [esp + 0x3c], 0
jle 0xa4191
mov ecx, dword [esp + 0x3c]
jne 0xa41a8
mov ebx, dword [esp + 0x4c]
inc ebx
jmp 0xa1c3d
mov ecx, dword [esp + 0x3c]
sub ecx, edx
je 0xa4191
mov eax, edi
sub eax, esi
add eax, 0x200
mov edx, ecx
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jl 0xa41bd
mov edx, eax
cmp dword [ebp + 8], 0
jne 0xa41c7
mov edx, dword [esp + 0x3c]
test edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x20], edi
je 0xa4210
mov eax, esi
and eax, 3
je 0xa4210
mov ebx, esi
not ebx
and ebx, 3
lea edi, [edx - 1]
cmp ebx, edi
jb 0xa41ea
mov ebx, edi
lea eax, [ebx + 1]
push eax
push 0x20
push esi
call fcn.000ad780
add esp, 0xc
add esi, ebx
inc esi
sub edi, ebx
cmp edi, 4
jge 0xa4217
jmp 0xa4247
mov edi, edx
cmp edi, 4
jl 0xa4247
mov eax, edi
cmp edi, 7
jl 0xa4223
mov eax, 7
neg eax
lea ebx, [edi + eax]
add ebx, 3
and ebx, 0xfffffffc
lea eax, [ebx + 4]
push eax
push 0x20
push esi
call fcn.000ad780
add esp, 0xc
add esi, ebx
add esi, 4
sub edi, ebx
add edi, 0xfffffffc
test edi, edi
je 0xa4259
push edi
push 0x20
push esi
call fcn.000ad780
add esp, 0xc
add esi, edi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
cmp dword [ebp + 8], 0
je 0xa41a0
mov eax, esi
sub eax, edi
cmp eax, 0x1ff
jl 0xa41a0
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0xa42ee
mov esi, eax
mov edi, eax
mov edx, dword [esp + 8]
jmp 0xa41a0
lea eax, [esp + 0x45]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
jmp 0xa3d91
cmp dword [ebp + 8], 0
je 0xa42f4
mov eax, esi
sub eax, edi
test eax, eax
jle 0xa42f7
add dword [esp + 0x2c], eax
push eax
push dword [ebp + 0xc]
push edi
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov edi, eax
jmp 0xa42f7
xor esi, esi
xor edi, edi
jmp 0xa42f7
mov byte [esi], 0
mov eax, edi
xor eax, esi
mov ecx, dword [esp + 0x2c]
sub ecx, eax
not edi
and edi, esi
lea eax, [ecx + edi*2]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret