Function at 0x10066c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov bh, 0x29
mov byte [esp + 0xa], 0x25
mov byte [esp + 0xb], bh
mov al, 0x26
mov bh, byte [esp + 0xa]
mov dl, 0x34
push esi
mov esi, ecx
mov byte [esp + 0x10], 0x47
xor bh, byte [esp + 0x10]
mov ch, al
xor al, byte [esp + 0x10]
mov bl, 0x22
mov byte [esp + 0xe], bh
mov ah, 0x18
mov byte [esp + 0x11], bh
mov dh, 0x24
mov bh, byte [esp + 0xf]
mov cl, 0x2b
mov byte [esp + 0x12], al
mov al, byte [esp + 0x10]
xor dl, al
mov byte [esp + 0x1a], 0
xor bl, al
mov byte [esp + 0x13], dl
xor ah, al
mov byte [esp + 0x14], bl
xor dh, al
mov byte [esp + 0x15], ah
xor cl, al
mov byte [esp + 0x16], dh
xor ch, al
mov byte [esp + 0x17], cl
xor bh, al
mov byte [esp + 0x18], ch
cmp byte [esp + 0xe], 0
push edi
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10066cc0
xor ecx, ecx
jmp 0x10066cd0
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066cc7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10066d05
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c9250]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
nop dword [eax + eax]
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x10066d20
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10066d53
xor ecx, ecx
jmp 0x10066d69
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066d60
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10066d9f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c9070]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x10066db2
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10066de5
xor ecx, ecx
jmp 0x10066df9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066df0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10066e2f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c91f0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0xd
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x10066e44
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10066e77
xor ecx, ecx
jmp 0x10066e89
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066e80
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10066ebf
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c91b0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0xc
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x10066ed4
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10066f07
xor ecx, ecx
jmp 0x10066f19
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066f10
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10066f4f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [0x100c9420]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x10066f62
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10066f95
xor ecx, ecx
jmp 0x10066fa9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066fa0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10066fdf
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
movaps xmm0, xmmword [str.0Y_WoSQo_QB_o]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov byte [esp + 0x24], 0
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0xf
jb 0x10066ff2
cmp byte [esp + 0x15], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10067025
xor ecx, ecx
jmp 0x10067039
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067030
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1006706f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov bh, 0x5b
mov byte [esp + 0x12], 3
mov byte [esp + 0x13], bh
mov al, 7
mov bh, byte [esp + 0x12]
mov dl, 0x35
mov byte [esp + 0x14], 0x6a
mov dh, dl
xor bh, byte [esp + 0x14]
mov cl, 0xd
xor al, byte [esp + 0x14]
mov bl, 0xb
mov byte [esp + 0x12], bh
mov ah, 0xe
mov byte [esp + 0x15], bh
mov ch, 0x1c
mov bh, byte [esp + 0x13]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x14]
xor cl, al
mov byte [esp + 0x1e], 0
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
xor bh, al
mov byte [esp + 0x1c], dh
cmp byte [esp + 0x12], 0
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x10067101
xor ecx, ecx
jmp 0x10067111
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067108
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10067147
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov bh, 0x47
mov byte [esp + 0x12], 0x1c
mov byte [esp + 0x13], bh
mov al, 0x18
mov bh, byte [esp + 0x12]
mov dl, 0x2a
mov byte [esp + 0x14], 0x75
mov dh, dl
xor bh, byte [esp + 0x14]
mov cl, 0x12
xor al, byte [esp + 0x14]
mov bl, 0x14
mov byte [esp + 0x12], bh
mov ah, 0x11
mov byte [esp + 0x15], bh
mov ch, 3
mov bh, byte [esp + 0x13]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x14]
xor cl, al
mov byte [esp + 0x1e], 0
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
xor bh, al
mov byte [esp + 0x1c], dh
cmp byte [esp + 0x12], 0
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x100671d9
xor ecx, ecx
jmp 0x100671e9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100671e0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1006721f
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov edi, dword [esi + 0x20]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10067242
push 4
push edi
call eax
test eax, eax
jne 0x1006723d
push eax
mov ecx, edi
call dword [0x100c681c]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [esi + 0x24]
test edi, edi
je 0x1006725b
push 4
push edi
call eax
test eax, eax
jne 0x1006725b
push eax
mov ecx, edi
call dword [0x100c681c]
mov dl, 0x7c
mov byte [esp + 0x12], 0x7b
mov bh, dl
mov byte [esp + 0x14], 0x19
mov byte [esp + 0x13], bh
mov al, 0x78
mov bh, byte [esp + 0x12]
mov cl, 0x6a
xor bh, byte [esp + 0x14]
mov bl, 0x46
xor al, byte [esp + 0x14]
mov ah, 0x6d
mov byte [esp + 0x12], bh
mov ch, 0x70
mov byte [esp + 0x15], bh
mov dh, 0x74
mov bh, byte [esp + 0x13]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x14]
xor cl, al
mov byte [esp + 0x1e], 0
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
xor bh, al
mov byte [esp + 0x1c], dh
cmp byte [esp + 0x12], 0
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x100672ed
xor ecx, ecx
jmp 0x100672fd
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100672f4
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x10067333
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov al, 0x6d
mov byte [esp + 0x14], 0x19
mov bl, al
mov byte [esp + 0x1d], 0
xor al, byte [esp + 0x14]
mov bh, 0x6a
xor bh, byte [esp + 0x14]
mov cl, 0x6b
mov byte [esp + 0x16], al
mov dl, 0x46
mov al, byte [esp + 0x14]
mov ah, 0x70
mov ch, 0x74
mov byte [esp + 0x15], bh
mov dh, 0x7c
mov byte [esp + 0x1d], 0
xor cl, al
mov dword [esp + 0x3c], 0xf
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
mov byte [esp + 0x1c], dh
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test bh, bh
jne 0x100673a7
xor ecx, ecx
jmp 0x100673b9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100673b0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.10002840
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x28]
call fcn.1001b710
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x100673ef
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.10002720
mov edi, dword [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1006740e
push 4
push edi
call ebx
test eax, eax
jne 0x1006740e
push eax
mov ecx, edi
call dword [0x100c681c]
mov esi, dword [esi]
test esi, esi
je 0x10067427
push 4
push esi
call ebx
test eax, eax
jne 0x10067427
push 0x14
mov ecx, esi
call dword [0x100c682c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret