Function at 0x1001a0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fa0d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10083040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0x55c
sub eax, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], eax
xorps xmm0, xmm0
sar eax, 2
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1001a14b
push eax
lea ecx, [ebp - 0x1c]
call fcn.100139d0
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.1004f0c0
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
sub esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
mov dword [ebp - 0x20], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x1001a1a7
push eax
mov ecx, esi
call fcn.100139d0
mov edi, dword [esi]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub esi, eax
push esi
push eax
push edi
call fcn.1004f0c0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov edi, dword [ebp - 0x24]
mov dword [ecx + 4], eax
call fcn.10011410
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x1001a295
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001a295
movaps xmm0, xmmword [0x1007c390]
xor ecx, ecx
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x5e446852
mov dword [ebp - 0x2c], 0x43564243
mov dword [ebp - 0x28], 0x59585e
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x1a
jb 0x1001a1f4
sub esp, 0x18
mov byte [ebp - 0x25], 0
mov ecx, esp
lea edx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x1001a224
sub edx, esi
lea eax, [ebp - 0x3f]
push edx
push eax
call fcn.10002130
mov ecx, dword [ebp - 0x24]
call fcn.100110a0
mov edx, dword [ebp - 0x1c]
add esp, 0x18
mov dword [edi + 4], eax
test edx, edx
je 0x1001a278
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1001a26e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a2c4
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d4c5
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov dword [edi], 0
test edx, edx
je 0x1001a278
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1001a26e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a26e
call fcn.100527f4
int3