Function at 0x1001d200
Capabilities:
Encode data using xor

Disassembly:
push 0xa0
mov eax, 0x100774aa
call fcn.1004605f
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
xor eax, eax
inc eax
cmp dword [0x1009e6f0], 0
je 0x1001d6ae
cmp byte [0x1009a959], 0
je 0x1001d6ae
lea eax, [ebx + 0x10]
push 0xa
mov dword [ebp - 0x50], eax
mov esi, eax
pop eax
mov dword [ebp - 0x34], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1001d25f
xor dl, dl
call fcn.10010276
mov eax, dword [ebp - 0x34]
add esi, 4
sub eax, 1
mov dword [ebp - 0x34], eax
jne 0x1001d24f
mov ecx, dword [ebx + 4]
call dword [0x1008de8c]
mov esi, dword [ebp - 0x70]
mov ax, word [edi]
cmp ax, word [esi]
jb 0x1001d3cf
mov ax, word [edi + 2]
cmp ax, word [esi + 2]
jb 0x1001d3cf
mov ax, word [edi + 4]
cmp ax, word [esi + 4]
jb 0x1001d3cf
mov ax, word [edi + 6]
cmp ax, word [esi + 6]
jb 0x1001d3cf
mov ecx, dword [ebx + 0x10]
call fcn.10010192
mov ecx, dword [ebx + 0xc]
mov edi, edx
call fcn.10010192
mov ecx, dword [ebx + 0x10]
mov esi, eax
call fcn.10010207
mov ecx, dword [ebx + 0xc]
add eax, edi
push eax
mov edx, esi
call fcn.1001022d
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
pop ecx
cmovae eax, dword [ebp + 0x14]
mov cl, 0x49
push eax
mov dword [ebp - 0x30], 0x3a6c49
xor eax, eax
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 2
jae 0x1001d2fc
mov cl, byte [ebp - 0x30]
jmp 0x1001d2ed
sub esp, 0x18
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2f]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0x94]
push eax
call fcn.10007414
add esp, 0x20
xor ecx, ecx
mov edx, eax
inc ecx
mov byte [ebp - 4], cl
mov ecx, dword [ebx + 8]
call fcn.10010c45
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0x94]
push eax
call fcn.10001e1f
movaps xmm0, xmmword [0x1008ecf0]
xor ecx, ecx
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x3f362a37
mov dword [ebp - 0x80], 0x7b3f2e
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x16
jb 0x1001d363
sub esp, 0x18
mov byte [ebp - 0x7d], 0
lea eax, [ebp - 0x93]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xac]
push eax
call fcn.10007414
add esp, 0x1c
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [ebx + 0x38]
call fcn.10010c45
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0xac]
push eax
call fcn.10001e1f
mov ecx, dword [ebx + 0x10]
xor eax, eax
lea edx, [eax + 1]
call fcn.10010276
jmp 0x1001d69e
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
mov cl, 0x75
mov dword [ebp - 0x30], 0x65075
cmovae eax, dword [ebp + 0x14]
push eax
xor eax, eax
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 2
jae 0x1001d3f5
mov cl, byte [ebp - 0x30]
jmp 0x1001d3e6
sub esp, 0x18
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2f]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0xac]
push eax
call fcn.10007414
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [ebx + 8]
call fcn.10010c45
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0xac]
push eax
call fcn.10001e1f
mov eax, dword [ebp - 0x38]
lea ecx, [ebx + 0x10]
sub esi, eax
mov dword [ebp - 0x7c], 4
sub edi, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
movzx edx, word [eax]
test dx, dx
je 0x1001d688
mov ecx, edx
call fcn.10008886
mov dword [ebp - 0x34], eax
mov cl, 0x30
mov dword [ebp - 0x4c], 0x5b5e6530
xor eax, eax
mov dword [ebp - 0x48], 0x5e475f5e
mov byte [ebp - 0x44], 0
xor byte [ebp + eax - 0x4b], cl
inc eax
cmp eax, 7
jae 0x1001d48b
mov cl, byte [ebp - 0x4c]
jmp 0x1001d47c
lea eax, [ebp - 0x4b]
mov byte [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001f6a
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
test eax, eax
je 0x1001d4c3
add eax, 4
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x1001d5a3
push 0xffffffffffffffff
push 0
push eax
call fcn.10001bf0
jmp 0x1001d5a3
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
cmp word [eax], cx
jne 0x1001d5a6
cmp byte [0x1009e768], 0
mov eax, dword [0x1009e6f0]
mov dword [ebp - 0x34], eax
je 0x1001d52b
mov ecx, 0xd78c9c
call fcn.10010f34
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1001d528
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001d528
mov eax, dword [ebp - 0x74]
add eax, 0x6a0
push 4
push eax
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001d528
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x34]
mov al, byte [eax]
mov byte [ecx + 0x34], al
mov eax, ecx
jmp 0x1001d52b
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 0x34]
cmp al, 1
jne 0x1001d562
mov cl, 0x7d
mov dword [ebp - 0x5c], 0x5d11387d
mov dword [ebp - 0x58], 0x1c0f1230
xor eax, eax
mov word [ebp - 0x54], 0x19
xor byte [ebp + eax - 0x5b], cl
inc eax
cmp eax, 8
jae 0x1001d559
mov cl, byte [ebp - 0x5c]
jmp 0x1001d54a
mov byte [ebp - 0x53], 0
lea eax, [ebp - 0x5b]
jmp 0x1001d58d
mov cl, 0x10
mov dword [ebp - 0x40], 0x62715b10
mov word [ebp - 0x3c], 0x6365
xor eax, eax
mov byte [ebp - 0x3a], 0
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 5
jae 0x1001d586
mov cl, byte [ebp - 0x40]
jmp 0x1001d577
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x3f]
push eax
mov dword [ebp - 0x34], eax
call fcn.10001f4d
pop ecx
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.10001ed4
mov eax, dword [ebp - 0x38]
movzx eax, word [esi + eax]
mov cl, 0x3a
cmp dword [ebp - 0x18], 0x10
push eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], 0x1a491f3a
mov dword [ebp - 0x64], 0x1f155e1f
mov word [ebp - 0x60], 0x5e
movzx eax, word [edi + eax]
push eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
xor eax, eax
xor byte [ebp + eax - 0x67], cl
inc eax
cmp eax, 8
jae 0x1001d5e6
mov cl, byte [ebp - 0x68]
jmp 0x1001d5d7
sub esp, 0x18
mov byte [ebp - 0x5f], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0x94]
push eax
call fcn.10007414
add esp, 0x28
mov esi, dword [ebp - 0x50]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x28]
call fcn.10010c45
xor eax, eax
mov byte [ebp - 4], 4
push 0
inc eax
lea ecx, [ebp - 0x94]
push eax
call fcn.10001e1f
mov ecx, dword [esi]
call fcn.10010192
mov ecx, dword [ebx + 0xc]
mov edi, edx
call fcn.10010192
mov esi, eax
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call fcn.10010207
mov ecx, dword [ebx + 0xc]
add eax, edi
push eax
mov edx, esi
call fcn.1001022d
xor eax, eax
pop ecx
lea edx, [eax + 1]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call fcn.10010276
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0x2c]
push eax
call fcn.10001e1f
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
add ecx, 4
add eax, 2
sub dword [ebp - 0x7c], 1
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], eax
jne 0x1001d450
mov ecx, dword [ebx + 4]
xor eax, eax
inc eax
push eax
call dword [0x1008de90]
xor eax, eax
inc eax
push 0
push eax
lea ecx, [ebp + 0x14]
call fcn.10001e1f
call fcn.10046009
ret 0x24