Function at 0x1000e920
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 0x1008de7e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
lea edi, [esi + 1]
cmp edi, eax
jbe 0x1000e974
xor al, al
jmp 0x1000e977
mov al, byte [edx + esi]
mov dword [ecx + 8], edi
mov esi, dword [ecx + 0x14]
mov byte [ebp - 0x11], al
sub esi, edx
lea eax, [edi + 4]
cmp eax, esi
jbe 0x1000e992
mov dword [ebp - 0x34], 0
jmp 0x1000e998
mov edi, dword [edx + edi]
mov dword [ebp - 0x34], edi
lea edi, [eax + 4]
mov dword [ecx + 8], eax
cmp edi, esi
jbe 0x1000e9a6
xor eax, eax
jmp 0x1000e9a9
mov eax, dword [edx + eax]
mov dl, byte [ebp - 0x11]
mov dword [ebp - 0x18], eax
mov dword [ecx + 8], edi
cmp dl, 1
je 0x1000eaf0
cmp dl, 2
je 0x1000eaf0
mov ecx, dword [0x100b2000]
mov eax, dword [0x100b1ff8]
mov edi, dword [ebp - 0x18]
cmp dl, 3
je 0x1000e9e0
cmp dl, 4
jne 0x1000ec59
test ecx, ecx
je 0x1000ec52
mov esi, dword [ecx + 0x58]
test esi, esi
je 0x1000ec52
push ecx
mov edx, edi
lea ecx, [ebp - 0x4c]
call fcn.10014340
add esp, 4
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1000ea12
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ea30
sub ecx, dword [ebp - 0x18]
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051e0
mov byte [ebp - 4], 3
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1000ea68
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000ea68
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [0x100a31a0]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000eaa0
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ea96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f156
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x1000ec4a
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ec40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f156
jmp 0x1000ec40
mov ecx, dword [0x100b2000]
test ecx, ecx
je 0x1000ec28
mov esi, dword [ecx + 0x58]
test esi, esi
je 0x1000ec28
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.10014340
add esp, 4
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1000eb28
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000eb45
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.100051e0
mov byte [ebp - 4], 1
mov esi, dword [esi + 8]
test esi, esi
je 0x1000eb82
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000eb82
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call dword [0x100a31a0]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1000ebbd
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ebb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f15b
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x1000ec0d
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ec03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f15b
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [0x100b2000]
mov dl, byte [ebp - 0x11]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov eax, dword [0x100b1ff8]
test eax, eax
je 0x1000e9cf
mov edi, dword [ebp - 0x18]
mov dword [eax + 0x4c], edi
jmp 0x1000e9d2
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dl, byte [ebp - 0x11]
mov eax, dword [0x100b1ff8]
test eax, eax
je 0x1000ec59
mov dword [eax + 0x50], edi
movzx eax, dl
dec eax
cmp eax, 3
ja case.default.0x1000ec66
jmp dword [eax*4 + 0x1000f168]
movaps xmm0, xmmword [0x100a5060]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0xb5f434c
mov dword [ebp - 0x58], 0x43584a68
mov word [ebp - 0x54], 5
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x1000ec91
sub esp, 0x18
mov byte [ebp - 0x53], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
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 0x1000ecc1
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0x4c]
push eax
call fcn.10004d80
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1000ecf3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ed10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051e0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 5
call fcn.10016570
test eax, eax
je 0x1000ed52
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000ed52
push 0
push 0
push 0xff6565ff
lea eax, [ebp - 0x30]
push eax
call dword [0x100a30e8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000ed86
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ed7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f160
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe case.default.0x1000ec66
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f138
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f160
jmp 0x1000f138
movaps xmm0, xmmword [str.qRNI]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x554e5c7e
mov word [ebp - 0x74], 0x13
nop
mov al, byte [ebp - 0x88]
xor byte [ebp + ecx - 0x87], al
inc ecx
cmp ecx, 0x14
jb 0x1000edf0
sub esp, 0x18
mov byte [ebp - 0x73], 0
mov edx, esp
lea ecx, [ebp - 0x87]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ee30
sub ecx, esi
lea eax, [ebp - 0x87]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0x4c]
push eax
call fcn.10004d80
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 6
cmp dword [edx + 0x14], 0xf
jbe 0x1000ee65
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ee80
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051e0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 7
call fcn.10016570
test eax, eax
je 0x1000eec2
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000eec2
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x30]
push eax
call dword [0x100a30e8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000ed86
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ed7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f160
jmp 0x1000ed7c
movaps xmm0, xmmword [0x100a5110]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [str.BNpLEW]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x1e
jb 0x1000ef14
sub esp, 0x18
mov byte [ebp - 0x51], 0
mov edx, esp
lea ecx, [ebp - 0x6f]
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 0x1000ef44
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0x4c]
push eax
call fcn.10004d80
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x1000ef76
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ef90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051e0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 9
call fcn.10016570
test eax, eax
je 0x1000eec2
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000eec2
push 0
push 0
push 0xff6565ff
jmp 0x1000eeb8
movaps xmm0, xmmword [0x100a4b90]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x385a0e1c
mov dword [ebp - 0x3c], 0x141b161b
mov dword [ebp - 0x38], 0x541f19
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x1a
jb 0x1000f000
sub esp, 0x18
mov byte [ebp - 0x35], 0
mov edx, esp
lea ecx, [ebp - 0x4f]
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 0x1000f030
sub ecx, esi
lea eax, [ebp - 0x4f]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0xb8]
push eax
call fcn.10004d80
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 0xa
cmp dword [edx + 0x14], 0xf
jbe 0x1000f065
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f088
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.100051e0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 0xb
call fcn.10016570
test eax, eax
je 0x1000f0d0
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000f0d0
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0xa0]
push eax
call dword [0x100a30e8]
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x1000f106
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f0fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f160
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp ecx, 0xf
jbe case.default.0x1000ec66
mov edx, dword [ebp - 0xb8]
inc ecx
jmp 0x1000eda8
push ecx
push edx
call fcn.10069bf1
add esp, 8
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.1006f2c1
call fcn.1006f2c1
call fcn.1006f2c1
nop dword [eax]
insd dword es:[edi], dx
in al, dx
add byte [eax], dl
iretd