Function at 0x4826b0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c40e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b1700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], vtable.CTaskScheduleDialog.0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
lea edi, [esi + 0x78]
call fcn.00482070
mov dword [esi + 0x214], ebx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + method.CTaskScheduleDailyDetailsDialog.virtual_0], vtable.CTaskScheduleDailyDetailsDialog.0
mov dword [esi + 0x230], ebx
mov byte [esi + 0x238], bl
mov byte [esi + 0x239], bl
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + method.CTaskScheduleEmptyDetailsDialog.virtual_0], vtable.CTaskScheduleEmptyDetailsDialog.0
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + method.CTaskScheduleWeeklyDetailsDialog.virtual_0], vtable.CTaskScheduleWeeklyDetailsDialog.0
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], ebx
mov byte [esi + 0x2b8], bl
mov byte [esi + 0x2b9], bl
mov byte [ebp - 4], 7
mov dword [esi + 0x2bc], ebx
call fcn.004159d0
mov dword [esi + 0x2c4], eax
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2e4], ebx
mov eax, dword [0x567624]
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], eax
mov dword [esi + method.CVerticalStaticLine.virtual_0], vtable.CVerticalStaticLine.0
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x304], ebx
mov byte [esi + 0x308], bl
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
lea edi, [esi + 0x68]
mov dword [esi + 0x20], ecx
call fcn.004ecb90
push 0x1c
mov dword [esi + 0x2cc], 0xffffffff
call fcn.004f6206
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x4828d7
mov edx, dword [ebp + 0x10]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp + 0x14]
cmp edx, ebx
mov dword [ebp - 0x10], esp
mov dword [ecx + 4], edx
je 0x4828cf
add edx, 4
mov ecx, 1
lock xadd dword [edx], ecx
push eax
call fcn.004b84c0
jmp 0x4828d9
xor eax, eax
lea edi, [esi + 0x70]
mov byte [ebp - 4], 0xa
call fcn.00485050
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x48291d
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x48291d
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48291d
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10