Function at 0x40df70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431d99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, 0x601430
call fcn.00408dd0
test eax, eax
jg 0x40dfa7
jmp 0x40e81d
lea ecx, [ebp - 0x1c]
call fcn.00417f50
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::GetHour
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_COleDateTime::GetMinute
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x3a4]
jge 0x40dfdc
mov edx, dword [ebp - 0x20]
add edx, 0x18
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3a4]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0x3a8]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x3c
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x28]
push ecx
call sub.MSVCRT.dll_abs
add esp, 4
cmp eax, 0x1e
jle 0x40e025
cmp dword [0x43f5b0], 0
je 0x40e025
push 0
call dword [sym.imp.MSVCRT.dll_exit]
push 1
push 0x3fa
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x40d
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x3fc
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x3fe
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x3fd
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x408
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x40e
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x40a
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x40b
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x40c
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
lea edx, [ebp - 0xc8]
push edx
call fcn.0040ca50
add esp, 4
lea ecx, [ebp - 0xc8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x484], 0
je 0x40e81d
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x488], 0
je 0x40e81d
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x48c], 0
je 0x40e81d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x490], 0
je 0x40e81d
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x4a0], 0
je 0x40e81d
mov edx, dword [ebp - 0x10]
fild dword [edx + 0x3d0]
fadd qword [0x435e68]
fstp dword [ebp - 0x30]
fld dword [0x435e64]
fdiv dword [ebp - 0x30]
fst dword [ebp - 0x30]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3d0], 2
jge 0x40e1b6
mov ecx, dword [ebp - 0x34]
push ecx
call sub.MSVCRT.dll_abs
add esp, 4
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x488]
sub ecx, dword [eax + 0x490]
push ecx
call sub.MSVCRT.dll_abs
add esp, 4
imul eax, eax, 0x64
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov edx, dword [ebp - 0x10]
fidiv dword [edx + 0x4a0]
fstp dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x484]
sub edx, dword [ecx + 0x48c]
push edx
call sub.MSVCRT.dll_abs
add esp, 4
imul eax, eax, 0x64
mov dword [ebp - 0xd0], eax
fild dword [ebp - 0xd0]
mov eax, dword [ebp - 0x10]
fidiv dword [eax + 0x4a0]
fstp dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fdiv dword [0x435b8c]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x40]
fdiv dword [0x435b8c]
sub esp, 8
fstp qword [esp]
push 0x435e50
lea ecx, [ebp - 0x38]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [ebp - 0x38]
call fcn.00408e10
push eax
push 0x3ff
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004114a0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x4cc
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x54]
push eax
push 0x1e
push 0x435e44
mov ecx, dword [ebp - 0x10]
add ecx, 0x4d0
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [ebp - 0x58]
push edx
push 0x2d
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x4d4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
push ecx
push 0x3c
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x4dc
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x4e0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x4d8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x4fc
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x504
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x8e4]
add ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8e4], ecx
call fcn.0040b110
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x78]
push eax
push 1
mov ecx, dword [ebp - 0x10]
call fcn.004114a0
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x4e4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x88]
push ecx
push 0x1e
push 0x435e44
mov edx, dword [ebp - 0x10]
add edx, 0x4e8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [ebp - 0x8c]
push eax
push 0x2d
push 0x435e44
mov ecx, dword [ebp - 0x10]
add ecx, 0x4ec
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [ebp - 0x90]
push edx
push 0x3c
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x4f4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x4f8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x4f0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x84]
push edx
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x500
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
push 0x435e44
mov eax, dword [ebp - 0x10]
add eax, 0x508
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x484]
sub eax, dword [edx + 0x48c]
push eax
call sub.MSVCRT.dll_abs
add esp, 4
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
fstp dword [ebp - 0xac]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x488]
sub eax, dword [edx + 0x490]
push eax
call sub.MSVCRT.dll_abs
add esp, 4
mov dword [ebp - 0xd8], eax
fild dword [ebp - 0xd8]
fstp dword [ebp - 0xb0]
mov dword [ebp - 0xb4], 0
fld dword [ebp - 0xac]
fcomp dword [0x435e40]
fnstsw ax
test ah, 0x40
jne 0x40e6a3
fld dword [ebp - 0xb0]
fdiv dword [ebp - 0xac]
sub esp, 8
fstp qword [esp]
call sub.MSVCRT.dll_atan
add esp, 8
fdiv qword [0x435e38]
fmul qword [0x435e30]
fstp dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x490]
cmp eax, dword [edx + 0x488]
jle 0x40e6cb
fld dword [ebp - 0xb4]
fadd st(0), st(0)
fsubr dword [ebp - 0xb4]
fstp dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x10]
fild dword [edx + 0x4a0]
fstp dword [ebp - 0xbc]
mov dword [ebp - 0xc0], 0
fld dword [ebp - 0xb4]
call sub.MSVCRT.dll__ftol
push eax
call sub.MSVCRT.dll_abs
add esp, 4
sub eax, 0x5a
push eax
call sub.MSVCRT.dll_abs
add esp, 4
cdq
mov ecx, 0x5a
idiv ecx
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fstp qword [ebp - 0xe4]
fld dword [ebp - 0xac]
fmul dword [ebp - 0xac]
fld dword [ebp - 0xb0]
fmul dword [ebp - 0xb0]
faddp st(1)
sub esp, 8
fstp qword [esp]
call sub.MSVCRT.dll_sqrt
add esp, 8
fsub dword [ebp - 0xac]
fmul qword [ebp - 0xe4]
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xb4]
fcomp dword [0x435e40]
fnstsw ax
test ah, 1
je 0x40e78b
fld dword [ebp - 0xc0]
fadd st(0), st(0)
fsubr dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xac]
fadd dword [ebp - 0xc0]
fdiv dword [ebp - 0xbc]
fmul dword [0x435e2c]
fadd dword [ebp - 0xb8]
fst dword [ebp - 0xb8]
fadd qword [0x435b38]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0xc4], eax
fld dword [ebp - 0xb8]
sub esp, 8
fstp qword [esp]
push 0x435e10
mov edx, dword [ebp - 0x10]
add edx, 0x50c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x50c
call fcn.00408e10
push eax
push 0x435
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [ebp - 0x10]
call fcn.00413980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret