Function at 0x10005280
Capabilities:
Check os version
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1002975e
mov eax, dword fs:[0]
push eax
sub esp, 0x778
mov eax, dword [0x1003c360]
xor eax, esp
mov dword [esp + 0x774], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003c360]
xor eax, esp
push eax
lea eax, [esp + 0x78c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x79c]
push str.CHookManager::InitClock
mov esi, ecx
call fcn.100062d0
add esp, 4
push edi
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x11c
mov dword [esi + 0x84], eax
xor ebp, ebp
lea eax, [esp + 0x58]
push ebp
push eax
mov byte [esi + 0x224], 1
call fcn.10013e10
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x64], 2
jne 0x10005344
cmp dword [esp + 0x58], 5
jne 0x10005344
push 0x100301e4
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push 0xd
call dword [sym.imp.GDI32.dll_CreateFontW]
mov byte [esi + 0x88], 1
jmp 0x1000538b
push ebp
lea edx, [esp + 0x18]
push edx
lea eax, [esi + 0x4c]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call sub.gdiplus.dll_GdiplusStartup
push 0x100301d8
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
mov byte [esi + 0x88], 0
push 0x4c
mov dword [esi + 0x78], eax
call fcn.10007f80
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x794], ebp
je 0x100053b0
mov ecx, eax
call fcn.10005e50
jmp 0x100053b2
xor eax, eax
mov dword [esp + 0x794], 0xffffffff
mov dword [esi + 0x44c], eax
call fcn.1000b1ef
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x44c]
push str.DeskDateWeaPic20_d00
push eax
call fcn.10005ef0
push 0x206
lea ecx, [esp + 0x176]
push ebp
push ecx
mov word [esp + 0x17c], bp
call fcn.10013e10
add esp, 0xc
push 0x104
lea edx, [esp + 0x174]
push edx
push str.Clock32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x170]
push 0x5c
push eax
call fcn.10013dd3
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x384]
push str._sClockConfig.ini
push edx
mov word [eax + 2], bp
call fcn.10013bcc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x14
lea eax, [esp + 0x378]
push eax
push ebp
push str.IsUserClockFormat
push str.ClockConfig
call ebx
cmp eax, 1
lea ecx, [esp + 0x378]
push ecx
je 0x1000549c
push ebp
push str.ClockFormatIndex
push str.ClockConfig
call ebx
mov edx, dword [eax*4 + 0x1003b6bc]
push edx
lea eax, [esi + 0x240]
push 0x1002fff0
push eax
call fcn.10013bcc
add esp, 0xc
jmp 0x100054be
mov eax, dword [str.HH:mm_w_ryyyy_MM_dd]
push 0x104
lea edx, [esi + 0x240]
push edx
push eax
push str.ClockFormat
push str.ClockConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.people.clockframe
push ebp
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebp
je 0x100054dc
push edi
push ebp
push 0xfb8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffffc
push edi
call ebp
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x10005230
push 0xfffffffffffffffc
push edi
mov dword [esi + 0x3c], eax
call ebx
mov ecx, dword [esi + 8]
push 0xffffffffffffffe6
push ecx
call dword [sym.imp.USER32.dll_GetClassLongW]
mov edx, dword [esi + 8]
and eax, 0xfffffff7
push eax
push 0xffffffffffffffe6
push edx
call dword [sym.imp.USER32.dll_SetClassLongW]
mov edi, 1
cmp dword [0x1004200c], edi
jge 0x1000553b
mov eax, dword [esi + 8]
push 0
push 0x1f4
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi], eax
add dword [0x1004200c], edi
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call edi
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x10], eax
call ebp
mov edx, dword [esi + 0x10]
push 0x10003710
push 0xfffffffffffffffc
push edx
mov dword [esi + 0x50], eax
call ebx
mov eax, dword [esi + 0x10]
push eax
call edi
push 0xfffffffffffffffc
push eax
mov dword [esi + 0xc], eax
call ebp
mov ecx, dword [esi + 0xc]
push 0x10003990
push 0xfffffffffffffffc
push ecx
mov dword [esi + 0x6c], eax
call ebx
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.TIPBand
push 0
push edx
call edi
test eax, eax
mov dword [esi + 0x38], eax
je 0x100055b4
push 0xfffffffffffffffc
push eax
call ebp
push 0x10003940
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x38]
push 0xfffffffffffffffc
push eax
call ebx
mov ecx, dword [esi + 0x10]
push 0
push str.Button
push 0
push ecx
call edi
mov edx, dword [esi + 0xc]
push 0
push str.ReBarWindow32
push 0
push edx
mov dword [esi + 0x30], eax
call edi
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x1c], eax
call ebp
push 0x10003800
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x1c]
push 0xfffffffffffffffc
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push 0
push str.MSTaskSwWClass
push 0
push ecx
call edi
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x24], eax
call ebp
mov edx, dword [esi + 0x24]
push 0x10003850
push 0xfffffffffffffffc
push edx
mov dword [esi + 0x64], eax
call ebx
mov eax, dword [esi + 0x1c]
push 0
push str.CiceroUIWndFrame
push 0
push eax
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x1000563f
push 0xfffffffffffffffc
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0x100038a0
push 0xfffffffffffffffc
push ecx
mov dword [esi + 0x60], eax
call ebx
mov edx, dword [esi + 0x10]
push 0
push str.SysPager
push 0
push edx
call edi
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x18], eax
call ebp
push 0x100037b0
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x18]
push 0xfffffffffffffffc
push eax
call ebx
mov ecx, dword [esi + 0x10]
push 0
push str.TrayInputIndicatorWClass
push 0
push ecx
call edi
test eax, eax
mov dword [esi + 0x28], eax
je 0x10005691
push 0xfffffffffffffffc
push eax
call ebp
mov edx, dword [esi + 0x28]
push 0x100038f0
push 0xfffffffffffffffc
push edx
mov dword [esi + 0x68], eax
call ebx
push 0x206
lea eax, [esp + 0x586]
push 0
push eax
mov word [esp + 0x58c], 0
call fcn.10013e10
mov ecx, dword [esi + 0x10]
add esp, 0xc
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov dword [esp + 0x14], 0
jmp 0x100056d0
push 0x104
lea edx, [esp + 0x584]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.TrayShowDesktopButtonWClass
lea eax, [esp + 0x580]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10005716
test dx, dx
je 0x10005712
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10005716
add eax, 4
add ecx, 4
test dx, dx
jne 0x100056f0
xor eax, eax
jmp 0x1000571b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10005740
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x10005743
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x100056d0
jmp 0x10005743
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000575f
push 0xfffffffffffffffc
push eax
call ebp
push 0x10003760
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x14]
push 0xfffffffffffffffc
push eax
call ebx
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x44]
push ecx
push edx
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x170]
push eax
push ecx
call edi
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub edx, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
cmp eax, edx
jle 0x10005893
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
call edi
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esi + 0x19c], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x100057cb
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov dword [esi + 0x1b4], edx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10005828
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
push 2
push eax
mov dword [esp + 0x1c], eax
call ebx
mov dword [esp + 0x18], eax
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esp + ebx*4 + 0x14]
test eax, eax
je 0x10005811
lea ecx, [esp + 0x34]
push ecx
push eax
call edi
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cmp eax, 0x16
je 0x1000581b
test eax, eax
je 0x1000581b
add ebx, 1
cmp ebx, 2
jl 0x100057f0
jmp 0x10005828
mov edx, dword [esp + ebx*4 + 0x14]
mov dword [esi + 0x194], eax
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10005839
lea ecx, [esi + 0xe0]
push ecx
push eax
call edi
mov eax, dword [esi + 0x24]
lea edx, [esi + 0xd0]
push edx
push eax
call edi
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0xc0]
push ecx
push edx
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10005864
lea ecx, [esi + 0xa0]
push ecx
push eax
call edi
mov eax, dword [esi + 8]
lea edx, [esi + 0xb0]
push edx
push eax
call edi
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x90]
push ecx
push edx
call edi
push 1
mov ecx, esi
call fcn.10002590
mov byte [esi + 0x8b], 0
jmp 0x10005a1d
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x34]
push eax
push ecx
call edi
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x1e8], edx
je 0x100058cb
lea ecx, [esp + 0x24]
push ecx
push eax
call edi
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
mov dword [esi + 0x200], edx
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x10005930
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebp
push 2
push eax
mov dword [esp + 0x1c], eax
call ebp
mov dword [esp + 0x18], eax
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esp + ebp*4 + 0x14]
cmp eax, ebx
je 0x10005911
lea ecx, [esp + 0x24]
push ecx
push eax
call edi
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cmp eax, 0x16
je 0x1000591b
cmp eax, ebx
je 0x1000591b
add ebp, 1
cmp ebp, 2
jl 0x100058f0
jmp 0x10005930
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
mov eax, dword [esp + ebp*4 + 0x14]
mov dword [esi + 0x1e0], edx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x10005941
lea ecx, [esi + 0x160]
push ecx
push eax
call edi
mov eax, dword [esi + 0x24]
lea edx, [esi + 0x150]
push edx
push eax
call edi
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x140]
push ecx
push edx
call edi
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x1000596c
lea ecx, [esi + 0x120]
push ecx
push eax
call edi
mov eax, dword [esi + 8]
lea edx, [esi + 0x130]
push edx
push eax
call edi
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x110]
push ecx
push edx
call edi
mov dword [esi + 0x94], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe0], ebx
mov byte [esi + 0x8b], 1
mov eax, dword [esi + 8]
push 1
push 0
mov byte [esi + 0x89], 1
mov byte [esi + 0x8a], 1
mov esi, dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x78c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x774]
xor ecx, esp
call fcn.100131c3
add esp, 0x784
ret 4