Function at 0x10004bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1003a470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x10140b78]
push eax
lea eax, [ebx + 0x21]
push 0xff
push eax
mov esi, ecx
mov dword [ebp - 0x78], edi
mov byte [ebx + 0x20], 1
call fcn.1001833b
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebx + 0x120], ecx
test esi, esi
jne 0x10004c61
mov eax, 0x4c
jmp 0x10004c10
mov dl, byte [esi + 0x100356c8]
xor dl, al
inc eax
mov byte [ebp + esi - 0x20], dl
inc esi
and eax, 0xff
cmp esi, 0x1a
jb 0x10004c10
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 0x10004d24
cmp esi, 1
jne 0x10004ca8
mov edi, 0x100356e4
sub edi, 0x2e62e9b2
lea esi, [ebp - 0x74]
call fcn.10013160
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 0x10004d24
mov edi, 0x8bd961e8
cmp esi, 2
jne 0x10004cec
lea esi, [ebp - 0x58]
call fcn.10013190
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 0x10004d24
lea esi, [ebp - 0x3c]
call fcn.10013190
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 0x10004d34
push eax
call edi
mov dword [ebx + 0x18], 0
test esi, esi
je 0x10004d7b
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 0x10004d69
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10004d60
push eax
call edi
mov dword [ebx + 0x18], 0
jmp 0x10004d7b
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 0x10004dbf
cmp dword [0x10140cc4], 0
je 0x10004dbf
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 [0x10140cc4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100164f9
mov esp, ebp
pop ebp
ret 8