Function at 0x1001d9c0
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 0x1005e541
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x1007a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor cl, cl
mov byte [ebp - 0x15], cl
nop dword [eax + eax]
movzx edi, cl
lea eax, [edi + edi*2]
shl eax, 3
mov dword [ebp - 0x34], eax
mov ecx, dword [eax + esi + 0x44]
test ecx, ecx
je 0x1001dc22
mov eax, dword [0x10072550]
push ecx
call eax
test eax, eax
je 0x1001dc1f
movaps xmm0, xmmword [0x100737b0]
lea eax, [edi + edi*2]
movzx ecx, word [esi + eax*8 + 0x48]
movzx eax, word [esi + edi*2 + 0x130]
push ecx
push eax
movups xmmword [ebp - 0x44], xmm0
xor ecx, ecx
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x1001da57
sub esp, 0x18
mov byte [ebp - 0x35], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001da90
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xa4]
push eax
call fcn.100043f0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1001dac6
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dae3
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10004850
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov eax, dword [eax + esi + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001db23
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001db23
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1001db5b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001db51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e01a
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1001dbae
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dba4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e01a
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
movzx esi, word [esi + edi*2 + 0x130]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov eax, dword [eax + ecx + 0x54]
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001dfbc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001de35
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x1007259c]
mov esi, dword [ebp - 0x20]
jmp 0x1001dfbe
mov eax, dword [ebp - 0x34]
cmp dword [eax + esi + 0x44], 1
jne 0x1001de3d
cmp byte [eax + esi + 0x4a], 0
je 0x1001de3d
lea eax, [edi + edi*2]
mov byte [ebp - 0x30], 0x16
movzx ecx, word [esi + eax*8 + 0x48]
mov dl, 0x36
movzx eax, word [esi + edi*2 + 0x130]
xorps xmm0, xmm0
push ecx
push eax
mov al, 0x33
mov byte [ebp - 0x28], 0
mov dh, al
mov byte [ebp - 0x28], 0
xor al, byte [ebp - 0x30]
mov cl, 0x72
mov byte [ebp - 0x2f], al
mov ch, dl
mov al, byte [ebp - 0x30]
mov ah, 0x39
xor dl, al
mov byte [ebp - 0x21], cl
xor cl, al
mov byte [ebp - 0x2d], dl
xor ch, al
mov byte [ebp - 0x2e], cl
xor dh, al
mov byte [ebp - 0x2b], ch
xor ah, al
mov byte [ebp - 0x2a], dh
mov al, byte [ebp - 0x21]
lea ecx, [ebp - 0x2f]
xor al, byte [ebp - 0x30]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0x2c], ah
mov byte [ebp - 0x29], al
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dcb2
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xbc]
push eax
call fcn.100043f0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1001dce8
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dd05
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.10004850
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
mov eax, dword [esi + eax + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001dd45
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001dd45
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1001dd7d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001dd73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e01a
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x1001ddd0
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ddc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e01a
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [edi + edi*2]
movzx esi, word [esi + edi*2 + 0x130]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov eax, dword [ecx + eax*8 + 0x54]
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001dfbc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001de35
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x1007259c]
mov esi, dword [ebp - 0x20]
jmp 0x1001dfbe
lea eax, [edi + edi*2]
mov word [ebp - 0x1c], 3
movzx eax, word [esi + eax*8 + 0x48]
lea ecx, [ebp - 0x1b]
push eax
sub esp, 0x18
mov byte [ebp - 0x1b], 0
mov edx, esp
lea eax, [ecx + 1]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001de72
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xd4]
push eax
call fcn.100043f0
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1001dea8
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dec8
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10004850
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [esi + eax + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001df0e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001df0e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x8c]
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1001df49
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001df3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e01a
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1001df9f
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001df95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e01a
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
jmp 0x1001dfbe
mov esi, ecx
mov ax, word [esi + edi*2 + 0x130]
lea ecx, [edi + edi*2]
cmp ax, word [esi + ecx*8 + 0x48]
jb 0x1001dff5
lea eax, [edi + edi*2]
mov edi, dword [esi + eax*8 + 0x50]
test edi, edi
je 0x1001dff5
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001dff5
push 0xff80ff00
mov ecx, edi
call dword [0x100725ac]
mov cl, byte [ebp - 0x15]
inc cl
mov byte [ebp - 0x15], cl
cmp cl, 3
jb 0x1001da10
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
call fcn.10041254
int3