Function at 0x1000ef30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x10d763b8]
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 0x1000efd1
mov eax, 0x4c
lea esp, [esp]
mov dl, byte [esi + 0x1001a058]
xor dl, al
inc eax
mov byte [ebp + esi - 0x20], dl
inc esi
and eax, 0xff
cmp esi, 0x1a
jb 0x1000ef80
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 0x1000f094
cmp esi, 1
jne 0x1000f018
mov edi, 0x1001a074
sub edi, 0x2e62e9b2
lea esi, [ebp - 0x74]
call fcn.1000f320
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 0x1000f094
mov edi, 0x8bd7ab78
cmp esi, 2
jne 0x1000f05c
lea esi, [ebp - 0x58]
call fcn.1000f350
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 0x1000f094
lea esi, [ebp - 0x3c]
call fcn.1000f350
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 0x1000f0a4
push eax
call edi
mov dword [ebx + 0x18], 0
test esi, esi
je 0x1000f0eb
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 0x1000f0d9
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1000f0d0
push eax
call edi
mov dword [ebx + 0x18], 0
jmp 0x1000f0eb
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 0x1000f12f
cmp dword [0x10d76464], 0
je 0x1000f12f
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 [0x10d76464]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10012ee4
mov esp, ebp
pop ebp
ret 8