Function at 0x10061680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100a8080]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov byte [esp + 4], 0xb
mov al, 0x69
xor al, byte [esp + 4]
mov dl, 0x7f
push esi
mov esi, ecx
mov byte [esp + 9], al
mov al, byte [esp + 8]
mov cl, 0x6f
mov ch, 0x79
mov byte [esp + 0x11], 0
mov dh, 0x64
mov byte [esp + 0x11], 0
push edi
mov bl, 0x65
mov ah, 0x54
mov bh, 0x7b
xor dl, al
xor cl, al
mov byte [esp + 0xe], dl
xor ch, al
mov byte [esp + 0x11], cl
xor dh, al
mov byte [esp + 0x12], ch
xor bl, al
mov byte [esp + 0x13], dh
xor ah, al
mov byte [esp + 0xf], bl
xor bh, al
mov byte [esp + 0x10], ah
sub esp, 0x18
mov byte [esp + 0x2c], bh
mov edx, esp
lea ecx, [esp + 0x25]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10061710
sub ecx, edi
lea eax, [esp + 0x25]
push ecx
push eax
mov ecx, edx
call fcn.10005240
mov ecx, dword [esi]
call fcn.10011100
movaps xmm0, xmmword [0x1009fc10]
add esp, 0x18
mov dword [esi + 0x10], eax
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x10061746
sub esp, 0x18
mov byte [esp + 0x34], 0
mov edx, esp
lea ecx, [esp + 0x25]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10061780
sub ecx, edi
lea eax, [esp + 0x25]
push ecx
push eax
mov ecx, edx
call fcn.10005240
mov ecx, dword [esi]
call fcn.10011100
movaps xmm0, xmmword [0x1009fe60]
add esp, 0x18
mov dword [esi + 0x14], eax
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x72747665
mov byte [esp + 0x20], 0
nop
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x13
jb 0x100617c0
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
lea ecx, [esp + 0x25]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100617f3
sub ecx, edi
lea eax, [esp + 0x25]
push ecx
push eax
mov ecx, edx
call fcn.10005240
mov ecx, dword [esi]
call fcn.10011100
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x7b
mov dword [esp + 0xc], 0x150f197b
mov dword [esp + 0x10], 0x150e1d24
xor eax, eax
mov dword [esp + 0x14], 0x81a1718
mov word [esp + 0x18], 8
nop dword [eax]
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x10061850
mov cl, byte [esp + 0xc]
jmp 0x10061840
sub esp, 0x18
mov byte [esp + 0x31], 0
mov edx, esp
lea ecx, [esp + 0x25]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10061875
sub ecx, edi
lea eax, [esp + 0x25]
push ecx
push eax
mov ecx, edx
call fcn.10005240
mov ecx, dword [esi]
call fcn.10011100
add esp, 0x18
mov dword [esi + 8], eax
mov cl, 0x5b
mov dword [esp + 0xc], 0x352f395b
mov dword [esp + 0x10], 0x2f343704
xor eax, eax
mov dword [esp + 0x14], 0x22293e2f
mov byte [esp + 0x18], 0
nop dword [eax]
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xb
jae 0x100618d0
mov cl, byte [esp + 0xc]
jmp 0x100618c0
sub esp, 0x18
mov byte [esp + 0x30], 0
mov edx, esp
lea ecx, [esp + 0x25]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100618f5
sub ecx, edi
lea eax, [esp + 0x25]
push ecx
push eax
mov ecx, edx
call fcn.10005240
mov ecx, dword [esi]
call fcn.10011100
mov ebx, dword [0x100acf4c]
add esp, 0x18
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esi + 0xc], eax
test ebx, ebx
je 0x1006197e
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1006197e
mov ebx, dword [ebx]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ebx, ebx
je 0x1006195b
push 4
push ebx
call edi
test eax, eax
jne 0x1006195b
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call dword [0x1009df58]
mov ebx, dword [esi]
test ebx, ebx
je 0x1006197e
push 4
push ebx
call edi
test eax, eax
jne 0x1006197e
mov eax, dword [esp + 0x28]
mov ecx, ebx
push 5
add eax, 0xf5
push eax
call dword [0x1009df5c]
mov ebx, dword [esi]
test ebx, ebx
je 0x10061997
push 4
push ebx
call edi
test eax, eax
jne 0x10061997
push 0x14
mov ecx, ebx
call dword [0x1009df78]
mov ebx, dword [esi]
test ebx, ebx
je 0x100619b0
push 4
push ebx
call edi
test eax, eax
jne 0x100619b0
push 1
mov ecx, ebx
call dword [0x1009df64]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x100619c9
push 4
push ebx
call edi
test eax, eax
jne 0x100619c9
push eax
mov ecx, ebx
call dword [0x1009df64]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x100619e2
push 4
push ebx
call edi
test eax, eax
jne 0x100619e2
push eax
mov ecx, ebx
call dword [0x1009df64]
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100619fb
push 4
push esi
call edi
test eax, eax
jne 0x100619fb
push eax
mov ecx, esi
call dword [0x1009df64]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10067570
mov esp, ebp
pop ebp
ret