Function at 0x1001d9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092dac
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0
cmp dword [0x100bfe54], 0
je 0x1001e1b5
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea eax, [ecx + 0x10]
mov dword [ebp - 0x54], eax
mov ebx, eax
mov dword [ebp - 0x50], 0xa
mov edi, dword [ebx]
test edi, edi
je 0x1001da6a
push 4
push edi
call esi
test eax, eax
jne 0x1001da6a
push eax
mov ecx, edi
call dword [0x100ad890]
add ebx, 4
sub dword [ebp - 0x50], 1
jne 0x1001da52
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
call dword [0x100ad93c]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov ax, word [ecx]
cmp ax, word [edx]
jb 0x1001dcd2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jb 0x1001dcd2
mov ax, word [ecx + 4]
cmp ax, word [edx + 4]
jb 0x1001dcd2
mov ax, word [ecx + 6]
cmp ax, word [edx + 6]
jb 0x1001dcd2
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edi, dword [ebx]
test edi, edi
je 0x1001daec
push 4
push edi
call esi
test eax, eax
jne 0x1001daec
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call dword [0x100ad884]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edi, dword [eax + 8]
test edi, edi
je 0x1001db19
push 4
push edi
call esi
test eax, eax
jne 0x1001db19
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call dword [0x100ad884]
mov edi, dword [ebx]
test edi, edi
je 0x1001db36
push 4
push edi
call esi
test eax, eax
jne 0x1001db36
mov ecx, dword [edi + 0xd0]
sub ecx, dword [edi + 0xc8]
jmp 0x1001db38
xor ecx, ecx
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
mov edi, dword [eax + 8]
test edi, edi
je 0x1001db61
push 4
push edi
call esi
test eax, eax
jne 0x1001db61
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp - 0x24]
call dword [0x100ad888]
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
mov dl, 0x6e
mov byte [ebp - 0x51], 0
cmovae eax, dword [ebp + 0x14]
mov cl, 0x1d
push eax
mov al, 0x4b
mov byte [ebp - 0x54], dl
xor al, dl
mov byte [ebp - 0x51], 0
sub esp, 0x18
mov byte [ebp - 0x53], al
xor cl, dl
lea eax, [ebp - 0x53]
mov byte [ebp - 0x52], cl
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0xbc]
push eax
call fcn.100043b0
add esp, 0x20
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 1
mov edi, dword [eax + 4]
test edi, edi
je 0x1001dbca
push 4
push edi
call esi
test eax, eax
jne 0x1001dbca
push dword [ebp - 0x50]
mov ecx, edi
call dword [0x100ad8f4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1001dbec
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.100048f0
movaps xmm0, xmmword [0x100afd80]
xor ecx, ecx
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0x70796578
mov dword [ebp - 0x90], 0x347061
mov al, byte [ebp - 0xa4]
xor byte [ebp + ecx - 0xa3], al
inc ecx
cmp ecx, 0x16
jb 0x1001dc10
sub esp, 0x18
mov byte [ebp - 0x8d], 0
lea eax, [ebp - 0xa3]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0xbc]
push eax
call fcn.100043b0
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 2
mov edi, dword [eax + 0x38]
test edi, edi
je 0x1001dc6f
push 4
push edi
call esi
test eax, eax
jne 0x1001dc6f
push dword [ebp - 0x50]
mov ecx, edi
call dword [0x100ad8f4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1001dc91
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.100048f0
mov edi, dword [ebx]
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
test edi, edi
je 0x1001e1a8
push 4
push edi
call esi
test eax, eax
jne 0x1001e1a8
push 1
mov ecx, edi
call dword [0x100ad890]
jmp 0x1001e1a8
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
mov dl, 0x1d
mov byte [ebp - 0x5d], 0
cmovae eax, dword [ebp + 0x14]
mov cl, 0x6e
push eax
mov byte [ebp - 0x60], dl
mov al, 0x38
xor al, dl
mov byte [ebp - 0x5d], 0
xor cl, dl
mov byte [ebp - 0x5f], al
sub esp, 0x18
mov byte [ebp - 0x5e], cl
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001dd24
mov eax, dword [edx]
jmp 0x1001dd26
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x5f], 0
jne 0x1001dd33
xor ecx, ecx
jmp 0x1001dd49
lea ecx, [ebp - 0x5f]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dd40
sub ecx, edi
push ecx
lea eax, [ebp - 0x5f]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xbc]
push eax
call fcn.100043b0
add esp, 0x20
mov ebx, eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 3
mov edi, dword [eax + 4]
test edi, edi
je 0x1001dd86
push 4
push edi
call esi
test eax, eax
jne 0x1001dd86
push ebx
mov ecx, edi
call dword [0x100ad8f4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x1001dda8
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.100048f0
mov eax, dword [ebp - 0x5c]
mov ecx, 4
sub dword [ebp - 0x88], eax
sub dword [ebp - 0x8c], eax
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x50], ecx
nop word [eax + eax]
movzx eax, word [eax]
test ax, ax
je 0x1001e18f
test eax, eax
jne 0x1001ddf4
xor edi, edi
jmp 0x1001ddfd
push eax
call dword [0x100ad84c]
mov edi, eax
mov bh, 0x6f
mov dword [ebp - 0x28], 0xf
mov cl, 1
mov byte [ebp - 0x84], bh
mov bl, cl
mov dword [ebp - 0x2c], 0
xor ch, ch
mov byte [ebp - 0x3c], 0
mov dh, 0x3a
mov byte [ebp - 0x7c], ch
mov ah, bl
mov byte [ebp - 0x7c], 0
mov dl, 4
mov al, 0x18
xor dh, bh
xor cl, bh
xor dl, bh
mov byte [ebp - 0x83], dh
xor bl, bh
mov byte [ebp - 0x82], cl
xor ch, bh
mov byte [ebp - 0x81], dl
xor al, bh
mov byte [ebp - 0x80], bl
xor ah, bh
mov byte [ebp - 0x7f], ch
mov byte [ebp - 0x7e], al
mov byte [ebp - 0x7d], ah
test dh, dh
jne 0x1001de60
xor ecx, ecx
jmp 0x1001de79
lea ecx, [ebp - 0x83]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001de70
sub ecx, edx
push ecx
lea eax, [ebp - 0x83]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004a40
mov byte [ebp - 4], 4
test edi, edi
je 0x1001deb0
add edi, 4
lea eax, [ebp - 0x3c]
cmp eax, edi
je 0x1001dfa3
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.100045d0
jmp 0x1001dfa3
mov eax, dword [ebp - 0x5c]
cmp word [eax], 1
jne 0x1001dfa6
cmp byte [0x100bfea1], 0
mov ebx, dword [0x100bfe54]
je 0x1001def9
mov ecx, 0x10b8134
call fcn.10014e20
mov edi, eax
test edi, edi
je 0x1001def9
push 4
push edi
call esi
test eax, eax
jne 0x1001def9
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x1001def9
mov al, byte [edi]
mov byte [ebx + 0x38], al
cmp byte [ebx + 0x38], 1
jne 0x1001df4c
mov byte [ebp - 0x78], 0x35
mov al, 0x70
xor al, byte [ebp - 0x78]
mov dl, 0x15
mov dh, 0x54
mov byte [ebp - 0x77], al
mov al, byte [ebp - 0x78]
mov cl, 0x59
mov bl, 0x78
mov byte [ebp - 0x6f], 0
mov ah, 0x5a
mov byte [ebp - 0x6f], 0
mov ch, 0x47
xor dl, al
xor dh, al
mov byte [ebp - 0x75], dl
mov bh, 0x51
mov byte [ebp - 0x71], dh
xor cl, al
lea edx, [ebp - 0x77]
xor bl, al
mov byte [ebp - 0x76], cl
xor ah, al
mov byte [ebp - 0x74], bl
xor ch, al
mov byte [ebp - 0x73], ah
xor bh, al
mov byte [ebp - 0x72], ch
mov byte [ebp - 0x70], bh
jmp 0x1001df7f
mov ch, 0x58
mov byte [ebp - 0x16], 0
mov dl, 0x2a
mov byte [ebp - 0x1c], ch
mov al, 0x13
mov byte [ebp - 0x16], 0
mov cl, 0x39
mov bl, 0x2d
xor dl, ch
mov ah, 0x2b
xor al, ch
mov byte [ebp - 0x19], dl
xor cl, ch
mov byte [ebp - 0x1b], al
xor bl, ch
mov byte [ebp - 0x1a], cl
xor ah, ch
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], ah
lea edx, [ebp - 0x1b]
cmp byte [edx], 0
jne 0x1001df88
xor ecx, ecx
jmp 0x1001df99
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001df90
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.10004a40
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x88]
mov dl, 0x72
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 0x6c], 0x52
mov byte [ebp - 0x63], 0
movzx eax, word [ecx + eax]
mov ecx, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 0x63], 0
movzx eax, word [ecx + eax]
mov cl, 0x21
push eax
lea eax, [ebp - 0x3c]
mov ch, 0x7d
cmovae eax, dword [ebp - 0x3c]
push eax
mov al, 0x77
mov ah, 0x36
mov bl, al
sub esp, 0x18
xor al, byte [ebp - 0x6c]
mov dh, bl
mov byte [ebp - 0x6b], al
mov bh, ah
mov al, byte [ebp - 0x6c]
xor dl, al
xor dh, al
mov byte [ebp - 0x69], dl
xor cl, al
mov byte [ebp - 0x65], dh
xor bl, al
mov edx, esp
mov byte [ebp - 0x6a], cl
mov byte [ebp - 0x68], bl
xor ah, al
mov byte [ebp - 0x67], ah
xor ch, al
mov byte [ebp - 0x66], ch
xor bh, al
mov byte [ebp - 0x64], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e03e
mov eax, dword [edx]
jmp 0x1001e040
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6b], 0
jne 0x1001e04d
xor ecx, ecx
jmp 0x1001e05c
lea ecx, [ebp - 0x6b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e053
sub ecx, edi
push ecx
lea eax, [ebp - 0x6b]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xa4]
push eax
call fcn.100043b0
add esp, 0x28
mov ebx, eax
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x54]
mov edi, dword [edi + 0x28]
test edi, edi
je 0x1001e099
push 4
push edi
call esi
test eax, eax
jne 0x1001e099
push ebx
mov ecx, edi
call dword [0x100ad8f4]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1001e0bb
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.100048f0
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov edi, dword [ebx]
test edi, edi
je 0x1001e0e7
push 4
push edi
call esi
test eax, eax
jne 0x1001e0e7
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call dword [0x100ad884]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edi, dword [eax + 8]
test edi, edi
je 0x1001e114
push 4
push edi
call esi
test eax, eax
jne 0x1001e114
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call dword [0x100ad884]
mov edi, dword [ebx]
test edi, edi
je 0x1001e131
push 4
push edi
call esi
test eax, eax
jne 0x1001e131
mov ecx, dword [edi + 0xd0]
sub ecx, dword [edi + 0xc8]
jmp 0x1001e133
xor ecx, ecx
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x40]
add ebx, ecx
mov edi, dword [eax + 8]
test edi, edi
je 0x1001e157
push 4
push edi
call esi
test eax, eax
jne 0x1001e157
push ebx
push dword [ebp - 0x4c]
mov ecx, edi
call dword [0x100ad888]
mov edi, dword [ebp - 0x54]
mov edi, dword [edi]
test edi, edi
je 0x1001e173
push 4
push edi
call esi
test eax, eax
jne 0x1001e173
push 1
mov ecx, edi
call dword [0x100ad890]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1001e18c
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.100048f0
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
add dword [ebp - 0x54], 4
add eax, 2
sub ecx, 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x50], ecx
jne 0x1001dde0
mov eax, dword [ebp - 0x58]
push 1
mov ecx, dword [eax]
call dword [0x100ad940]
mov eax, dword [ebp + 0x28]
cmp eax, 0x10
jb 0x1001e1ca
inc eax
lea ecx, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
call fcn.100048f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret 0x24