Function at 0x1001b070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab44c
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x100df8d0], 0
jne 0x1001b185
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10090fe1
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push str._s_s
push eax
call fcn.1001b3e0
add esp, 0x10
mov dword [ebp - 0x2e4], 0xf
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x2e8], 0
mov byte [ebp - 0x2f8], 0
jne 0x1001b129
xor ecx, ecx
jmp 0x1001b13b
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b132
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10002840
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], 0
call fcn.1001a860
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2e4]
cmp eax, 0x10
jb 0x1001b185
inc eax
lea ecx, [ebp - 0x2f8]
push eax
push dword [ebp - 0x2f8]
call fcn.10002720
mov ecx, 0xd79978
call fcn.1001c490
mov esi, eax
test esi, esi
je 0x1001b212
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x1001b212
mov eax, dword [esi]
mov esi, dword [eax + 0xa8]
test esi, esi
je 0x1001b212
push 4
push esi
call edi
test eax, eax
jne 0x1001b212
call fcn.1006ce10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1006d2e0
push 0x1001af90
push 0x100db418
call fcn.1006cb20
call fcn.1006ce70
push 4
push esi
mov dword [0x100db418], esi
call edi
test eax, eax
jne 0x1001b212
call fcn.1006ce10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1006d2e0
push 0x1001af90
push 0x100db418
call fcn.1006c690
call fcn.1006ce70
push 0x98
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.10086ac0
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.100076a0
mov dword [ebp - 4], 1
mov cl, 0x30
movaps xmm0, xmmword [0x100c8750]
mov al, 0x6d
xor al, cl
mov byte [ebp - 0x2cc], cl
mov byte [ebp - 0x2ca], 0
xor ecx, ecx
mov byte [ebp - 0x2cb], al
mov byte [ebp - 0x2ca], 0
movups xmmword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2d0], 0x166d39
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x2e0]
xor byte [ebp + ecx - 0x2df], al
inc ecx
cmp ecx, 0x12
jb 0x1001b280
lea edx, [ebp - 0x2df]
mov byte [ebp - 0x2cd], 0
lea ecx, [ebp - 0x2c8]
call fcn.1000a6a0
mov esi, eax
test esi, esi
jne 0x1001b2b5
xor ecx, ecx
jmp 0x1001b2bc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
push 0
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x308]
push 8
push eax
call fcn.1006961c
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.1000a950
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov byte [ecx + esi + 0x40], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.10007d20
lea edx, [ebp - 0x2cb]
mov ecx, eax
call fcn.1000a6a0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.100075c0
cmp dword [ebp - 0x218], 0x10
lea esi, [ebp - 0x22c]
push 0x1001af20
cmovae esi, dword [ebp - 0x22c]
lea edx, [ebp - 0x22c]
cmovae edx, dword [ebp - 0x22c]
push 0xfffffffffffffffc
push esi
push edx
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x100db420], eax
mov eax, dword [ebp - 0x218]
cmp eax, 0x10
jb 0x1001b37b
inc eax
lea ecx, [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
call fcn.10002720
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
call fcn.100075e0
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10069594
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret