Function at 0x10065c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov byte [esp + 8], 0xe
mov al, 0x7a
xor al, byte [esp + 8]
mov bh, 0x6c
xor bh, byte [esp + 8]
mov dl, 0x60
push esi
mov esi, ecx
mov byte [esp + 0xe], al
mov al, byte [esp + 0xc]
mov bl, 0x51
mov ah, 0x6a
mov byte [esp + 0x15], 0
mov dh, 0x7c
mov byte [esp + 0xd], bh
mov cl, 0x61
mov byte [esp + 0x15], 0
mov ch, 0x7e
mov dword [esp + 0x38], 0xf
xor dl, al
mov dword [esp + 0x34], 0
xor bl, al
mov byte [esp + 0xf], dl
xor ah, al
mov byte [esp + 0x10], bl
xor dh, al
mov byte [esp + 0x11], ah
xor cl, al
mov byte [esp + 0x12], dh
xor ch, al
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], ch
mov byte [esp + 0x24], 0
push edi
test bh, bh
jne 0x10065c92
xor ecx, ecx
jmp 0x10065ca9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065ca0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.1001b7d0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10065cde
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c8dc0]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x10065cf1
cmp byte [esp + 0x11], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10065d24
xor ecx, ecx
jmp 0x10065d39
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065d30
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.1001b7d0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10065d6e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c8950]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0xb0d0f1c
mov byte [esp + 0x24], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0x13
jb 0x10065d90
cmp byte [esp + 0x11], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10065dc3
xor ecx, ecx
jmp 0x10065dd9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065dd0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.1001b7d0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10065e0e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov cl, 0x11
mov dword [esp + 0x10], 0x7f657311
mov dword [esp + 0x14], 0x7f64774e
xor eax, eax
mov dword [esp + 0x18], 0x62707d72
mov word [esp + 0x1c], 0x62
xor byte [esp + eax + 0x11], cl
inc eax
cmp eax, 0xc
jae 0x10065e41
mov cl, byte [esp + 0x10]
jmp 0x10065e31
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1d], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10065e66
xor ecx, ecx
jmp 0x10065e79
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065e70
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.1001b7d0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10065eae
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov cl, 0x74
mov dword [esp + 0x10], 0x1a001674
mov dword [esp + 0x14], 0x1b182b
xor eax, eax
mov dword [esp + 0x18], 0xd061100
mov byte [esp + 0x1c], 0
nop
xor byte [esp + eax + 0x11], cl
inc eax
cmp eax, 0xb
jae 0x10065ee0
mov cl, byte [esp + 0x10]
jmp 0x10065ed0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10065f05
xor ecx, ecx
jmp 0x10065f19
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065f10
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.1001b7d0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10065f4e
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov eax, dword [0x100db3b8]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test eax, eax
je 0x10065faf
mov eax, dword [eax + 0x18]
test eax, eax
je 0x10065faf
mov ecx, dword [eax]
test ecx, ecx
je 0x10065faf
call fcn.1001b970
mov ebx, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], edx
test ebx, ebx
je 0x10065faf
push 4
push ebx
call edi
test eax, eax
jne 0x10065faf
mov eax, dword [esp + 0x10]
mov ecx, ebx
push 5
add eax, 0x122
push eax
call dword [0x100c6508]
mov ebx, dword [esi]
test ebx, ebx
je 0x10065fcd
push 4
push ebx
call edi
test eax, eax
jne 0x10065fcd
lea ecx, [ebx + 0xd4]
call fcn.1001c540
mov ebx, eax
jmp 0x10065fcf
xor ebx, ebx
mov eax, dword [esi]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10065ff0
push 4
push eax
call edi
test eax, eax
jne 0x10065ff0
mov ecx, dword [esp + 0x10]
or ebx, 0x15
push ebx
call dword [0x100c651c]
mov ebx, dword [esi]
test ebx, ebx
je 0x10066009
push 4
push ebx
call edi
test eax, eax
jne 0x10066009
push 1
mov ecx, ebx
call dword [0x100c6510]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10066022
push 4
push ebx
call edi
test eax, eax
jne 0x10066022
push eax
mov ecx, ebx
call dword [0x100c6510]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x1006603b
push 4
push ebx
call edi
test eax, eax
jne 0x1006603b
push eax
mov ecx, ebx
call dword [0x100c6510]
mov esi, dword [esi + 0xc]
test esi, esi
je 0x10066054
push 4
push esi
call edi
test eax, eax
jne 0x10066054
push eax
mov ecx, esi
call dword [0x100c6510]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret