Function at 0x407251
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
sub esp, 0x10
add edi, 0x98
mov eax, esp
call fcn.0040ed6e
call fcn.0040da06
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4075c8
and dword [ebp - 0x48], 0
mov eax, 0x3f6
lea edi, [eax + 4]
lea esi, [eax - 9]
mov dword [ebp - 0x54], edi
lea edx, [eax + 5]
lea ecx, [eax + 6]
mov dword [ebp - 0x88], edi
add edi, 0x63
and dword [ebp - 0x68], 0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x3f7
mov dword [ebp - 0x5c], 0x3f8
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0x3f7
mov dword [ebp - 0x90], 0x3f8
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0x3f3
mov dword [ebp - 0x78], 0x3f2
mov dword [ebp - 0x74], 0x44f
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], 0x45e
lea esi, [ebp - 0x98]
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x40730f
mov eax, dword [ebx]
cmp eax, 0x6b
je 0x40733e
cmp eax, 0x6c
je 0x40733e
mov al, 1
jmp 0x407340
xor al, al
mov esi, dword [ebp + 8]
push 0x3f3
push esi
call fcn.0040476b
mov eax, dword [ebx]
cmp eax, 0x6b
je 0x40735e
cmp eax, 0x6c
je 0x40735e
mov al, 1
jmp 0x407360
xor al, al
push edi
push esi
call fcn.0040476b
push 0x69
pop edi
cmp dword [ebx], edi
push 0x44f
sete al
push esi
call fcn.0040476b
mov eax, dword [ebx]
cmp eax, edi
je 0x407389
cmp eax, 0x67
je 0x407389
xor al, al
jmp 0x40738b
mov al, 1
push 0x45e
push esi
call fcn.0040476b
lea esi, [ebp - 0x44]
call fcn.0040993c
lea esi, [ebp - 0x34]
call fcn.0040993c
mov eax, dword [ebx]
cmp eax, 0x67
je 0x4073b7
cmp eax, 0x65
je 0x4073b7
cmp eax, 0x66
jne 0x4073d5
push str.Time
lea eax, [ebp - 0x24]
push eax
call fcn.0040a4b0
lea esi, [ebp - 0x44]
call fcn.00409bba
lea eax, [ebp - 0x24]
call fcn.00409a00
mov eax, dword [ebx]
cmp eax, 0x68
je 0x4073e5
cmp eax, edi
je 0x4073e5
cmp eax, 0x6a
jne 0x407403
push str.Period
lea eax, [ebp - 0x14]
push eax
call fcn.0040a4b0
lea esi, [ebp - 0x44]
call fcn.00409bba
lea eax, [ebp - 0x14]
call fcn.00409a00
cmp dword [ebx], 0x67
jne 0x40742c
push str.Date
lea eax, [ebp - 0xa8]
push eax
call fcn.0040a4b0
lea esi, [ebp - 0x34]
call fcn.00409bba
lea eax, [ebp - 0xa8]
call fcn.00409a00
cmp dword [ebx], edi
jne 0x407454
push str.CPU_Idle_threshold____
lea eax, [ebp - 0xb8]
push eax
call fcn.0040a4b0
lea esi, [ebp - 0x34]
call fcn.00409bba
lea eax, [ebp - 0xb8]
call fcn.00409a00
push 0x416c78
lea esi, [ebp - 0x24]
call fcn.004099a2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
call fcn.0040996d
mov edi, esi
lea esi, [ebp - 0x14]
call fcn.00409c0b
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push 0x45d
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, esi
call fcn.00409a00
mov eax, edi
call fcn.00409a00
push 0x416c78
lea esi, [ebp - 0x24]
call fcn.004099a2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
call fcn.0040996d
mov edi, esi
lea esi, [ebp - 0x14]
call fcn.00409c0b
push dword [ebp - 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x45e
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x14]
call fcn.00409a00
lea eax, [ebp - 0x24]
call fcn.00409a00
cmp dword [ebx], 0x67
jne 0x407508
push 5
push 0x3f2
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx], 0x66
jne 0x407534
lea eax, [ebp - 0x64]
mov dword [ebp + 8], eax
mov eax, 0x3f6
push 5
push eax
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [ebp + 8], 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x407518
cmp byte [edi + 0x174], 0
jne 0x407555
mov eax, dword [0x419034]
cmp byte [eax + 0xbc], 0
je 0x407555
cmp byte [ebx + 0x14], 0
jne 0x407555
mov al, 1
jmp 0x407557
xor al, al
mov esi, 0x401
push esi
push edi
call fcn.004049c9
mov eax, dword [0x419034]
cmp byte [eax + 0xbc], 0
je 0x40758a
cmp byte [ebx + 0x14], 0
je 0x40758a
push 0
push 1
push 0xf1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebx, dword [ebx]
cmp ebx, 0x68
je 0x40759f
cmp ebx, 0x69
je 0x40759f
cmp ebx, 0x6a
je 0x40759f
xor eax, eax
jmp 0x4075a4
mov eax, 0x416c7c
push eax
push 0
push 0x1032
push dword [edi + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
call fcn.00409a00
lea eax, [ebp - 0x44]
call fcn.00409a00
pop edi
pop esi
pop ebx
leave
ret 4