Function at 0x10012a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x10022018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x1127f690]
push eax
lea eax, [ebx + 0x21]
push 0xff
push eax
mov esi, ecx
mov dword [ebp - 0x78], edi
mov byte [ebx + 0x20], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebx + 0x120], ecx
test esi, esi
jne 0x10012aa1
mov eax, 0x4c
lea esp, [esp]
mov dl, byte [esi + 0x1001e380]
xor dl, al
inc eax
mov byte [ebp + esi - 0x20], dl
inc esi
and eax, 0xff
cmp esi, 0x1a
jb 0x10012a50
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push edi
mov byte [ebp - 6], 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
jmp 0x10012b64
cmp esi, 1
jne 0x10012ae8
mov edi, 0x1001e39c
sub edi, 0x2e62e9b2
lea esi, [ebp - 0x74]
call fcn.10012df0
mov ecx, dword [ebp - 0x78]
push 0x10
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x5c], ax
jmp 0x10012b64
mov edi, 0x8bd7eea0
cmp esi, 2
jne 0x10012b2c
lea esi, [ebp - 0x58]
call fcn.10012e20
mov edx, dword [ebp - 0x78]
push 0x10
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], al
jmp 0x10012b64
lea esi, [ebp - 0x3c]
call fcn.10012e20
push 0x10
push 0
push 0
push 0
push eax
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
mov eax, dword [ebx + 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10012b74
push eax
call edi
mov dword [ebx + 0x18], 0
test esi, esi
je 0x10012bbb
lea ecx, [ebp - 0x90]
push ecx
push 0x18
push esi
mov dword [ebx + 0x18], esi
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x10012ba9
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10012ba0
push eax
call edi
mov dword [ebx + 0x18], 0
jmp 0x10012bbb
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 0xc], 0x808080
test eax, eax
je 0x10012bff
cmp dword [0x1127f73c], 0
je 0x10012bff
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebx + 4]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
push 1
push 0
push edx
push eax
call dword [0x1127f73c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10016888
mov esp, ebp
pop ebp
ret 8