Function at 0x1001a670
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052b40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x10068040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [ebx + 8]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x1c], 0
mov word [esi + 0x28], ax
jne 0x1001a826
mov byte [ebp - 0x24], 0x50
mov cl, 0x39
xor cl, byte [ebp - 0x24]
mov al, 3
xor al, byte [ebp - 0x24]
mov dl, 0x35
mov byte [ebp - 0x23], al
mov ch, dl
mov byte [ebp - 0x22], cl
mov dh, 0x70
mov cl, byte [ebp - 0x24]
mov ah, 0x37
mov byte [ebp - 0x11], 0x13
xor dl, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x3c
mov byte [ebp - 0x1d], al
xor dh, cl
mov al, byte [ebp - 0x12]
xor ah, cl
xor al, cl
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x1c], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x13]
xor al, cl
mov byte [ebp - 0x14], 0x3e
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x14]
xor al, cl
mov byte [ebp - 0x1f], ch
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x1e], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x20], ah
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a750
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10001790
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001a7f2
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001a7f2
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a791
sub ecx, edx
mov dword [ebp - 0x2c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
push esi
mov edi, eax
push 0
push edi
call fcn.10039ec0
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
push dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x48]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x2c]
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062334]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x48]
add esp, 4
mov eax, dword [ebp - 0x34]
cmp eax, 0xf
jbe 0x1001a8d4
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1001a81f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a91f
push ecx
push esi
jmp 0x1001a8cc
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
movaps xmm0, xmmword [0x100626a0]
cmova eax, dword [ebx + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x2c
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x1001a845
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x27]
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 0x1001a875
sub ecx, edi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.10001790
lea eax, [ebp - 0x48]
push eax
call fcn.10009170
add esp, 0x20
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [esi + 0x10]
call fcn.1000e4b0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001a8d4
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a8ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a91a
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [ebx + 0x20]
cmp ecx, 0xf
jbe 0x1001a904
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a8fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a91f
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
call fcn.1003cf4f
call fcn.1003cf4f
int3