Function at 0x1000b160
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 0x100660de
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
push esi
push edi
mov eax, dword [0x1007c040]
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 0x1000b1b4
xor al, al
jmp 0x1000b1b7
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 0x1000b1d2
mov dword [ebp - 0x34], 0
jmp 0x1000b1d8
mov edi, dword [edx + edi]
mov dword [ebp - 0x34], edi
lea edi, [eax + 4]
mov dword [ecx + 8], eax
cmp edi, esi
jbe 0x1000b1e6
xor eax, eax
jmp 0x1000b1e9
mov eax, dword [edx + eax]
mov dl, byte [ebp - 0x11]
mov dword [ebp - 0x18], eax
mov dword [ecx + 8], edi
cmp dl, 1
je 0x1000b32d
cmp dl, 2
je 0x1000b32d
mov ecx, dword [0x1007f868]
mov eax, dword [0x1007f860]
mov edi, dword [ebp - 0x18]
cmp dl, 3
je 0x1000b220
cmp dl, 4
jne 0x1000b494
test ecx, ecx
je 0x1000b48d
mov esi, dword [ecx + 0x58]
test esi, esi
je 0x1000b48d
push ecx
mov edx, edi
lea ecx, [ebp - 0x4c]
call fcn.10010c60
add esp, 4
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1000b252
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 0x1000b270
sub ecx, dword [ebp - 0x18]
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051a0
mov byte [ebp - 4], 3
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1000b2a8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b2a8
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000b2dc
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b2d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b327
push ecx
push edx
call fcn.100641c5
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 0x1000b485
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b47b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b47b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [0x1007f868]
test ecx, ecx
je 0x1000b463
mov esi, dword [ecx + 0x58]
test esi, esi
je 0x1000b463
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.10010c60
add esp, 4
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1000b365
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 0x1000b382
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.100051a0
mov byte [ebp - 4], 1
mov esi, dword [esi + 8]
test esi, esi
je 0x1000b3bf
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b3bf
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1000b3f6
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b3ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b438
push ecx
push edx
call fcn.100641c5
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 0x1000b448
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b43e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b43e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [0x1007f868]
mov dl, byte [ebp - 0x11]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov eax, dword [0x1007f860]
test eax, eax
je 0x1000b20f
mov edi, dword [ebp - 0x18]
mov dword [eax + 0x4c], edi
jmp 0x1000b212
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dl, byte [ebp - 0x11]
mov eax, dword [0x1007f860]
test eax, eax
je 0x1000b494
mov dword [eax + 0x50], edi
movzx eax, dl
dec eax
cmp eax, 3
ja case.default.0x1000b4a1
jmp dword [eax*4 + 0x1000b99c]
movaps xmm0, xmmword [0x10074c30]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x580c101f
mov dword [ebp - 0x58], 0x100b193b
mov word [ebp - 0x54], 0x56
nop dword [eax]
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x1000b4d0
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 0x1000b500
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x4c]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1000b532
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 0x1000b550
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051a0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 5
call fcn.10013040
test eax, eax
je 0x1000b592
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000b592
push 0
push 0
push 0xff6565ff
lea eax, [ebp - 0x30]
push eax
call dword [0x10073580]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000b5c2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b5b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b606
push ecx
push edx
call fcn.100641c5
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.0x1000b4a1
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b97c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b97c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
movaps xmm0, xmmword [0x10075470]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x100b193b
mov word [ebp - 0x74], 0x56
nop dword [eax]
mov al, byte [ebp - 0x88]
xor byte [ebp + ecx - 0x87], al
inc ecx
cmp ecx, 0x14
jb 0x1000b630
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 0x1000b670
sub ecx, esi
lea eax, [ebp - 0x87]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x4c]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 6
cmp dword [edx + 0x14], 0xf
jbe 0x1000b6a5
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 0x1000b6c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051a0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 7
call fcn.10013040
test eax, eax
je 0x1000b702
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000b702
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0x30]
push eax
call dword [0x10073580]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1000b5c2
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b5b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b606
jmp 0x1000b5b8
movaps xmm0, xmmword [0x100757f0]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [str.yuKwl8Zytyv6]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x1e
jb 0x1000b754
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 0x1000b784
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x4c]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x1000b7b6
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 0x1000b7d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.100051a0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 9
call fcn.10013040
test eax, eax
je 0x1000b702
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000b702
push 0
push 0
push 0xff6565ff
jmp 0x1000b6f8
movaps xmm0, xmmword [0x10075120]
xor ecx, ecx
push dword [ebp - 0x34]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x15772331
mov dword [ebp - 0x3c], 0x39363b36
mov dword [ebp - 0x38], 0x793234
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x1a
jb 0x1000b840
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 0x1000b870
sub ecx, esi
lea eax, [ebp - 0x4f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xb8]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 0xa
cmp dword [edx + 0x14], 0xf
jbe 0x1000b8a5
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 0x1000b8c8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.100051a0
mov ecx, 0x10b81f8
mov byte [ebp - 4], 0xb
call fcn.10013040
test eax, eax
je 0x1000b910
mov ecx, dword [eax + 0x1cc]
test ecx, ecx
je 0x1000b910
push 0
push 0
push 0xffff3b3b
lea eax, [ebp - 0xa0]
push eax
call dword [0x10073580]
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x1000b94a
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b940
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b606
push ecx
push edx
call fcn.100641c5
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.0x1000b4a1
mov edx, dword [ebp - 0xb8]
inc ecx
jmp 0x1000b5e4
push ecx
push edx
call fcn.100641c5
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