Function at 0x1003ccf0
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 0x1008a36d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x100a8080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movaps xmm0, xmmword [0x100a0230]
xor ecx, ecx
mov dword [esi + 0x140], 0xffffffff
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x6e71747c
mov byte [ebp - 0x44], 0
nop
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x13
jb 0x1003cd50
xorps xmm0, xmm0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x57]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cd80
sub ecx, edx
lea eax, [ebp - 0x57]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005240
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x7c]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1003cdc3
push 4
push eax
call edi
test eax, eax
jne 0x1003cdc3
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003cdfe
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003cdf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d244
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1003ce1c
push 4
push eax
call edi
test eax, eax
jne 0x1003ce1c
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
call dword [0x1009dfd0]
xor al, al
mov byte [ebp - 0x11], al
movzx eax, al
mov dword [ebp - 0x28], eax
mov eax, dword [esi + eax*4 + 0x84]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1003ce48
push 4
push eax
call edi
test eax, eax
jne 0x1003ce48
mov ecx, dword [ebp - 0x24]
push eax
call dword [0x1009df64]
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x59
lea ecx, [ebp - 0x17]
mov byte [ebp - 0x17], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ce70
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005240
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 1
lea eax, [eax + eax*4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + eax*4 + 0xb0]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003ceba
push 4
push eax
call edi
test eax, eax
jne 0x1003ceba
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003cef5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ceeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d244
push ecx
push edx
call fcn.100675d1
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x1b], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cf20
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005240
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 2
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xb4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003cf67
push 4
push eax
call edi
test eax, eax
jne 0x1003cf67
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003cfa2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003cf98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d244
push ecx
push edx
call fcn.100675d1
add esp, 8
mov edi, dword [ebp - 0x24]
mov edi, dword [esi + edi*4 + 0xb8]
test edi, edi
je 0x1003cff7
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003cff7
lea eax, [edi + 0x128]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003cff7
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003cff7
mov ecx, edi
mov dword [edi + 0x128], eax
mov dword [edi + 0x124], eax
call dword [0x1009dfb4]
mov edi, dword [ebp - 0x24]
mov eax, dword [esi + edi*4 + 0xb8]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003d02e
push 4
push eax
call edi
test eax, eax
jne 0x1003d02e
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x1009dfb8]
mov al, byte [ebp - 0x11]
inc al
mov byte [ebp - 0x11], al
cmp al, 4
jb 0x1003ce21
xor al, al
mov byte [ebp - 0x11], al
movzx eax, al
mov dword [ebp - 0x28], eax
mov eax, dword [esi + eax*4 + 0x94]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003d06a
push 4
push eax
call edi
test eax, eax
jne 0x1003d06a
mov ecx, dword [ebp - 0x20]
push eax
call dword [0x1009df64]
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
cmp dword [esi + eax*4 + 0xf8], 0
je 0x1003d164
xorps xmm0, xmm0
mov word [ebp - 0x1c], 0x7e
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x1b], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d0a3
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005240
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 3
lea eax, [ecx + ecx*2]
mov eax, dword [esi + eax*4 + 0xf8]
add eax, 4
mov dword [ebp - 0x20], eax
je 0x1003d0eb
push 4
push eax
call edi
test eax, eax
jne 0x1003d0eb
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
call dword [0x1009df2c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003d126
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d11c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d244
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [ebp - 0x28]
lea edx, [eax + eax*2]
mov eax, dword [esi + edx*4 + 0xf8]
mov dword [eax + 0x60], 0
mov eax, dword [esi + edx*4 + 0xf8]
mov dword [eax + 0x64], 0
mov eax, dword [esi + edx*4 + 0xf8]
mov dword [eax + 0x68], 0
mov eax, dword [esi + edx*4 + 0xf8]
mov dword [eax + 0x6c], 0
xorps xmm0, xmm0
mov word [ebp - 0x18], 5
lea ecx, [ebp - 0x17]
mov byte [ebp - 0x17], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x5c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d190
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10005240
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 4
lea eax, [ecx + ecx*2]
mov eax, dword [esi + eax*4 + 0x100]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003d1d7
push 4
push eax
call edi
test eax, eax
jne 0x1003d1d7
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x70]
push eax
call dword [0x1009df98]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1003d20e
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d204
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d244
push ecx
push edx
call fcn.100675d1
add esp, 8
mov al, byte [ebp - 0x11]
inc al
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x11], al
cmp al, 5
jb 0x1003d043
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.1006cd3b
int3