Function at 0x10013200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x10026018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x11183a78]
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 0x100132a1
mov eax, 0x4c
lea esp, [esp]
mov dl, byte [esi + 0x10020cfc]
xor dl, al
inc eax
mov byte [ebp + esi - 0x20], dl
inc esi
and eax, 0xff
cmp esi, 0x1a
jb 0x10013250
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 0x10013364
cmp esi, 1
jne 0x100132e8
mov edi, 0x10020c64
sub edi, 0x2e62e9b2
lea esi, [ebp - 0x74]
call fcn.10009b70
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 0x10013364
mov edi, 0x8bd81798
cmp esi, 2
jne 0x1001332c
lea esi, [ebp - 0x58]
call fcn.10009ba0
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 0x10013364
lea esi, [ebp - 0x3c]
call fcn.10009ba0
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 0x10013374
push eax
call edi
mov dword [ebx + 0x18], 0
test esi, esi
je 0x100133bb
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 0x100133a9
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x100133a0
push eax
call edi
mov dword [ebx + 0x18], 0
jmp 0x100133bb
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 0x100133ff
cmp dword [0x11183b54], 0
je 0x100133ff
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 [0x11183b54]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10019486
mov esp, ebp
pop ebp
ret 8