Function at 0x1001d7ff
Capabilities:
Encode data using xor

Disassembly:
push 0xf4
mov eax, 0x1003f6d4
call fcn.1003d7b1
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x10057a8c], eax
test ecx, ecx
je 0x1001dfd4
xor eax, eax
inc eax
cmp dword [ebp + 0xc], eax
jne 0x1001dfd4
cmp dword [0x10057860], 0
je 0x1001dfd4
cmp dword [esi + 4], 0
je 0x1001d852
cmp ecx, dword [esi + 4]
jne 0x1001d852
mov ecx, esi
call fcn.1001e780
jmp 0x1001dfcf
mov eax, dword [esi + 0x138]
test eax, eax
je 0x1001d874
cmp ecx, eax
jne 0x1001d874
mov eax, dword [esi + 0x144]
xor edx, edx
inc edx
cmp eax, edx
jle 0x1001dfcf
dec eax
jmp 0x1001d895
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x1001d8ab
cmp ecx, eax
jne 0x1001d8ab
mov eax, dword [esi + 0x144]
cmp eax, dword [esi + 0x148]
jge 0x1001dfcf
inc eax
mov dword [esi + 0x144], eax
mov ecx, esi
movzx eax, al
push eax
call fcn.1001f607
jmp 0x1001dfcf
mov eax, dword [esi + 0x15c]
sub eax, dword [esi + 0x158]
push 0x68
pop edi
cdq
idiv edi
mov dword [ebp - 0xd0], edi
test eax, eax
je 0x1001dfcf
movups xmm0, xmmword [0x1004cca0]
push 4
lea eax, [esi + 0x1c]
xor edi, edi
pop edx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], edx
cmp dword [eax + 0x14], 0
je 0x1001dfb7
cmp ecx, dword [eax + 0x14]
jne 0x1001dfb7
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [esi + 0x158]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x15c]
sub eax, edi
cdq
idiv dword [ebp - 0xd0]
mov dword [ebp - 0x64], eax
test eax, eax
jle 0x1001dfa6
mov eax, dword [ebp - 0x68]
lea edx, [edi + 0x18]
cmp dword [edx], eax
je 0x1001d938
inc ecx
add edx, 0x68
cmp ecx, dword [ebp - 0x64]
jl 0x1001d926
jmp 0x1001dfa6
or dword [ebp - 0x64], 0xffffffff
mov dword [esi + 0x140], eax
imul eax, ecx, 0x68
mov dword [ebp - 0x60], eax
cmp byte [eax + edi + 0x65], 2
jne 0x1001d9b9
xor eax, eax
mov dword [ebp - 0x17], 0xe0f0914
inc eax
mov word [ebp - 0x13], 0x3d
xor edx, edx
mov byte [ebp - 0x18], al
movups xmmword [ebp - 0x28], xmm0
mov ecx, edx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x1001d96a
lea eax, [ebp - 0x27]
mov byte [ebp - 0x12], dl
push eax
lea ecx, [ebp - 0xcc]
call fcn.10003d99
xor ecx, ecx
lea edx, [ebp - 0xcc]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x7c]
call fcn.1000d114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10003b97
mov dword [ebp - 0x64], 0xff808080
mov edx, 0xff5cb9fe
jmp 0x1001da38
xor edx, edx
mov dword [ebp - 0xac], 0x4e757b20
mov cl, 0x20
mov dword [ebp - 0xa8], 0x524544
mov dword [ebp - 0xa4], 0x7d594157
mov eax, edx
mov byte [ebp - 0xa0], dl
xor byte [ebp + eax - 0xab], cl
inc eax
cmp eax, 0xb
jae 0x1001d9f8
mov cl, byte [ebp - 0xac]
jmp 0x1001d9e3
lea eax, [ebp - 0xab]
mov byte [ebp - 0xa0], dl
push eax
lea ecx, [ebp - 0xcc]
call fcn.10003d99
xor eax, eax
lea edx, [ebp - 0xcc]
inc eax
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x7c]
call fcn.1000d114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10003b97
mov edx, 0xffc4fc03
mov ecx, dword [esi + 0x7c]
call fcn.1000d15a
mov ecx, dword [ebp - 0x60]
lea eax, [esi + 0x84]
add ecx, 0x58
mov dword [ebp - 0x70], 0x48
lea edi, [esi + 0xa8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x68], 4
mov eax, dword [esi + 0x158]
xor edx, edx
cmp word [ecx + eax - 0x10], dx
je 0x1001dd7c
mov cl, 0x29
mov dword [ebp - 0x84], 0x42477c29
mov dword [ebp - 0x80], 0x475e4647
mov eax, edx
mov byte [ebp - 0x7c], dl
xor byte [ebp + eax - 0x83], cl
inc eax
cmp eax, 7
jae 0x1001daa9
mov cl, byte [ebp - 0x84]
jmp 0x1001da94
lea eax, [ebp - 0x83]
mov byte [ebp - 0x7c], dl
push eax
lea ecx, [ebp - 0x28]
call fcn.10003d99
xor eax, eax
mov dword [ebp - 4], 2
mov word [ebp - 0x4c], 0x6a
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x4b], al
lea eax, [ebp - 0x4b]
push eax
call fcn.10003d99
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x158]
add eax, dword [ebp - 0x60]
movzx ecx, word [eax + ecx]
call fcn.10008491
test eax, eax
je 0x1001db16
add eax, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.1000743d
mov ecx, dword [edi]
xor eax, eax
lea edx, [eax + 1]
call fcn.1000c8aa
mov ecx, dword [edi + 4]
jmp 0x1001dc20
mov eax, dword [esi + 0x158]
xor edx, edx
mov ecx, dword [ebp - 0x6c]
inc edx
cmp word [ecx + eax - 0x10], dx
jne 0x1001dc27
cmp byte [0x100578dc], 0
mov eax, dword [0x10057860]
mov dword [ebp - 0x5c], eax
je 0x1001db80
mov ecx, 0x10b8134
call fcn.1000d24b
mov edi, eax
test edi, edi
je 0x1001db7a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001db7a
push 4
add edi, 0x6dc
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001db7a
mov ecx, dword [ebp - 0x5c]
mov al, byte [edi]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1001db7d
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x44]
xor ecx, ecx
xor edx, edx
inc ecx
cmp byte [eax + 0x38], cl
mov eax, edx
jne 0x1001dbce
mov cl, 0x66
mov dword [ebp - 0x9c], 0x460a2366
mov dword [ebp - 0x98], 0x714092b
mov word [ebp - 0x94], 2
xor byte [ebp + eax - 0x9b], cl
inc eax
cmp eax, 8
jae 0x1001dbc0
mov cl, byte [ebp - 0x9c]
jmp 0x1001dbab
mov byte [ebp - 0x93], dl
lea edx, [ebp - 0x9b]
jmp 0x1001dbf5
mov cl, 0x3f
mov dword [ebp - 0x78], 0x4d5e743f
mov word [ebp - 0x74], 0x4c4a
mov byte [ebp - 0x72], dl
xor byte [ebp + eax - 0x77], cl
inc eax
cmp eax, 5
jae 0x1001dbef
mov cl, byte [ebp - 0x78]
jmp 0x1001dbe0
mov byte [ebp - 0x72], dl
lea edx, [ebp - 0x77]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dbfd
sub ecx, dword [ebp - 0x44]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003b04
mov ecx, dword [edi + 4]
xor eax, eax
lea edx, [eax + 1]
call fcn.1000c8aa
mov ecx, dword [edi]
xor dl, dl
call fcn.1000c8aa
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.10003d99
mov byte [ebp - 4], 4
lea edx, [ebp - 0xcc]
mov ecx, dword [edi + 8]
call fcn.1000d114
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.10003b97
mov edx, dword [ebp - 0x64]
mov ecx, dword [edi + 8]
call fcn.1000d15a
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 0x158]
mov dword [ebp - 0x90], 0x37733217
mov dword [ebp - 0x8c], 0x73323738
movzx ecx, word [edx + eax]
movzx eax, word [edx + eax - 8]
xor edx, edx
push ecx
push eax
mov cl, 0x17
mov byte [ebp - 0x88], dl
mov eax, edx
xor byte [ebp + eax - 0x8f], cl
inc eax
cmp eax, 7
jae 0x1001dcb3
mov cl, byte [ebp - 0x90]
jmp 0x1001dc9e
sub esp, 0x18
mov byte [ebp - 0x88], dl
lea eax, [ebp - 0x8f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x100]
push eax
call fcn.100039e2
add esp, 0x24
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1001dce5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xcc]
call fcn.10003d99
mov byte [ebp - 4], 6
lea edx, [ebp - 0xcc]
mov ecx, dword [edi + 0xc]
call fcn.1000d114
lea ecx, [ebp - 0xcc]
call fcn.10003b97
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 3
call fcn.10003b97
mov eax, dword [esi + 0x158]
mov ecx, dword [ebp - 0x6c]
movzx eax, word [ecx + eax]
mov ecx, dword [edi + 0x10]
push eax
call fcn.1000cf5d
mov eax, dword [esi + 0x158]
xorps xmm3, xmm3
pop ecx
mov ecx, dword [ebp - 0x6c]
xorps xmm2, xmm2
movzx eax, word [ecx + eax - 8]
mov ecx, dword [edi + 0x10]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1000cfb2
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
call fcn.1000c8aa
lea ecx, [ebp - 0x40]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b97
jmp 0x1001dd88
mov ecx, dword [ebp - 0x48]
xor dl, dl
mov ecx, dword [ecx]
call fcn.1000c8aa
mov ecx, dword [ebp - 0x6c]
add edi, 0x14
add dword [ebp - 0x70], 2
add ecx, 2
add dword [ebp - 0x48], 4
sub dword [ebp - 0x68], 1
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x44], edi
jne 0x1001da69
mov edx, dword [ebp - 0x60]
lea eax, [esi + 0x94]
add edx, 0x34
mov dword [ebp - 0x44], eax
lea edi, [esi + 0xf8]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x70], 5
mov eax, dword [esi + 0x158]
mov ecx, dword [eax + edx - 0x14]
mov eax, dword [eax + edx]
mov edx, 0x35a4f8a0
mov dword [ebp - 0x68], eax
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
cmovbe ecx, edx
mov dword [ebp - 0x60], ecx
call fcn.100083f8
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1001ded7
xor eax, eax
mov word [ebp - 0x50], 0x44
mov byte [ebp - 0x4f], al
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x4f]
push eax
call fcn.10003d99
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], 7
call fcn.1000841a
xor ecx, ecx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1001de3a
cmp dword [eax + 0x3c], ecx
je 0x1001de3a
push dword [ebp - 0x60]
xor edx, edx
push eax
jmp 0x1001de41
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
call fcn.100084ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b15
lea ecx, [ebp - 0x40]
call fcn.10003b97
mov ecx, dword [edi]
test ecx, ecx
je 0x1001dea1
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.1000a5e0
mov eax, dword [edi]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x60], edx
mov eax, dword [edi]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x64], ecx
mov eax, dword [edi]
mov dword [eax + 0x68], edx
mov edx, dword [ebp - 0x48]
test ecx, ecx
je 0x1001de98
movsx ecx, word [ecx + 0x4e]
movsx eax, word [edx + 0x5e]
add ecx, eax
jmp 0x1001de9c
movsx ecx, word [edx + 0x5e]
mov eax, dword [edi]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edi + 4]
call fcn.1000d137
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x28]
call fcn.1000cd86
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
call fcn.1000c8aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b97
jmp 0x1001df85
mov ecx, dword [ebp - 0x44]
xor dl, dl
mov ecx, dword [ecx]
call fcn.1000c8aa
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.1000d137
xor eax, eax
mov word [ebp - 0x54], 0x6c
mov byte [ebp - 0x53], al
lea ecx, [ebp - 0xcc]
lea eax, [ebp - 0x53]
push eax
call fcn.10003d99
mov dword [ebp - 4], 8
lea edx, [ebp - 0xcc]
mov ecx, dword [edi + 8]
call fcn.1000cd86
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10003b97
xor ecx, ecx
cmp dword [edi], ecx
je 0x1001df85
mov word [ebp - 0x58], 0x31
lea eax, [ebp - 0x57]
mov byte [ebp - 0x57], cl
lea ecx, [ebp - 0xe8]
push eax
call fcn.10003d99
mov dword [ebp - 4], 9
lea edx, [ebp - 0xe8]
mov ecx, dword [edi]
add ecx, 4
call fcn.1000a5e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10003b97
mov eax, dword [edi]
xor ecx, ecx
mov dword [eax + 0x60], ecx
mov eax, dword [edi]
mov dword [eax + 0x64], ecx
mov eax, dword [edi]
mov dword [eax + 0x68], ecx
mov eax, dword [edi]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x64]
add edi, 0xc
add dword [ebp - 0x44], 4
add edx, 4
sub dword [ebp - 0x70], 1
mov dword [ebp - 0x64], edx
jne 0x1001ddc8
movups xmm0, xmmword [0x1004cca0]
mov ecx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb4]
add eax, 0x18
sub edx, 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], edx
jne 0x1001d8e6
xor eax, eax
inc eax
jmp 0x1001dfd6
xor al, al
call fcn.1003d76f
ret 8