Function at 0x100053e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x10049650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x101ad0ac]
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.10023318
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebx + 0x120], ecx
test esi, esi
jne 0x10005481
mov eax, 0x4c
jmp 0x10005430
mov dl, byte [esi + 0x100429d0]
xor dl, al
inc eax
mov byte [ebp + esi - 0x20], dl
inc esi
and eax, 0xff
cmp esi, 0x1a
jb 0x10005430
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 0x10005544
cmp esi, 1
jne 0x100054c8
mov edi, 0x100429ec
sub edi, 0x2e62e9b2
lea esi, [ebp - 0x74]
call fcn.1001c3f0
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 0x10005544
mov edi, 0x8bda34f0
cmp esi, 2
jne 0x1000550c
lea esi, [ebp - 0x58]
call fcn.1001c420
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 0x10005544
lea esi, [ebp - 0x3c]
call fcn.1001c420
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 0x10005554
push eax
call edi
mov dword [ebx + 0x18], 0
test esi, esi
je 0x1000559b
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 0x10005589
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10005580
push eax
call edi
mov dword [ebx + 0x18], 0
jmp 0x1000559b
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 0x100055df
cmp dword [0x101ad294], 0
je 0x100055df
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 [0x101ad294]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002121a
mov esp, ebp
pop ebp
ret 8