Function at 0x1005ccb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b7be
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100a8080]
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 - 0x80], edi
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x41
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005cd10
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10005240
mov dword [ebp - 4], 0
mov esi, dword [edi + 0x1b4]
test esi, esi
je 0x1005cd50
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005cd50
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005cd8b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005cd81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d596
push ecx
push edx
call fcn.100675d1
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x21
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005cdb0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10005240
mov dword [ebp - 4], 1
mov esi, dword [edi + 0x1b8]
test esi, esi
je 0x1005cdf0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005cdf0
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005ce2b
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ce21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d59b
push ecx
push edx
call fcn.100675d1
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x74
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005ce50
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10005240
mov dword [ebp - 4], 2
mov esi, dword [edi + 0x1bc]
test esi, esi
je 0x1005ce90
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005ce90
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call dword [0x1009df98]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005cecb
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005cec1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5a0
push ecx
push edx
call fcn.100675d1
add esp, 8
mov ecx, dword [edi + 0x198]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test ecx, ecx
jne 0x1005ceeb
xor eax, eax
jmp 0x1005cf02
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x1009df18]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1005d55a
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
cmp dword [eax], 0
mov ecx, dword [edi + 0x198]
mov dword [ebp - 0x30], ecx
je 0x1005d014
test ecx, ecx
je 0x1005d014
mov eax, 0x12e0be83
mov esi, ecx
mul ecx
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x1005d014
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x1005d014
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d014
mov eax, 0x10624dd3
mul dword [ebp - 0x30]
shr edx, 6
sub esi, edx
imul eax, esi, 0x3e8
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call dword [0x1009df1c]
mov dword [ebp - 0x30], eax
mov esi, eax
test eax, eax
je 0x1005d016
cmp dword [eax + 0x3c], 0
je 0x1005d016
push dword [edi + 0x198]
xor edx, edx
lea ecx, [ebp - 0x78]
push eax
call fcn.1000b1e0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x1005d00f
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d005
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5a5
push ecx
push edx
call fcn.100675d1
add esp, 8
mov esi, dword [ebp - 0x30]
jmp 0x1005d069
xor esi, esi
push dword [edi + 0x198]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x78]
push 0
call fcn.1000b1e0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x1005d069
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d05f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5aa
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + 0x1bc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1005d090
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d090
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x1009df98]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x78]
push esi
call fcn.1000b5b0
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x1ac]
test esi, esi
je 0x1005d0c8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d0c8
push dword [ebp - 0x30]
mov ecx, esi
call dword [0x1009dfc8]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x1005d100
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d0f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5af
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + 0x1a4]
cmp eax, 1
jne 0x1005d244
mov edx, dword [edi + 0x1a0]
push ecx
lea ecx, [ebp - 0x78]
call fcn.1000e990
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1005d12d
mov eax, dword [eax]
movaps xmm0, xmmword [0x1009ffe0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0xa5c
mov byte [ebp - 0x32], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x1005d145
sub esp, 0x18
mov byte [ebp - 0x32], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea esi, [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 0x1005d175
sub ecx, esi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x60]
push eax
call fcn.10004de0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov esi, dword [edi + 0x1b4]
test esi, esi
je 0x1005d1bf
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d1bf
push dword [ebp - 0x30]
mov ecx, esi
call dword [0x1009dfc8]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1005d1f7
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d1ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b4
push ecx
push edx
call fcn.100675d1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1005d342
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d338
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b4
jmp 0x1005d338
cmp eax, 2
jne 0x1005d342
mov edx, dword [edi + 0x1a0]
push ecx
lea ecx, [ebp - 0x78]
call fcn.1000e990
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1005d26b
mov eax, dword [eax]
movaps xmm0, xmmword [0x1009fde0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x34], 0x1640
mov byte [ebp - 0x32], 0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x11
jb 0x1005d283
sub esp, 0x18
mov byte [ebp - 0x32], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea esi, [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 0x1005d2b3
sub ecx, esi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x60]
push eax
call fcn.10004de0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov esi, dword [edi + 0x1b4]
test esi, esi
je 0x1005d2fd
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d2fd
push dword [ebp - 0x30]
mov ecx, esi
call dword [0x1009dfc8]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1005d1f7
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d1ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b4
jmp 0x1005d1ed
push ecx
push edx
call fcn.100675d1
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
mov edx, dword [edi + 0x19c]
call fcn.1000f790
mov ecx, dword [ebp - 0x50]
mov eax, 3
mov edi, ecx
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1005d3da
nop dword [eax]
mov edx, edi
sub edx, eax
cmp ecx, edx
jb 0x1005d5b9
mov esi, dword [ebp - 0x4c]
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x1005d3b1
lea eax, [ecx + 1]
cmp esi, 0xf
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
cmova eax, dword [ebp - 0x60]
sub ecx, edx
inc ecx
push ecx
lea esi, [eax + edx]
lea eax, [esi + 1]
push esi
push eax
call fcn.10069130
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1005d3c7
push 0x2e
push 1
push edx
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x60]
push dword [ebp - 0x30]
push 1
call fcn.1000eb70
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1005d3da
mov ecx, dword [ebp - 0x50]
jmp 0x1005d370
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
movaps xmm0, xmmword [0x100a0330]
cmova eax, dword [ebp - 0x60]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x396f6a
nop word [eax + eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x1005d400
sub esp, 0x18
mov byte [ebp - 0x31], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea esi, [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 0x1005d430
sub ecx, esi
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x78]
push eax
call fcn.10004de0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x80]
mov byte [ebp - 4], 0xa
mov esi, dword [edi + 0x1b8]
test esi, esi
je 0x1005d47d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d47d
push dword [ebp - 0x30]
mov ecx, esi
call dword [0x1009dfc8]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x1005d4b5
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d4ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b4
push ecx
push edx
call fcn.100675d1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp ecx, 0xf
jbe 0x1005d4ff
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d4f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b4
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1005d548
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d53e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b4
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov esi, dword [edi + 0x1a8]
test esi, esi
je 0x1005d57b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d57b
push 1
mov ecx, esi
call dword [0x1009df64]
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.10067570
mov esp, ebp
pop ebp
ret
call fcn.1006cd3b
call fcn.1006cd3b
call fcn.1006cd3b
call fcn.1006cd3b
call fcn.1006cd3b
call fcn.1006cd3b
call fcn.1006cd3b
call fcn.1000ea70
int3