Function at 0x1001b130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab41c
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 [0x100df8e0], 0
jne 0x1001b245
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.10090fa1
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.1001b4a0
add esp, 0x10
mov dword [ebp - 0x2e4], 0xf
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x2e8], 0
mov byte [ebp - 0x2f8], 0
jne 0x1001b1e9
xor ecx, ecx
jmp 0x1001b1fb
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b1f2
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.1001a920
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2e4]
cmp eax, 0x10
jb 0x1001b245
inc eax
lea ecx, [ebp - 0x2f8]
push eax
push dword [ebp - 0x2f8]
call fcn.10002720
mov ecx, 0xd79978
call fcn.1001c540
mov esi, eax
test esi, esi
je 0x1001b2d2
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x1001b2d2
mov eax, dword [esi]
mov esi, dword [eax + 0xa8]
test esi, esi
je 0x1001b2d2
push 4
push esi
call edi
test eax, eax
jne 0x1001b2d2
call fcn.1006cdc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1006d290
push 0x1001b050
push 0x100db428
call fcn.1006cad0
call fcn.1006ce20
push 4
push esi
mov dword [0x100db428], esi
call edi
test eax, eax
jne 0x1001b2d2
call fcn.1006cdc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1006d290
push 0x1001b050
push 0x100db428
call fcn.1006c640
call fcn.1006ce20
push 0x98
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.10086a40
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.10008530
mov dword [ebp - 4], 1
mov cl, 0x4a
movaps xmm0, xmmword [0x100c8730]
mov al, 0x17
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], 0x12693d
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x2e0]
xor byte [ebp + ecx - 0x2df], al
inc ecx
cmp ecx, 0x12
jb 0x1001b340
lea edx, [ebp - 0x2df]
mov byte [ebp - 0x2cd], 0
lea ecx, [ebp - 0x2c8]
call fcn.1000bc90
mov esi, eax
test esi, esi
jne 0x1001b375
xor ecx, ecx
jmp 0x1001b37c
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.10069b45
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.1000bf40
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.10008bb0
lea edx, [ebp - 0x2cb]
mov ecx, eax
call fcn.1000bc90
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.10008450
cmp dword [ebp - 0x218], 0x10
lea esi, [ebp - 0x22c]
push 0x1001afe0
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 [0x100db430], eax
mov eax, dword [ebp - 0x218]
cmp eax, 0x10
jb 0x1001b43b
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.10008470
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.100699f5
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.1006e175
mov esp, ebp
pop ebp
ret