Function at 0x44ec00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 0
call fcn.004a83b1
push eax
call fcn.004a6fbc
mov ecx, dword [0x520340]
add esp, 8
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xd
idiv ecx
cmp edx, 8
jne 0x44ec38
dec dword [0x521790]
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.0044ebb0
test al, al
jne 0x44ece9
mov edx, dword [0x520340]
xor esi, esi
mov ecx, esi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, esi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
inc esi
add edx, eax
cmp esi, 0x100
jl 0x44ec66
mov dword [0x520340], edx
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x52184c
push 0
call fcn.0044b7f0
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
mov edx, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp - 4], eax
test edx, edx
je 0x44ed68
test edx, 0xffff0000
jne 0x44ed52
movzx esi, dx
push 0
push esi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x44ed74
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00407650
jmp 0x44ed74
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ed57
sub ecx, esi
sar ecx, 1
jmp 0x44ed6a
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 4]
call fcn.00409950
lea ecx, [ebp - 0x100]
call fcn.00447fe0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x100]
call fcn.0044b470
mov edi, dword [0x520394]
add edi, 0x10
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x521884]
test esi, esi
je 0x44edf1
mov eax, dword [esi + 4]
test eax, eax
jle 0x44edc1
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x521884]
test esi, esi
je 0x44edf1
mov eax, dword [esi]
test eax, eax
je 0x44edda
push eax
call fcn.004a700a
add esp, 4
mov dword [esi], 0
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004a5bbe
add esp, 4
push edi
mov dword [0x521884], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x521880]
test esi, esi
je 0x44ee48
mov eax, dword [esi]
test eax, eax
je 0x44ee21
push eax
call fcn.004a700a
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x44ee38
push eax
call fcn.004a700a
add esp, 4
mov dword [esi + 4], 0
push esi
mov dword [esi + 8], 0
call fcn.004a5bbe
add esp, 4
mov ecx, 0x52184c
call fcn.0044daf0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x100]
call fcn.00448200
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44ee80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10